Icehouse networks disappear after reboot
Yeah, this one is a bit odd. I'm following the installation guide for icehouse found here:
http://docs.openstack.org/icehouse/install-guide/install/yum/content/ (http://docs.openstack.org/icehouse/in...)
I'm using the three node model, installing on top of VMWare with promisuous mode enabled on the vSwitch.
I can create networks, subnets, and routers but as soon as the controller is rebooted and comes back up, the networks are gone:
[root@openstack-cloud ~]# source demo-openrc.sh
[root@openstack-cloud ~]# neutron net-list
+--------------------------------------+----------+------------------------------------------------------+
| id | name | subnets |
+--------------------------------------+----------+------------------------------------------------------+
| 80b275a2-63a5-491f-abaf-36d8768febac | ext-net | 55a8a6c2-b2ca-401b-a2c4-4e77065506b5 192.168.31.0/24 |
| 5cfa0651-5071-4e6a-b6c4-fc0dded014ba | demo-net | 558d702c-705e-4559-859e-e03d381db265 10.231.0.0/24 |
+--------------------------------------+----------+------------------------------------------------------+
[root@openstack-cloud ~]# reboot
Broadcast message from root@openstack-cloud
(/dev/pts/1) at 13:10 ...
The system is going down for reboot NOW!
[root@openstack-cloud ~]#
login as: root
root@192.168.30.161's password:
Last login: Fri May 30 13:10:07 2014 from 192.168.9.50
[root@openstack-cloud ~]# source demo-openrc.sh
[root@openstack-cloud ~]# neutron net-list
[root@openstack-cloud ~]#
There's nothing unusual in /var/log/neutron/server.log
Any ideas on where else to look? It's like the info is no longer in the database.
Thanks for any assistance!
What happens to
neutron agent-list
andip netns
after reboot ?The agent-list command returns alive and true for L3, Metadata, and DHCP. Ip netns returns nothing.
How looks
openstack-status
after reboot ?They all look ok. Any services that are inactive or dead are disabled on boot. The two networks that are supposed to be there are not listed. If I manually add them and then run the status command again, they appear.
After reboot
Login as neutron to MySQL
MariaDB > use ovs_neutron ;
MariaDB [ovs_neutron]>select * from networks ;
MariaDB [ovs_neutron]>select * from routers ;
MariaDB [ovs_neutron]> select * from subnets ;