Activity log for bug #1945688

Date Who What changed Old value New value Message
2021-09-30 18:11:27 Simon Déziel bug added bug
2021-09-30 18:11:39 Simon Déziel bug added subscriber Ubuntu containers team
2021-09-30 18:13:02 Simon Déziel description To cope with slow VM provisioning on MAAS, I provision many machines ahead of time (`juju add-machine`). This way I don't have to wait too much when deploying units as juju usually picks a machine that's already "deployed". Sometimes, juju decides to put the newly deployed unit on a machine that is still provisioning: $ juju deploy ./lxd_ubuntu-20.04-amd64.charm Located local charm "lxd", revision 35 Deploying "lxd" from local charm "lxd", revision 35 $ juju status Model Controller Cloud/Region Version SLA Timestamp test overlord maas/default 2.9.14 unsupported 18:07:05Z App Version Status Scale Charm Store Channel Rev OS Message https-client active 1 https-client local 35 ubuntu lxd waiting 0/1 lxd local 35 ubuntu waiting for machine Unit Workload Agent Machine Public address Ports Message https-client/45* active idle 81 2602:fc62:b:1018:0:1:0:5 lxd/26 waiting allocating 100 2602:fc62:b:1018:0:1:0:e waiting for machine Machine State DNS Inst id Series AZ Message 81 started 2602:fc62:b:1018:0:1:0:5 cloud-vm09 focal default Deployed 83 started 2602:fc62:b:1018:0:1:0:9 cloud-vm15 focal default Deployed 86 started 2602:fc62:b:1018:0:1:0:7 cloud-vm05 focal default Deployed 89 started 2602:fc62:b:1018:0:1:0:6 cloud-vm08 focal default Deployed 90 started 2602:fc62:b:1018:0:1:0:f cloud-vm02 focal default Deployed 91 started 2602:fc62:b:1018:0:1:0:2 cloud-vm07 focal default Deployed 92 started 2602:fc62:b:1018:0:1:0:3 cloud-vm10 focal default Deployed 94 started 2602:fc62:b:1018:0:1:0:d cloud-vm11 focal default Deployed 95 started 2602:fc62:b:1018:0:1:0:12 cloud-vm14 focal default Deployed 96 started 2602:fc62:b:1018:0:1:: cloud-vm01 focal default Deployed 97 started 2602:fc62:b:1018:0:1:0:c cloud-vm03 focal default Deployed 98 started 2602:fc62:b:1018:0:1:0:13 cloud-vm12 focal default Deployed 99 pending 2602:fc62:b:1018:0:1:0:b cloud-vm04 focal default Deploying: Configuring OS 100 pending 2602:fc62:b:1018:0:1:0:e cloud-vm06 focal default Deploying: Configuring OS 101 pending 2602:fc62:b:1018:0:1:0:14 cloud-vm13 focal default Deploying: Configuring OS It should always any available machine that's already deployed, not one still deploying. It usually gets this right but not always, or maybe it's random and I am usually lucky ;) Additional information: $ juju --version 2.9.15-ubuntu-amd64 To cope with slow VM provisioning on MAAS, I provision many machines ahead of time (`juju add-machine`). This way I don't have to wait too much when deploying units as juju usually picks a machine that's already "deployed". Sometimes, juju decides to put the newly deployed unit on a machine that is still provisioning (machine 100 here): $ juju deploy ./lxd_ubuntu-20.04-amd64.charm Located local charm "lxd", revision 35 Deploying "lxd" from local charm "lxd", revision 35 $ juju status Model Controller Cloud/Region Version SLA Timestamp test overlord maas/default 2.9.14 unsupported 18:07:05Z App Version Status Scale Charm Store Channel Rev OS Message https-client active 1 https-client local 35 ubuntu lxd waiting 0/1 lxd local 35 ubuntu waiting for machine Unit Workload Agent Machine Public address Ports Message https-client/45* active idle 81 2602:fc62:b:1018:0:1:0:5 lxd/26 waiting allocating 100 2602:fc62:b:1018:0:1:0:e waiting for machine Machine State DNS Inst id Series AZ Message 81 started 2602:fc62:b:1018:0:1:0:5 cloud-vm09 focal default Deployed 83 started 2602:fc62:b:1018:0:1:0:9 cloud-vm15 focal default Deployed 86 started 2602:fc62:b:1018:0:1:0:7 cloud-vm05 focal default Deployed 89 started 2602:fc62:b:1018:0:1:0:6 cloud-vm08 focal default Deployed 90 started 2602:fc62:b:1018:0:1:0:f cloud-vm02 focal default Deployed 91 started 2602:fc62:b:1018:0:1:0:2 cloud-vm07 focal default Deployed 92 started 2602:fc62:b:1018:0:1:0:3 cloud-vm10 focal default Deployed 94 started 2602:fc62:b:1018:0:1:0:d cloud-vm11 focal default Deployed 95 started 2602:fc62:b:1018:0:1:0:12 cloud-vm14 focal default Deployed 96 started 2602:fc62:b:1018:0:1:: cloud-vm01 focal default Deployed 97 started 2602:fc62:b:1018:0:1:0:c cloud-vm03 focal default Deployed 98 started 2602:fc62:b:1018:0:1:0:13 cloud-vm12 focal default Deployed 99 pending 2602:fc62:b:1018:0:1:0:b cloud-vm04 focal default Deploying: Configuring OS 100 pending 2602:fc62:b:1018:0:1:0:e cloud-vm06 focal default Deploying: Configuring OS 101 pending 2602:fc62:b:1018:0:1:0:14 cloud-vm13 focal default Deploying: Configuring OS It should always pick any available machine that's already deployed, not one still deploying. It usually gets this right but not always, or maybe it's random and I am usually lucky ;) Additional information: $ juju --version 2.9.15-ubuntu-amd64
2021-10-12 21:55:13 John A Meinel juju: importance Undecided Low
2021-10-12 21:55:13 John A Meinel juju: status New Triaged
2021-10-27 19:04:41 Simon Déziel tags lxd-cloud