New Question
0

instances not getting network.

asked 2015-09-24 06:50:52 +0200

pilotbri gravatar image

using latest download of v-magine, hyper-v windows server 2016 tech preview 3, neither Windows eval instance nor imported Ubuntu image are getting dhcp addresses

here is what I think is the relevant neutron log entries. I'm really new to Openstack so I'm not sure where to look next.

2015-09-23 21:34:41.515 672 INFO hyperv.neutron.hypervneutronagent [req-015bbdbb-ffec-4f82-839d-b2bc8ad25e11 ] Adding port 0155e112-af36-4386-8080-793dd6aed36e 2015-09-23 21:34:41.515 672 INFO hyperv.neutron.hypervneutronagent [req-015bbdbb-ffec-4f82-839d-b2bc8ad25e11 ] Port 0155e112-af36-4386-8080-793dd6aed36e updated. Details: {u'profile': {}, u'allowedaddresspairs': [], u'adminstateup': True, u'networkid': u'd8021f82-622b-4568-a7c2-656dd92572d3', u'segmentationid': 505, u'deviceowner': u'compute:nova', u'physicalnetwork': u'physnet1', u'macaddress': u'fa:16:3e:32:2b:4d', u'device': u'0155e112-af36-4386-8080-793dd6aed36e', u'portsecurityenabled': True, u'portid': u'0155e112-af36-4386-8080-793dd6aed36e', u'fixedips': [{u'subnetid': u'72dca1ff-2b9b-4e81-9e75-3557e0caa45d', u'ipaddress': u'172.17.15.103'}], u'networktype': u'vlan'} 2015-09-23 21:34:42.967 672 ERROR hyperv.neutron.hypervneutronagent [req-015bbdbb-ffec-4f82-839d-b2bc8ad25e11 ] Error in agent event loop 2015-09-23 21:34:42.967 672 TRACE hyperv.neutron.hypervneutronagent Traceback (most recent call last): 2015-09-23 21:34:42.967 672 TRACE hyperv.neutron.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\neutron\hypervneutronagent.py", line 356, in daemonloop 2015-09-23 21:34:42.967 672 TRACE hyperv.neutron.hypervneutronagent sync = self.processnetworkports(portinfo) 2015-09-23 21:34:42.967 672 TRACE hyperv.neutron.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\neutron\hypervneutronagent.py", line 332, in _processnetworkports 2015-09-23 21:34:42.967 672 TRACE hyperv.neutron.hypervneutronagent resynca = self.treatdevicesadded(portinfo['added']) 2015-09-23 21:34:42.967 672 TRACE hyperv.neutron.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\neutron\hypervneutronagent.py", line 296, in treatdevicesadded 2015-09-23 21:34:42.967 672 TRACE hyperv.neutron.hypervneutronagent devicedetails['adminstateup']) 2015-09-23 21:34:42.967 672 TRACE hyperv.neutron.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\neutron\hypervneutronagent.py", line 264, in treatvifport 2015-09-23 21:34:42.967 672 TRACE hyperv.neutron.hypervneutronagent physicalnetwork, segmentationid) 2015-09-23 21:34:42.967 672 TRACE hyperv.neutron.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\neutron\hypervneutronagent.py", line 195, in _portbound 2015-09-23 21:34:42.967 672 TRACE hyperv.neutron.hypervneutronagent self.utils.connectvnictovswitch(map['vswitchname'], portid) 2015-09-23 21:34:42.967 672 TRACE hyperv.neutron.hypervneutronagent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\neutron\utilsv2.py", line 86, in connect ... (more)

edit retag flag offensive close merge delete

Comments

anyone? I'm kinda stuck.

pilotbri gravatar imagepilotbri ( 2015-09-26 03:22:42 +0200 )edit

2 answers

Sort by » oldest newest most voted
0

answered 2015-10-05 09:54:31 +0200

updated 2015-10-05 09:55:23 +0200

Could you please post the output of the following commands:

neutron net-show your-net-id

and on Hyper-V Server

get-VMSwitch

get-VMNetworkAdapterVlan -VMName name-of-vm

Also, you say that they are not getting dhcp addresses, what happens if you set the address manually? Does it work then?

