Skip to content

Can't deploy ubuntu@24.04 using add_machine #1229

@gboutry

Description

@gboutry

Description

Model.add_machine takes only a series parameters, when using jammy, everything works as expected, but when using noble, the machine is still deployed as jammy

async def add_machine(

Urgency

Blocker for our release

Python-libjuju version

3.6.0.0

Juju version

3.6.0

Reproduce / Test

In a machine model supporting adding machines:

MAAS example

name = 'system-id=weBqr6'
await model.add_machine(spec=model.uuid + ":" + name, series="noble")
ubuntu@reproducer-gboutry-project-bastion:~$ juju machines -m openstack-machines
Machine  State    Address       Inst id                     Base          AZ       Message
0        started  10.149.73.19  reproducer-gboutry-hosts-0  ubuntu@22.04  default  Deployed
1        started  10.149.73.20  reproducer-gboutry-hosts-1  ubuntu@22.04  default  Deployed
2        started  10.149.73.21  reproducer-gboutry-hosts-2  ubuntu@22.04  default  Deployed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions