`juju deploy` does not respect --series on osx

Bug #1923085 reported by james beedy
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Harry Pidcock

Bug Description

`juju deploy <charm> --series focal` does not work on osx.

Looping in matheus so he can post his feedback here.

james beedy (jamesbeedy)
summary: - juju deploy command does not respect --series on osx
+ `juju deploy` does not respect --series on osx
Revision history for this message
Matheus Tosta (matheushent) wrote :

juju deploy ./slurmdbd.charm --series focal --debug

16:21:21 INFO juju.cmd supercommand.go:54 running juju [2.8.10 0 gc go1.16.2]
16:21:21 DEBUG juju.cmd supercommand.go:55 args: []string{"juju", "deploy", "./slurmdbd.charm", "--series", "focal", "--debug"}
16:21:21 INFO juju.juju api.go:67 connecting to API addresses: [54.185.205.66:17070 172.31.23.120:17070 252.23.120.1:17070]
16:21:22 DEBUG juju.api apiclient.go:1107 successfully dialed "wss://54.185.205.66:17070/api"
16:21:22 INFO juju.api apiclient.go:639 connection established to "wss://54.185.205.66:17070/api"
16:21:23 INFO juju.juju api.go:302 API endpoints changed from [172.31.23.120:17070 252.23.120.1:17070 54.185.205.66:17070] to [54.185.205.66:17070 172.31.23.120:17070 252.23.120.1:17070]
16:21:23 INFO juju.juju api.go:67 connecting to API addresses: [54.185.205.66:17070 172.31.23.120:17070 252.23.120.1:17070]
16:21:24 DEBUG juju.api apiclient.go:1107 successfully dialed "wss://54.185.205.66:17070/model/8c67a8ab-0d72-4fc9-84a0-85d89ae2fad4/api"
16:21:24 INFO juju.api apiclient.go:639 connection established to "wss://54.185.205.66:17070/model/8c67a8ab-0d72-4fc9-84a0-85d89ae2fad4/api"
16:21:25 INFO juju.juju api.go:302 API endpoints changed from [252.23.120.1:17070 54.185.205.66:17070 172.31.23.120:17070] to [54.185.205.66:17070 172.31.23.120:17070 252.23.120.1:17070]
16:21:25 INFO juju.juju api.go:67 connecting to API addresses: [54.185.205.66:17070 172.31.23.120:17070 252.23.120.1:17070]
16:21:26 DEBUG juju.api apiclient.go:1107 successfully dialed "wss://54.185.205.66:17070/api"
16:21:26 INFO juju.api apiclient.go:639 connection established to "wss://54.185.205.66:17070/api"
16:21:26 INFO juju.juju api.go:302 API endpoints changed from [54.185.205.66:17070 252.23.120.1:17070 172.31.23.120:17070] to [54.185.205.66:17070 172.31.23.120:17070 252.23.120.1:17070]
16:21:27 DEBUG juju.api monitor.go:35 RPC connection died
ERROR slurmdbd is not available on the following series: focal not supported
16:21:27 DEBUG cmd supercommand.go:537 error stack:
github.com/juju/juju/cmd/juju/application/deploy.go:1731: slurmdbd is not available on the following series: focal not supported
github.com/juju/juju/cmd/juju/application/deploy.go:1437:
github.com/juju/juju/cmd/juju/application/deploy.go:1229:
github.com/juju/juju/cmd/juju/application/deploy.go:1194:

Revision history for this message
Matheus Tosta (matheushent) wrote :

`juju version` prints `2.8.10-catalina-amd64`

Ian Booth (wallyworld)
Changed in juju:
milestone: none → 2.8.11
status: New → Triaged
importance: Undecided → High
Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1923085] Re: `juju deploy` does not respect --series on osx

Do you have your slurmdb charm somewhere that we can see the source?
It is also plausible that charmcraft build is declaring the version the
charm is being built *on* and thus the final built charm doesn't claim to
support focal.
Having a copy of the final .charm file (which is just a standard .zip with
a custom extension) would also be useful.

On Thu, Apr 8, 2021 at 5:35 PM Ian Booth <email address hidden> wrote:

> ** Changed in: juju
> Milestone: None => 2.8.11
>
> ** Changed in: juju
> Status: New => Triaged
>
> ** Changed in: juju
> Importance: Undecided => High
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https://bugs.launchpad.net/bugs/1923085
>
> Title:
> `juju deploy` does not respect --series on osx
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1923085/+subscriptions
>

Revision history for this message
Matheus Tosta (matheushent) wrote :
Revision history for this message
Pen Gale (pengale) wrote :

I can confirm that this does not work w/ just the Ubuntu charm on a Mac Mini M1.

Here's what I did to reproduce:

   juju bootstrap aws aws-magpie --bootstrap-constraints "arch=amd64"
   juju deploy ubuntu --series focal

This produces the following error:

    ERROR ubuntu is not available on the following series: focal not supported

`juju deploy ubuntu` works fine, deploying a bionic machine.

juju --version:
    2.8.10-bigsur-arm64

Harry Pidcock (hpidcock)
Changed in juju:
assignee: nobody → Harry Pidcock (hpidcock)
John A Meinel (jameinel)
Changed in juju:
milestone: 2.8.11 → 2.9.1
status: Triaged → 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.