At the end of this page there is a guide for troubleshooting that has a section refering to Vlan filtering by the NIC driver. Please check if that is the case.

edit flag offensive delete link more

Comments

I set the address manually and still could not ping my default gateway. This is on the public network, on the private network, I can ping the default gateway, but not anything further. I tore the box down to experiment with another openstack configuration, I'll build it up again and get more info.

scubabri gravatar imagescubabri ( 2015-10-05 19:00:48 +0200 )edit
0

answered 2015-10-05 22:19:17 +0200

scubabri gravatar image

updated 2015-10-05 22:38:48 +0200

[root@rdo ~(keystoneadmin)]# LCALL=C neutron net-show public +---------------------------+--------------------------------------+ | Field | Value | +---------------------------+--------------------------------------+ | adminstateup | True | | id | f6ddf23c-a196-44cb-bf27-ea97b3144e2b | | mtu | 0 | | name | public | | provider:networktype | vlan | | provider:physicalnetwork | physnet1 | | provider:segmentationid | 527 | | router:external | True | | shared | True | | status | ACTIVE | | subnets | 522e521a-4c50-440b-b77d-e1948de173f2 | | tenantid | 026dcbd26ba843ef98d4f32091c59ba9 | +---------------------------+--------------------------------------+

PS C:\Users\brians> get-vmswitch

Name SwitchType NetAdapterInterfaceDescription ---- ---------- ------------------------------ vSwitch External Intel(R) Gigabit ET Dual Port Server Adapter #2 v-magine-internal Internal v-magine-data Private

PS C:\Users\brians> get-VMNetworkAdapterVlan -VMName instance-00000001

VMName VMNetworkAdapterName Mode VlanList ------ -------------------- ---- -------- instance-00000001 e5c175ee-a4aa-4625-b479-91bb1646907d Access 527

PS C:\Users\brians> get-VMNetworkAdapterVlan -VMName openstack-controller

VMName VMNetworkAdapterName Mode VlanList ------ -------------------- ---- -------- openstack-controller openstack-controller-mgmt-ext Untagged openstack-controller openstack-controller-mgmt-int Untagged openstack-controller openstack-controller-data Trunk 0,500-1999 openstack-controller openstack-controller-ext Untagged openstack-controller openstack-controller-pxe Untagged

+-----------------------+--------------------------------------------------------------------------------------+ | Field | Value | +-----------------------+--------------------------------------------------------------------------------------+ | adminstateup | True | | allowedaddresspairs | | | binding:hostid | BS-HYP01 | | binding:profile | {} | | binding:vifdetails | {"portfilter": false} | | binding:viftype | hyperv | | binding:vnictype | normal | | deviceid | d5ac6027-6b5b-4a89-885f-8f569bd71edb | | deviceowner | compute:nova | | extradhcpopts | | | fixedips | {"subnetid": "522e521a-4c50-440b-b77d-e1948de173f2", "ipaddress": "172.17.15.100"} | | id | e5c175ee-a4aa-4625-b479-91bb1646907d | | macaddress | fa:16:3e:54:9c:0a | | name | | | networkid | f6ddf23c-a196-44cb-bf27-ea97b3144e2b | | securitygroups | 9ac50312-9c09-437d-8735-fdd053bd49d5 | | status | ACTIVE | | tenantid | 026dcbd26ba843ef98d4f32091c59ba9 | +-----------------------+--------------------------------------------------------------------------------------+

edit flag offensive delete link more

Comments

and no, vlan filtering is not turned on.

scubabri gravatar imagescubabri ( 2015-10-05 22:56:39 +0200 )edit

if I do a tcpdump on the "data" interface on the openstack-controller I can see arp requests when I set a static ip on the instance and ping the default gateway on the same vlan. I do NOT see arp requests or any other traffic from the instances on any of the other interfaces.

scubabri gravatar imagescubabri ( 2015-10-05 23:02:37 +0200 )edit

I lied, private network 10.0.0.x CAN get to the internet, its just the public that cant reach it default gateway.

scubabri gravatar imagescubabri ( 2015-10-06 02:30:53 +0200 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-09-24 06:50:52 +0200

Seen: 196 times

Last updated: Oct 05 '15