KVM Containers Get Same Metadata ISOs
Bug #1820901 reported by
Joseph Phillips
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Joseph Phillips |
Bug Description
This example shows that 2 KVMs on the same host have the same host name:
https:/
The KVM container manager generates cloud-init user-data into a file here:
https:/
In the same example, the directories have user-data files with the *correct* hostnames, so the cause of this behaviour is not yet known.
Changed in juju: | |
milestone: | none → 2.5.3 |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It looks like the target data store ISOs are identical for different KVMs (although they need to be different):
sha256sum juju-21e577- 7-kvm-* iso 40c8fa276e62a28 14b32051d061484 d0adf0ff5e7ba84 9290 juju-21e577- 7-kvm-0- ds.iso 40c8fa276e62a28 14b32051d061484 d0adf0ff5e7ba84 9290 juju-21e577- 7-kvm-1- ds.iso
8842a839db47798
8842a839db47798
The user-data generated is different though as it should be under /var/lib/ juju/containers /*/user- data:
root@control- 9:/var/ lib/juju/ kvm/guests# grep -RiP hostname /var/lib/ juju/containers /juju-21e577- 7-kvm-* / juju/containers /juju-21e577- 7-kvm-0/ user-data: hostname: juju-21e577-7-kvm-0 juju/containers /juju-21e577- 7-kvm-1/ user-data: hostname: juju-21e577-7-kvm-1
/var/lib/
/var/lib/