Ask Your Question

divya_julakanti's profile - activity

2014-12-03 22:13:12 -0500 received badge  Famous Question (source)
2014-09-16 03:04:53 -0500 received badge  Notable Question (source)
2014-09-15 08:33:46 -0500 received badge  Good Question (source)
2014-09-13 10:05:40 -0500 received badge  Nice Question (source)
2014-09-13 08:03:05 -0500 received badge  Popular Question (source)
2014-09-12 18:29:17 -0500 received badge  Student (source)
2014-09-11 23:59:21 -0500 edited question VM is unable to get network in Openstack with neutron Hyper-V plugin

I have an openstack controller installed using COI in which all openstack services are running except nova-compute. Used Cloudbase openstack compute installer for setting up hyper-v compute node in which nova-compute is running. Able to boot the instance but dhcp agent is unable to assign ip to the instance.

/etc/neutron/neutron.conf has:

**core_plugin = neutron.plugins.hyperv.hyperv_neutron_plugin.HyperVNeutronPlugin**

/etc/neutron/dhcp_agent.ini

**interface_driver =neutron.agent.linux.interface.OVSInterfaceDriver**

neutron_hyperv_agent.conf:

**[AGENT]  
polling_interval = 2  
physical_network_vswitch_mappings = *:external  
local_network_vswitch = private  
enable_metrics_collection=false**

Error in the /var/log/neutron/dhcp-agent.log

2014-09-11 14:09:03.407 22809 INFO neutron.agent.dhcp_agent [-] Synchronizing state complete
2014-09-11 14:09:33.409 22809 INFO neutron.agent.dhcp_agent [-] Synchronizing state
2014-09-11 14:09:33.799 22809 ERROR neutron.agent.dhcp_agent [-] Unable to enable dhcp for db68640c-3367-49b0-88f1-1e91ffcf611e.
2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcp_agent Traceback (most recent call last):
2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/dhcp_agent.py", line 127, in call_driver
2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcp_agent     getattr(driver, action)(**action_kwargs)
2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/dhcp.py", line 166, in enable
2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcp_agent     reuse_existing=True)
2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/dhcp.py", line 832, in setup
2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcp_agent     namespace=network.namespace)
2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/interface.py", line 169, in plug
2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcp_agent     self.check_bridge_exists(bridge)
2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcp_agent   File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/interface.py", line 106, in check_bridge_exists
2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcp_agent     raise exceptions.BridgeDoesNotExist(bridge=bridge)
2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcp_agent BridgeDoesNotExist: Bridge br-int does not exist.

There seems to be no bridges concept in hyper-v, we have vswitch and portgroup networking stack. Is there any interface driver which is compatible with hyper-v plugin? Anyone please suggest where can I find detailed networking guide for hyper-v plugin.

2014-09-11 23:59:21 -0500 received badge  Editor (source)