nova-network: br100 is assigned two IPs, original is lost.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Using FlatDHCPManager on a single NIC, single network setup, I've been using eth0 (which already has IP 10.55.55.3) as the bridge_interface for br100. To avoid conflicts, I manually reserve fixed_ips for hosts. (10.55.
Using milestone-proposed / 2012.1~
corresponding parts of nova-network.log attached.
Changed in nova: | |
status: | New → Invalid |
Thiis is expected behavior. In HA mode each host needs to be assigned an ip to gateway for its vms. If you want to manually reserve an ip for a host, it is insufficient to simply set it to reserved. You will need to manually associate it with the host by setting the host field in the fixed_ips table.
Something like:
mysql -h $MYSQL_HOST -u $MYSQL_USER -p $MYSQL_PASS $MYSQL_DB -e "UPDATE fixed_ips SET host=`hostname` WHERE address='$MY_IP'"
should be sufficient.