Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

1) OK, if two networks use same bridge and/or subnet, I have to clean the database.

2) When running the very first instance from the first project, it received 10.0.0.3 IP - eg. the lowest non-reserved IP. When running instance from the second project, the first assigned IP was equal to the first IP in fixed_ips (as returned by select, without order by), and that was also equal to broadcast address.

Below, IPs are listed from 10.0.0.1 to 10.0.0.31, and later from 10.0.0.63 to 10.0.0.32.

mysql> select id, address, network_id, instance_id, allocated, leased, reserved from fixed_ips where (network_id=1 OR network_id=10); +-----+-----------+------------+-------------+-----------+--------+----------+ | id | address | network_id | instance_id | allocated | leased | reserved | +-----+-----------+------------+-------------+-----------+--------+----------+ | 1 | 10.0.0.0 | 1 | NULL | 0 | 0 | 1 | | 2 | 10.0.0.1 | 1 | NULL | 0 | 0 | 1 | | 3 | 10.0.0.2 | 1 | NULL | 0 | 0 | 1 | | 4 | 10.0.0.3 | 1 | 153 | 1 | 1 | 0 | | 5 | 10.0.0.4 | 1 | NULL | 0 | 0 | 0 | ... | 512 | 10.0.0.63 | 10 | NULL | 0 | 0 | 0 | | 511 | 10.0.0.62 | 10 | NULL | 0 | 0 | 0 | .. | 484 | 10.0.0.35 | 10 | NULL | 0 | 0 | 0 | | 483 | 10.0.0.34 | 10 | NULL | 0 | 0 | 1 | | 482 | 10.0.0.33 | 10 | NULL | 0 | 0 | 1 | | 481 | 10.0.0.32 | 10 | NULL | 0 | 0 | 1 |