Ask Your Question
0

security_group_rules_for_devices RPC timeout and vm network fail [closed]

asked 2016-08-31 05:30:27 -0600

sosogh@gmail.com gravatar image

we are running Havana (2013.2.3 )(provider network/ovs bridge/dhcp/dnsmasq.

It is running well in the past .

But today something broken , when creating a new vm , the vm was created successfully , but vm network failed.

I see "cloud-init-nonet waiting 120 seconds for a network device." via nova console-log vmid.

vm did not get ip via dhcp.

I tried to ifconfig the vm manually via vnc , but network failed either.

There is error log in /var/log/neutron/openvswitch-agent.log:

ERROR neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Error in agent event loop Timeout while waiting on RPC response - topic: "q-plugin", RPC method: "security_group_rules_for_devices" info: "<unknown>"

There are lots of message which are not comsumed in q-plugin queue in rabbitmq.

The numbers of message in q-plugin queue is getting more and more .

root@mq-27:~# rabbitmqctl list_queues name durable messages |grep q-plugin

q-plugin false 135269

My questions are :

  1. Does the q-plugin lead to the vm network failture?
  2. if so , who are the comsumer of q-plugin , how I can make them comsume again?
  3. it is said that it will skip "q-plugin" RPC timeout issue if disabling security group . I've read this post https://ask.openstack.org/en/question/9592/disabling-security-groups-in-horizon/ (https://ask.openstack.org/en/question...) and wonder whether I should edit both(nova and neutron) configuration files only in HV or also in nova/neutron server (controller)?

Thank you .

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sosogh@gmail.com
close date 2016-09-02 03:38:47.454758

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-09-01 21:17:42 -0600

sosogh@gmail.com gravatar image

Finally, I figure out that neutron-sever is the comsumer of q-plugin queue , after restart neutron-sever service , the messages are comsumed again, vm network recovery .

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-08-31 05:30:27 -0600

Seen: 186 times

Last updated: Sep 01 '16