Configuring kube-api-loadbalancer opens usso popup #2922

Closed
hatched opened this Issue May 19, 2017 · 3 comments

Comments

Projects
None yet
4 participants
Owner

hatched commented May 19, 2017

Using the manual provider on MAAS-like backend.
Deployed the canonical-kubernetes bundle.
GUI 2.6.0

[10:43:51]  <Zic>	hatch: it seems that it happens when I do this path for example : click on easyrsa charm, Units, scale, then "back, back back" and sometime it open up at this stage
[10:44:35]  <Zic>	ah better than this example
[10:44:41]  <Zic>	this one is always reproductible:
[10:44:52]  <Zic>	click on kube-api-loadbalancer
[10:45:06]  <Zic>	(to configure it)
[10:45:10]  <Zic>	it always open Ubuntu One popup

@hatched hatched added this to the intrepid ishka milestone May 19, 2017

Member

frankban commented May 19, 2017

Possibly part of the problem is the logic at [1], which seems broken. From a qucik look, I guess we shouldn't do that call if the model is not committed yet (and therefore we don't have a UUID).

[1] https://github.com/juju/juju-gui/blob/develop/jujugui/static/gui/src/app/components/inspector/service-overview/service-overview.js#L76

Owner

mitechie commented May 23, 2017

I was testing some things out in the GUI and all I needed to do was to click on the kubenetes-master in the canvas to select it for the inspector and I get a popup warning.

Looks like it was triggered off of

Failed to load resource: the server responded with a status of 401 (Unauthorized)
api.jujucharms.com/omnibus/v2/plan/model/c7b51dee-fd47-4737-8646-1e75a5da2a2a/service/kubernetes-master 

@hatched hatched self-assigned this May 23, 2017

@jujugui jujugui closed this in #2933 May 24, 2017

jujugui added a commit that referenced this issue May 24, 2017

Merge pull request #2933 from hatched/disable-plans-inspector-2922
Disable plans in the inspector unless flag is true

Fixes #2922
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment