juju upgrade-model on k8s - misleading error message

Bug #1926348 reported by Heather Lanigan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
High
Unassigned

Bug Description

Bootstrapped a k8s controller with 2.8.10 from snap. Deployed cs:~charmed-osm/mariadb-k8s and a local k8s charms.

With the 2.9/candidate snap of juju, 2.9-rc12 upgraded the controller:
$ /snap/bin/juju upgrade-controller --agent-stream=candidate --agent-version 2.9-rc13
best version:
    2.9-rc13
started upgrade to 2.9-rc13

The model wouldn't upgrade, and returned a very unfriendly error message.
$ /snap/bin/juju upgrade-model
ERROR CAAS API host ports only available on the controller model, not "e2fece0a-f5fe-4dea-8eea-3996f83de8f1"

However:
$ /snap/bin/juju upgrade-model --agent-stream=candidate --agent-version 2.9-rc13
best version:
    2.9-rc13
started upgrade to 2.9-rc13

Changed in juju:
status: New → Triaged
importance: Undecided → High
tags: added: k8s upgrade-juju
tags: added: usability
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.