bootstrap vm should acquire a sticky ip address
Bug #1491594 reported by
Edward Hope-Morley
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
maas-deployer |
Fix Released
|
Critical
|
Edward Hope-Morley |
Bug Description
The Juju bootstrap vm does not currently acquire a sticky ip address from the static pool. The result is that we create the bootstrap vm, then commission the others, then acquire sticky ip addresses for nodes that have requested them. Trouble is that the bootstrap vm gets allocated an ip from the static pool before we attempt to acquire/reserve others so we easily get conflicts.
Related branches
lp:~hopem/maas-deployer/lp1491594
- Billy Olsen: Approve
-
Diff: 217 lines (+72/-66)3 files modifiedexamples/deployment.yaml (+15/-12)
maas_deployer/vmaas/engine.py (+32/-20)
maas_deployer/vmaas/vm.py (+25/-34)
Changed in maas-deployer: | |
milestone: | none → 0.0.3 |
importance: | Undecided → High |
tags: | added: backport-potential |
Changed in maas-deployer: | |
importance: | High → Critical |
Changed in maas-deployer: | |
status: | New → In Progress |
assignee: | nobody → Edward Hope-Morley (hopem) |
Changed in maas-deployer: | |
status: | In Progress → Fix Committed |
Changed in maas-deployer: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I'm not sure I'm following you, but usually I allocate sticky IP addresses for physical nodes from outside of static pool. Juju bootstrap is not the only one to acquire IP address from static pool. Juju's feature "address- allocation" which is currently under development also consumes IP addresses from static pool.
If I have 10.0.0.0/24 network, usually I allocate like below to assign desired IP address for physical nodes: 2-10.0. 0.100: sticky IP address for physical nodes 101-10. 0.0.120: static pool for Juju bootstrap 121-10. 0.0.240: dynamic pool
10.0.0.
10.0.0.
10.0.0.