[Openstack] Devstack problems after server rebooting

Sripriya Seetharam sseetha at Brocade.com
Mon Apr 6 21:52:16 UTC 2015


Hello Alexander,

I faced a similar issue and here are some pointers which helped me debug. 

When you reboot, make sure the integration bridge, br-int is there. Also, you would want to confirm if the OVSDB is connected properly to the controller and no stale flows exists in the OpenFlow tables. You can run the following commands.
ovs-vsctl del-manager
ovs-vsctl set-manager tcp:${CONTROL_HOST}:6640

Let me know if this works.

Cheers,
Sripriya


-----Original Message-----
From: Alexander Shalimov [mailto:ashalimov at arccn.ru] 
Sent: Monday, April 06, 2015 1:38 AM
To: Sripriya Seetharam; openstack at lists.openstack.org
Subject: Re: [Openstack] Devstack problems after server rebooting

Hi Sripria,

Here is the full log http://pastebin.com/8pqupFnw

It looks the problem is in Neutron-ODL communication. Has anyone seen this before?  Note this only happens after rebooting. stack, unstack, stack, unstack works.

2015-04-06 11:24:27.177 ERROR neutron.plugins.ml2.managers
[req-17779401-6351-444c-be61-490a82884fb9 admin 40ac747583c84ac195d220a88a6d71d5] Mechanism driver 'opendaylight' failed in create_network_postcommit ....
2015-04-06 11:24:27.177 TRACE neutron.plugins.ml2.managers HTTPError: 
404 Client Error: Not Found
....
2015-04-06 11:24:27.181 ERROR neutron.plugins.ml2.plugin
[req-17779401-6351-444c-be61-490a82884fb9 admin 40ac747583c84ac195d220a88a6d71d5] mechanism_manager.create_network_postcommit failed, deleting network '15eeb515-f3b0-40a7-86db-650c0508796e
....
2015-04-06 11:24:27.269 ERROR neutron.plugins.ml2.managers
[req-17779401-6351-444c-be61-490a82884fb9 admin 40ac747583c84ac195d220a88a6d71d5] Mechanism driver 'opendaylight' failed in delete_network_postcommit ....
2015-04-06 11:24:27.271 INFO
neutron.tests.unit.ml2.drivers.mechanism_logger
[req-17779401-6351-444c-be61-490a82884fb9 admin 40ac747583c84ac195d220a88a6d71d5] delete_network_postcommit called with network settings {'status': u'ACTIVE', 'subnets': [], 'name': 
u'private', 'provider:physical_network': None, 'admin_state_up': True,
'tenant_id': u'e0181e60c0b1440f971b955f4b0419d8',
'provider:network_type': u'gre', 'router:external': False, 'shared': 
False, 'id': u'15eeb515-f3b0-40a7-86db-650c0508796e',
'provider:segmentation_id': 1L} (original settings None) and network segments [{'segmentation_id': 1L, 'physical_network': None, 'id': 
u'3999de88-f68a-431c-a8ba-4c098cfdfd06', 'network_type': u'gre'}]
2015-04-06 11:24:27.271 ERROR neutron.plugins.ml2.plugin
[req-17779401-6351-444c-be61-490a82884fb9 admin 40ac747583c84ac195d220a88a6d71d5] mechanism_manager.delete_network_postcommit failed

С уважением, |  Sincerely,
Александр.   |  Alexander.

On 4/4/2015 1:19 AM, Sripriya Seetharam wrote:
> Hi Alexander,
>
> Can you paste the q-svc.log content here or on pastebin. It should provide more information on the error.
>
> Cheers,
> Sripriya
>
>
> -----Original Message-----
> From: Alexander Shalimov [mailto:ashalimov at arccn.ru]
> Sent: Friday, April 03, 2015 11:38 AM
> To: openstack at lists.openstack.org
> Subject: [Openstack] Devstack problems after server rebooting
>
> Hello,
>
> I'm using devstack from stable/juno branch and with neutron setup.
>
> The problem is that after server rebooting I can't restart the devstack with the following errors saying that it can't create private network for the demo project.
>
> Has anyone seen this before? How to solve the problem?
>
> The only solution I found is to completely delete devstack with all files (clean.sh, rm -rf /opt/stack rm -rf devstack).
>
> 2015-04-03 16:39:16.133 | + return 1
> 2015-04-03 16:39:16.133 | ++ neutron net-create --tenant-id 
> 26b553af00544e4bbeec70ba2b15ea3a private
> 2015-04-03 16:39:16.133 | ++ grep ' id '
> 2015-04-03 16:39:16.136 | ++ get_field 2
> 2015-04-03 16:39:16.136 | ++ local data field
> 2015-04-03 16:39:16.136 | ++ read data
> 2015-04-03 16:39:17.928 | create_network_postcommit failed.
> 2015-04-03 16:39:17.966 | + NET_ID=
> 2015-04-03 16:39:17.966 | + die_if_not_set 532 NET_ID 'Failure creating NET_ID for  26b553af00544e4bbeec70ba2b15ea3a'
> 2015-04-03 16:39:17.966 | + local exitcode=0
> 2015-04-03 16:39:17.970 | [Call Trace]
> 2015-04-03 16:39:17.970 | 
> ./stack.sh:1278:create_neutron_initial_network
> 2015-04-03 16:39:17.970 |
> /home/ubuntu/devstack/lib/neutron:532:die_if_not_set
> 2015-04-03 16:39:17.970 | 
> /home/ubuntu/devstack/functions-common:284:die
> 2015-04-03 16:39:17.973 | [ERROR]
> /home/ubuntu/devstack/functions-common:532 Failure creating NET_ID for 
> 26b553af00544e4bbeec70ba2b15ea3a
> 2015-04-03 16:39:18.975 | Error on exit
>
> --
> С уважением, |  Sincerely,
> Александр.   |  Alexander.
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : 
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack



More information about the Openstack mailing list