Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubernetes and Registry fixes #7368

Closed
wants to merge 3 commits into from

Conversation

petervo
Copy link
Contributor

@petervo petervo commented Jul 25, 2017

No description provided.

There is a delay between deleting a project and it
getting removed from stick to displaying only active projects
there
@stefwalter stefwalter reopened this Jul 26, 2017
@stefwalter
Copy link
Contributor

Accidentally closed this in another pull request.

@@ -210,8 +209,10 @@

var promise = discoverSettings().then(function(settings) {
var ret = [];
if (settings.flavor === "openshift")
if (settings.flavor === "openshift") {
ret.push(loader.watch("projects", $rootScope));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this require a certain minimal Kubernetes version to work? This watch isn't being used (yet) in our code (unless the statusPhase("Active") from the next commit relies on that?), so our tests wouldn't notice if that fails?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe the watch populates the loader automatically, so the data will be used, if that's what you meant.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the watch fails the loader loads the projects and the functionality should be the same as it is currently.

Having the watch just better helps the UI pick up changes that we were sometimes missing before and hopefully will help clean up some of the flakes.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK. It felt a bit like an opportunistic thing that we neither rely on nor test, but it seems that's pretty much exactly its intention :-) At least I don't see how it could make matters worse.

@martinpitt martinpitt added the question Further information is requested label Jul 26, 2017
@petervo petervo removed the question Further information is requested label Jul 26, 2017
@petervo petervo deleted the registry-fixes branch July 29, 2017 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants