deploying into kvm with local provider, hostnames are not unique
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Wayne Witzel III |
Bug Description
When deploying a node into kvm with local provider:
$ juju deploy --to kvm:0 SERVICE
Every node will have the same hostname "ubuntu" which is not unique in the environment.
Expected result is that every node has a unique hostname like $USER-local-
$ virsh list
Id Name State
-------
28 nobuto-
29 nobuto-
30 nobuto-
31 nobuto-
$ juju run --service nova-compute 'hostname'
- MachineId: 0/kvm/1
Stdout: 'ubuntu
'
UnitId: nova-compute/0
- MachineId: 0/kvm/3
Stdout: 'ubuntu
'
UnitId: nova-compute/1
juju-core:
Installed: 1.19.3-
Candidate: 1.19.3-
Version table:
*** 1.19.3-
500 http://
100 /var/lib/
1.
500 http://
juju-local:
Installed: 1.19.3-
Candidate: 1.19.3-
Version table:
*** 1.19.3-
500 http://
100 /var/lib/
1.
500 http://
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → next-stable |
tags: | added: kvm local-provider |
Changed in juju-core: | |
importance: | High → Medium |
milestone: | next-stable → none |
Changed in juju-core: | |
milestone: | none → 1.24 |
importance: | Medium → High |
Changed in juju-core: | |
assignee: | nobody → Wayne Witzel III (wwitzel3) |
Changed in juju-core: | |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
tags: | added: cpec |
It looks like juju does not put hostname in cloud-config. cloud/instance/ user-data. txt.
no hostname line in /var/lib/