vmware-archive/admiral

Improve registry UX

Closed this issue · 1 comments

User story:
As a user I want to be able to understand the registry list page in Admiral.

Detail:
In Admiral's registry list there is a green check that is supposed to indicate that the registry is enabled. This can be misinterpreted as an indicator of whether or not the registry is online. A customer case came in where there was confusion because the status showed a green check, but the registry was not reachable.
Even if users will have to manually enable the default registry in the future, the UX problem still remains if a registry later goes down but still has a green check next to it.

Recommendations:

  • disambiguate what the green check mark means
  • provide a user facing message in case of registry failure

In general we should make it as easy as possible for users to determine what's wrong and I don't think we should expect users to dig through logs to do that.
In this case the registry was not reachable, but there was no indication in the Admiral UI, even though this was in the logs:

[468][W][2018-03-23T06:00:24.728Z][55][8282/][lambda$retrieveRepositoriesAndTagsCount$36][Could not retrieve repositories for project /projects/default-project with harborId 1: java.util.concurrent.CompletionException: java.lang.IllegalStateException: server.example.com: Name or service not known

Issue was addressed in 6c22360