Fixed IPs not being recorded in database
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Expired
|
Undecided
|
Unassigned |
Bug Description
When new VMs are spawned after deleting previous VMs, the new VMs obtain completely new ips and the old ones are not recycled to reuse. I looked into the mysql database to see where ips may be being stored and accessed by openstack to determine what the next in line should be, but didn' tmanage to find any ip information there. Has the location of this storage changed out of the fixed_ips table? Currently, this table is entirely empty:
MariaDB [nova]> select * from fixed_ips;
Empty set (0.00 sec)
despite having many vms running on two different networks:
mysql -e "select uuid, deleted, power_state, vm_state, display_name, host from nova.instances;"
+------
| uuid | deleted | power_state | vm_state | display_name | host |
+------
| 14600536-
| abb38321-
| 31cbb003-
| 4494fd8d-
| 25505dc4-
| baff8cef-
| 317e1fbf-
| 3a8c1a2d-
| c4b2175a-
| ac02369e-
| 504d9412-
| cc9f6f06-
| 0a247dbf-
| 4cb85bbb-
| adf9de81-
| 8396eabf-
| 947905b5-
| f690d7ed-
| dd1aa5b1-
| 42688a7d-
| 7c1014d8-
+------
I am using neutron networking with OVS. It is my understanding that the mysql sqlalchemy is setup to leave old information accessible in mysql, but deleting the associated information manually doesn't seem to make a difference as to the fixed_ips issue I am experiencing. Are there solutions for this?
nova --version : 2.20.0 ( 2014.2.1-1.el7 running on centOS7, epel-juno release)
Changed in nova: | |
assignee: | nobody → Sudipta Biswas (sbiswas7) |
Changed in neutron: | |
assignee: | nobody → venkata anil (anil-venkata) |
tags: | added: network |
Changed in nova: | |
status: | New → Incomplete |
Changed in nova: | |
assignee: | venkata anil (anil-venkata) → nobody |
Please provide Nova version, the nova --version flag only tells us the client version.