after juju upgrade to 2.5-beta1, charm upgrade on lxd container unit results in ERROR Error: no appname for profile
Bug #1804704 reported by
Xav Paice
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Critical
|
Heather Lanigan |
Bug Description
Maas 2.3.5, Juju 2.5-beta1, machines in the model are Trusty. The model was deployed with 2.4.6 and then upgraded to 2.5.
I have a model where there are a bunch of machines, some are LXDs on Trusty metal.
When I upgrade a charm (nrpe, keystone as examples, but it seems generic) the charm upgrade itself appears to work OK, but I get an error returned by the client:
ERROR Error: no appname for profile
This appears to be on principal and subordinate units, for apps running in LXD containers.
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 2.5-beta2 |
assignee: | nobody → Heather Lanigan (hmlanigan) |
Changed in juju: | |
status: | Triaged → In Progress |
Changed in juju: | |
importance: | High → Critical |
Changed in juju: | |
milestone: | 2.5-beta2 → 2.5-beta3 |
Changed in juju: | |
milestone: | 2.5-beta3 → 2.5-rc1 |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
better example:
I have 3 units of openstack- dashboard, running cs:openstack- dashboard- 268, and upgrade them to -271:
$ juju upgrade-charm --debug openstack-dashboard "/snap/ juju/5875/ bin/juju" , "upgrade-charm", "--debug", "openstack- dashboard" } 88.10:17070] 10.245. 88.10:17070/ model/12ce57e9- 789d-45c8- 84ee-0b182d95b4 7b/api" 10.245. 88.10:17070/ model/12ce57e9- 789d-45c8- 84ee-0b182d95b4 7b/api" 88.10:17070] 10.245. 88.10:17070/ api" 10.245. 88.10:17070/ api" /api.jujucharms .com/charmstore /v5/xenial/ openstack- dashboard/ meta/any? include= id&include= supported- series& include= published { dashboard- 271" to the model. dashboard/ 3" juju.applicatio n upgradecharm.go:414 the lxd profile upgrade watcher has been stopped
22:13:43 INFO juju.cmd supercommand.go:56 running juju [2.5-beta1 gc go1.10.4]
22:13:43 DEBUG juju.cmd supercommand.go:57 args: []string{
22:13:43 INFO juju.juju api.go:67 connecting to API addresses: [10.245.
22:13:43 DEBUG juju.api apiclient.go:883 successfully dialed "wss://
22:13:43 INFO juju.api apiclient.go:603 connection established to "wss://
22:13:44 INFO juju.juju api.go:67 connecting to API addresses: [10.245.
22:13:44 DEBUG juju.api apiclient.go:883 successfully dialed "wss://
22:13:44 INFO juju.api apiclient.go:603 connection established to "wss://
22:13:44 DEBUG httpbakery client.go:243 client do GET https:/
22:13:44 DEBUG httpbakery client.go:245 } -> error <nil>
22:13:46 INFO cmd upgradecharm.go:356 Added charm "cs:openstack-
22:13:47 INFO cmd upgradecharm.go:475 LXD Profile upgrade Not Required for "openstack-
ERROR Error: no appname for profile charm upgrade
ERROR Error: no appname for profile charm upgrade
22:13:47 DEBUG juju.cmd.
22:13:49 DEBUG juju.api monitor.go:35 RPC connection died
22:13:49 INFO cmd supercommand.go:465 command finished