Ask Your Question
0

Nova compute shows dead-Instances unable to launch and load on dashboard [closed]

asked 2015-09-01 01:36:38 -0500

smcas gravatar image

updated 2015-09-01 01:40:18 -0500

[root@newcompute1 ~]# nova-manage service list
            Binary           Host                                 Zone             Status     State Updated_At
            nova-cert        newcontroller                        internal         enabled    :-)   2015-09-01 06:08:11
            nova-scheduler   newcontroller                        internal         enabled    :-)   2015-09-01 06:08:02
            nova-consoleauth newcontroller                        internal         enabled    :-)   2015-09-01 06:08:01
            nova-conductor   newcontroller                        internal         enabled    :-)   2015-09-01 06:08:11
            nova-console     newcontroller                        internal         enabled    :-)   2015-09-01 06:08:01
            nova-compute     newcompute1                          nova             enabled    XXX   2015-08-27 09:50:47

compute.log shows unexpected vif_type = binding_failed

2015-09-01 11:17:57.559 4331 TRACE nova.openstack.common.threadgroup     self.vif_driver.plug(instance, vif)
2015-09-01 11:17:57.559 4331 TRACE nova.openstack.common.threadgroup   File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/vif.py", line 616, in plug
2015-09-01 11:17:57.559 4331 TRACE nova.openstack.common.threadgroup     _("Unexpected vif_type=%s") % vif_type)
2015-09-01 11:17:57.559 4331 TRACE nova.openstack.common.threadgroup NovaException: Unexpected vif_type=binding_failed
2015-09-01 11:17:57.559 4331 TRACE nova.openstack.common.threadgroup

on network node vi /var/log/neutron/server.log

2015-09-01 11:17:59.692 4200 TRACE neutron.openstack.common.rpc.amqp
2015-09-01 11:17:59.693 4200 ERROR neutron.openstack.common.rpc.common [req-5600f5e6-5f76-4fac-8706-69fa7c4d41e6 None] Returning exception Agent with agent_type=DHCP agent and host=newcompute1 could not be found to caller
2015-09-01 11:17:59.694 4200 ERROR neutron.openstack.common.rpc.common [req-5600f5e6-5f76-4fac-8706-69fa7c4d41e6 None] ['Traceback (most recent call last):\n', '  File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/amqp.py", line 462, in _process_data\n    **args)\n', '  File "/usr/lib/python2.6/site-packages/neutron/common/rpc.py", line 45, in dispatch\n    neutron_ctxt, version, method, namespace, **kwargs)\n', '  File "/usr/lib/python2.6/site-packages/neutron/openstack/common/rpc/dispatcher.py", line 172, in dispatch\n    result = getattr(proxyobj, method)(ctxt, **kwargs)\n', '  File "/usr/lib/python2.6/site-packages/neutron/db/dhcp_rpc_base.py", line 92, in get_active_networks_info\n    networks = self._get_active_networks(context, **kwargs)\n', '  File "/usr/lib/python2.6/site-packages/neutron/db/dhcp_rpc_base.py", line 44, in _get_active_networks\n    context, host)\n', '  File "/usr/lib/python2.6/site-packages/neutron/db/agentschedulers_db.py", line 179, in list_active_networks_on_active_dhcp_agent\n    context, constants.AGENT_TYPE_DHCP, host)\n', '  File "/usr/lib/python2.6/site-packages/neutron/db/agents_db.py", line 140, in _get_agent_by_type_and_host\n    host=host)\n', 'AgentNotFoundByTypeHost: Agent with agent_type=DHCP agent and host=newcompute1 could not be found\n']

Instances shows active status on nova list but instances are not launching and loading on dashboard (console not shown) . It keeps on loading and finally gives the below line:

console is currently unavailable. Please try again later. Reload

openvswitch logs on network node shows:

2015-09-01 11:09:06.522 4189 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-42be4201-da49-4a32-a716-357f52b8907b None] Agent out of sync with plugin!
2015-09-01 11:09:06.617 4189 INFO neutron.plugins.openvswitch.agent.ovs_neutron_agent [req-42be4201-da49-4a32-a716-357f52b8907b None] Agent tunnel out of sync with plugin!
2015-09-01 11:09:06.640 4189 INFO neutron.openstack.common.rpc.common [req-42be4201-da49-4a32-a716-357f52b8907b None] Connected to AMQP server on newcontroller:5672
2015-09-01 11:09:07.076 4189 INFO neutron.agent.securitygroups_rpc [-] Preparing filters for devices set([u'fd9943a4-59e7-4cc8-a447-e6170381405f'])
2015-09-01 ...
(more)
edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by smcas
close date 2015-09-03 03:54:43.570749

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-09-03 03:54:04 -0500

smcas gravatar image

The problem has been resolved by : 1. Deleted the bridge (br-int) on compute node and added again

 ovs-vsctl del-br br-int
  ovs-vsctl add-br br-int

and then reboot the compute node.

2.Recreate networks and router on dashboard.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-09-01 01:36:38 -0500

Seen: 1,065 times

Last updated: Sep 03 '15