]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
VM: Use mac addresses from DB instead of randomizing.
authorSandon Van Ness <sandon@inktank.com>
Mon, 8 Jul 2013 23:54:22 +0000 (16:54 -0700)
committerSandon Van Ness <sandon@inktank.com>
Mon, 8 Jul 2013 23:54:22 +0000 (16:54 -0700)
commitd18fe740a24c2ad0c2a86eca7991a8bf452d5ec0
tree1c473c1abc1f4f77be6fe4de9635f1d3c029f7d0
parent497c71e399ba414dbc876a3ba4259e97e0c9654e
VM: Use mac addresses from DB instead of randomizing.

In order to make IP addresses less likely to change and to allow
a smaller DHCP pool to be used I generated static MAC addresses
for all the vpm entries in the DB. I also put the correct entries
for all the other types of machines as well for their primary
(eth0) mac address as well in order to keep things standardized
and so there is another location where we have this information.

Without this fix going through a few tests would exhaust the DHCP
pool which at the time was around 460 IP addresses for virtual
machines and has since been upped to ~690 IP addresses.

Signed-off-by: Sandon Van Ness <sandon@inktank.com>
Reviewed-by: Warren Usui <warren.usui@inktank.com>
teuthology/lock.py