Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Cannot set config option to empty string in inspector #3298

Closed
makyo opened this issue Nov 1, 2017 · 2 comments
Closed

Cannot set config option to empty string in inspector #3298

makyo opened this issue Nov 1, 2017 · 2 comments

Comments

@makyo
Copy link
Contributor

makyo commented Nov 1, 2017

Setting a config value to an empty string (away from the default) does not make the change in the model. This occurs both for uncommitted and committed services.

For instance, deploy ~yellow/jujushell and change juju-cert to an empty string during deploy. It will revert to from-unit on refresh. Change it again once deployed, the same will happen. run juju config jujushell juju-cert='' from the CLI and refresh the GUI; the config setting will be an empty string.

@makyo makyo added the bug label Nov 1, 2017
@hatched hatched added this to the ordinary odo milestone Nov 2, 2017
@huwshimi
Copy link
Member

huwshimi commented Nov 6, 2017

The RPC call made is {"type":"Application","request":"Deploy","params":{"applications":[{"application":"jujushell-a","charm-url":"cs:~yellow/jujushell-2","constraints":{},"num-units":0,"resources":{"jujushell":"0b034d4f-5987-454a-8f6d-02b170f09664","termserver":"34ff3d50-aaf2-4b5d-81ba-99bbc9cb798e"},"config":{"juju-addrs":"","juju-cert":"","log-level":"info","port":"8047","snap_proxy":""},"series":"xenial"}]},"version":4,"request-id":16}

This has juju-cert set to a blank string. Is it possible Juju is not reading/setting these values correctly?

@hatched
Copy link
Contributor

hatched commented Nov 7, 2017

Thanks @huwshimi

Yes this does appear to be a Juju bug https://bugs.launchpad.net/juju/+bug/1513466

Also related: #2486

@hatched hatched removed the blocker label Nov 7, 2017
@hatched hatched removed this from the ordinary odo milestone Nov 7, 2017
@frankban frankban added this to the __flickering future__ milestone Feb 28, 2018
@clagom clagom closed this as completed Jul 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

5 participants