New Question

Revision history [back]

click to hide/show revision 1
initial version

VMs are not getting network with Hyper-V openstack

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: coreplugin = neutron.plugins.hyperv.hypervneutron_plugin.HyperVNeutronPlugin

/etc/neutron/dhcpagent.ini interfacedriver =neutron.agent.linux.interface.OVSInterfaceDriver

neutronhypervagent.conf: [AGENT] pollinginterval = 2 physicalnetworkvswitchmappings = *:external localnetworkvswitch = private enablemetricscollection=false

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

2014-09-11 14:09:03.407 22809 INFO neutron.agent.dhcpagent [-] Synchronizing state complete 2014-09-11 14:09:33.409 22809 INFO neutron.agent.dhcpagent [-] Synchronizing state 2014-09-11 14:09:33.799 22809 ERROR neutron.agent.dhcpagent [-] Unable to enable dhcp for db68640c-3367-49b0-88f1-1e91ffcf611e. 2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcpagent Traceback (most recent call last): 2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcpagent File "/usr/lib/python2.7/dist-packages/neutron/agent/dhcpagent.py", line 127, in calldriver 2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcpagent getattr(driver, action)(**actionkwargs) 2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcpagent 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.dhcpagent reuseexisting=True) 2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcpagent 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.dhcpagent namespace=network.namespace) 2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcpagent 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.dhcpagent self.checkbridgeexists(bridge) 2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcpagent File "/usr/lib/python2.7/dist-packages/neutron/agent/linux/interface.py", line 106, in checkbridgeexists 2014-09-11 14:09:33.799 22809 TRACE neutron.agent.dhcpagent 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.

Any help will be appreciated.