refresh: ERROR selecting releases: unknown series for version: "22.10"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Heather Lanigan |
Bug Description
Found in a production config - reproduced by:
Remove the line "22.10,Kinetic Kudu,kinetic,
$ juju bootstrap aws --bootstrap-series bionic
$ juju deploy cs:aodh-56 csaodh-bionic --series bionic
Located charm "aodh" in charm-store, revision 56
Deploying "csaodh-bionic" from charm-store charm "aodh", revision 56 in channel stable on bionic
$ juju refresh csaodh-bionic --switch ch:aodh --channel latest/stable --debug --verbose
17:41:31 INFO juju.cmd supercommand.go:56 running juju [2.9.34 20b8212e62c5d12
17:41:31 DEBUG juju.cmd supercommand.go:57 args: []string{
17:41:31 INFO juju.juju api.go:78 connecting to API addresses: [172.31.
17:41:31 DEBUG juju.api apiclient.go:1153 successfully dialed "wss://
17:41:31 INFO juju.api apiclient.go:688 connection established to "wss://
17:41:31 INFO juju.juju api.go:330 API endpoints changed from [252.89.149.1:17070 44.203.144.40:17070 172.31.
17:41:31 INFO juju.juju api.go:78 connecting to API addresses: [44.203.
17:41:31 DEBUG juju.api apiclient.go:1153 successfully dialed "wss://
17:41:31 INFO juju.api apiclient.go:688 connection established to "wss://
17:41:31 INFO juju.juju api.go:330 API endpoints changed from [44.203.
17:41:31 INFO cmd refresher.go:265 Original channel "stable"
17:41:31 INFO cmd refresher.go:267 Requested channel "latest/stable"
17:41:32 DEBUG juju.api monitor.go:35 RPC connection died
ERROR selecting releases: unknown series for version: "22.10"
17:41:32 DEBUG cmd supercommand.go:537 error stack:
selecting releases: unknown series for version: "22.10"
github.
github.
github.
Changed in juju: | |
status: | Triaged → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
Neither the controller nor the machine from which the client is run have the line "22.10,Kinetic Kudu,kinetic, 2022-04- 21,2022- 10-20,2023- 07-20" in their /usr/share/ distro- info/ubuntu. csv file.
https:/ /github. com/juju/ juju/blob/ b40da370bdee57e 364442a463f33f0 a6441bbdf8/ core/series/ supportedseries .go#L82- L85
Attempting to reproduce when the lines is available does not produce the issue: master, public, shared-db
$ juju deploy cs:aodh-56 csaodh-bionic --series bionic
Located charm "aodh" in charm-store, revision 56
Deploying "csaodh-bionic" from charm-store charm "aodh", revision 56 in channel stable on bionic
$ juju refresh csaodh-bionic --switch ch:aodh --channel latest/stable
Added charm-hub charm "aodh", revision 57 in channel latest/stable, to the model
Leaving endpoints in "alpha": admin, amqp, certificates, cluster, ha, identity-service, internal, mongodb, nrpe-external-
Adding the 22.10 line to /usr/share/ distro- info/ubuntu. csv on the controller moves the error along, once jujud is restarted. However there is a different error:
$ juju refresh csaodh-bionic --switch ch:aodh --channel latest/stable
ERROR no releases found for channel "latest/stable"