New Question

Revision history [back]

click to hide/show revision 1
initial version

Thank you for your answer. Port is available now!

my configs: cat ml2conf.ini |grep -v "^#" |grep -xv "" [ml2] tenantnetworktypes = vlan typedrivers = local,flat,vlan,gre,vxlan mechanismdrivers = openvswitch,hyperv [ml2typeflat] flatnetworks = br-ex [ml2typevlan] [ml2typegre] [ml2typevxlan] [securitygroup] [ovs] localip = 5.196.144.158 bridgemappings = physnet1:br-ex [agent]

Configuration file on hyper-v compute node wasn't changed. When I create VM, port is avaialble.

neutron port-show bd0eafd0-7516-4021-a50d-c6e5ea7d7ce9 +-----------------------+---------------------------------------------------------------------------------------+ | Field | Value | +-----------------------+---------------------------------------------------------------------------------------+ | adminstateup | True | | allowedaddresspairs | | | binding:hostid | mycomputehostid | | binding:profile | {} | | binding:vifdetails | {"portfilter": false} | | binding:viftype | hyperv | | binding:vnictype | normal | | deviceid | e01b1953-65f7-4eb3-963a-1b3ac80f914c | | deviceowner | compute:None | | extradhcpopts | | | fixedips | {"subnetid": "772aff82-2d72-4c94-b206-1a77ce5eefb7", "ipaddress": "myipaddress"} | | id | bd0eafd0-7516-4021-a50d-c6e5ea7d7ce9 | | macaddress | Mymac | | name | port129 | | networkid | 24b44a3f-0ed8-4186-9da9-be01e5a5d3eb | | securitygroups | 736bdd8e-2625-4953-9f5c-148346494625 | | status | ACTIVE | | tenantid | 24c79185ddcf422895b300b18fd3937d

My VM with windows server has one active port, which mac which i assigned. But NIC doesn't assign IP address.

PS C:\Windows\system32> Get-VMNetworkAdapterVLAN

VMName VMNetworkAdapterName Mode VlanList ------ -------------------- ---- -------- neutron-bridge Untagged instance-0000002d bd0eafd0-7516-4021-a50d-c6e5ea7d7ce9 Untagged

I have one bridge "neutron-bridge" which was created during installtion. And one interface for new VM. There are any tagged mode, as I understood it should be tagged.

There is one error in neutron log file:

015-01-23 12:03:03.086 2032 ERROR neutron.plugins.hyperv.agent.hypervneutronagent [req-f4227101-d864-4aa1-a8a7-dd034992d01f None] Error in agent event loop: HyperVException: Job failed with error 32775 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent Traceback (most recent call last): 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\hypervneutronagent.py", line 448, in daemonloop 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent sync = self.processnetworkports(portinfo) 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\hypervneutronagent.py", line 424, in _processnetworkports 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent resynca = self.treatdevicesadded(portinfo['added']) 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\hypervneutronagent.py", line 387, in treatdevicesadded 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent devicedetails['adminstateup']) 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\hypervneutronagent.py", line 355, in treatvifport 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent physicalnetwork, segmentationid) 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\hypervneutronagent.py", line 287, in _portbound 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent self.utils.connectvnictovswitch(map['vswitchname'], portid) 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\utilsv2.py", line 78, in connectvnictovswitch 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent self.addvirtresource(vm, port) 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\utilsv2.py", line 92, in addvirtresource 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent self.checkjobstatus(retval, jobpath) 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\utils.py", line 118, in checkjobstatus 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent raise HyperVException(msg=('Job failed with error %d') % retval) 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent HyperVException: HyperVException: Job failed with error 32775 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutron_agent

Sorry, for text formatting.

Which I should try to get IP address assignation for VM.

Best regards.

Thank you for your answer. Port is available now!

my configs: cat ml2conf.ini |grep -v "^#" |grep -xv "" [ml2] tenantnetworktypes = vlan typedrivers = local,flat,vlan,gre,vxlan mechanismdrivers = openvswitch,hyperv [ml2typeflat] flatnetworks = br-ex [ml2typevlan] [ml2typegre] [ml2typevxlan] [securitygroup] [ovs] localip = 5.196.144.158 bridgemappings = physnet1:br-ex [agent]

Configuration file on hyper-v compute node wasn't changed. When I create VM, port is avaialble.

neutron port-show bd0eafd0-7516-4021-a50d-c6e5ea7d7ce9 +-----------------------+---------------------------------------------------------------------------------------+ | Field | Value | +-----------------------+---------------------------------------------------------------------------------------+ | adminstateup | True | | allowedaddresspairs | | | binding:hostid | mycomputehostid | | binding:profile | {} | | binding:vifdetails | {"portfilter": false} | | binding:viftype | hyperv | | binding:vnictype | normal | | deviceid | e01b1953-65f7-4eb3-963a-1b3ac80f914c | | deviceowner | compute:None | | extradhcpopts | | | fixedips | {"subnetid": "772aff82-2d72-4c94-b206-1a77ce5eefb7", "ipaddress": "myipaddress"} | | id | bd0eafd0-7516-4021-a50d-c6e5ea7d7ce9 | | macaddress | Mymac | | name | port129 | | networkid | 24b44a3f-0ed8-4186-9da9-be01e5a5d3eb | | securitygroups | 736bdd8e-2625-4953-9f5c-148346494625 | | status | ACTIVE | | tenantid | 24c79185ddcf422895b300b18fd3937d

My VM with windows server has one active port, which mac which i assigned. But NIC doesn't assign IP address.

PS C:\Windows\system32> Get-VMNetworkAdapterVLAN

VMName VMNetworkAdapterName Mode VlanList ------ -------------------- ---- -------- neutron-bridge Untagged instance-0000002d bd0eafd0-7516-4021-a50d-c6e5ea7d7ce9 Untagged

I have one bridge "neutron-bridge" which was created during installtion. And one interface for new VM. There are not any interface in tagged mode, as I understood it should be tagged.

There is one error in neutron log file:

015-01-23 12:03:03.086 2032 ERROR neutron.plugins.hyperv.agent.hypervneutronagent [req-f4227101-d864-4aa1-a8a7-dd034992d01f None] Error in agent event loop: HyperVException: Job failed with error 32775 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent Traceback (most recent call last): 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\hypervneutronagent.py", line 448, in daemonloop 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent sync = self.processnetworkports(portinfo) 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\hypervneutronagent.py", line 424, in _processnetworkports 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent resynca = self.treatdevicesadded(portinfo['added']) 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\hypervneutronagent.py", line 387, in treatdevicesadded 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent devicedetails['adminstateup']) 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\hypervneutronagent.py", line 355, in treatvifport 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent physicalnetwork, segmentationid) 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\hypervneutronagent.py", line 287, in _portbound 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent self.utils.connectvnictovswitch(map['vswitchname'], portid) 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\utilsv2.py", line 78, in connectvnictovswitch 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent self.addvirtresource(vm, port) 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\utilsv2.py", line 92, in addvirtresource 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent self.checkjobstatus(retval, jobpath) 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\neutron\plugins\hyperv\agent\utils.py", line 118, in checkjobstatus 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent raise HyperVException(msg=('Job failed with error %d') % retval) 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutronagent HyperVException: HyperVException: Job failed with error 32775 2015-01-23 12:03:03.086 2032 TRACE neutron.plugins.hyperv.agent.hypervneutron_agent

Sorry, for text formatting.

Which I should try to get IP address assignation for VM.

Best regards.