upgrade-model from 2.9.16 to 2.9.29 error string

Bug #1973811 reported by Heitor
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Medium
Heather Lanigan

Bug Description

When upgrading a model today from 2.9.16 to 2.9.29 I got a weird WARNING message with a missing interpolation of strings:

$ juju upgrade-model
best version:
    2.9.29
WARNING Updating model config to specify agent-stream=released.
You can reset back to %!q(<nil>) after the upgrade has finished.
started upgrade to 2.9.29

tags: added: bitesize
Changed in juju:
assignee: nobody → Heather Lanigan (hmlanigan)
milestone: none → 2.9.31
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Heather Lanigan (hmlanigan) wrote :

This is odd, that the value was nil, it shouldn't be by default. What was the value of `juju model-config -m controller agent-stream` in this case?

We can fix the output of course.

Revision history for this message
Heather Lanigan (hmlanigan) wrote :

https://github.com/juju/juju/pull/14057

The pr ensure we have a sane default if the agent-stream key is empty or missing from the controller model config. It does not address why that key was missing.

Caner Derici (cderici)
Changed in juju:
status: In Progress → Fix Released
status: Fix Released → Fix Committed
Revision history for this message
Heitor (heitorpbittencourt) wrote :

@Heather, sorry for the delay in answering back.

We do have a Jimm setup.

$ juju model-config -m controller agent-stream
ERROR opening API connection: model jimm.foo.com:USER@foo/controller not found

After sshing into the machine with direct access to the controller (not Jimm):

$ juju model-config -m controller agent-stream
released

Maybe Jimm is not forwarding all the model-configs?

Changed in juju:
milestone: 2.9.31 → 2.9.30
milestone: 2.9.30 → 2.9.31
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.