Problem with openstack vlan networking (openstack kilo)
I have 3node(controller, network, compute) server.
controller - ubuntu 14.04
network - ubuntu 14.04
compute1 - ubuntu 14.04
win_compute6 - window 2012 datacenter
I setted neutron network vlan type.
linux compute node is fine(compute1-neutron with vlan networking).
but window compute node is failed.
can't assign ip.(dhcp)
Reference was here. - http://www.cloudbase.it/quantum-hyper...
============================== progress ==============================
- controller
root@controller:~# nova service-list
+----+------------------+--------------+----------+----------+-------+----------------------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+------------------+--------------+----------+----------+-------+----------------------------+-----------------+
| 1 | nova-cert | controller | internal | enabled | up | 2015-07-07T02:43:26.000000 | - |
| 2 | nova-conductor | controller | internal | enabled | up | 2015-07-07T02:43:26.000000 | - |
| 3 | nova-consoleauth | controller | internal | enabled | up | 2015-07-07T02:43:26.000000 | - |
| 4 | nova-scheduler | controller | internal | enabled | up | 2015-07-07T02:43:27.000000 | - |
| 5 | nova-compute | win_compute6 | nova | enabled | up | 2015-07-07T02:43:28.000000 | - |
| 6 | nova-compute | compute1 | nova | disabled | up | 2015-07-07T02:43:24.000000 | - |
+----+------------------+--------------+----------+----------+-------+----------------------------+-----------------+
root@controller:~# neutron agent-list
+--------------------------------------+--------------------+--------------+-------+----------------+---------------------------+
| id | agenttype | host | alive | adminstate_up | binary |
+--------------------------------------+--------------------+--------------+-------+----------------+---------------------------+
| 1d438fac-86ec-4c89-8291-eb6db181434a | DHCP agent | network | :-) | True | neutron-dhcp-agent |
| 22d612ea-92f8-4f37-89bf-c104d857c71e | HyperV agent | win_compute6 | :-) | True | neutron-hyperv-agent |
| 22de4cb8-ce99-4998-aea9-eca8e6129898 | Metadata agent | network | :-) | True | neutron-metadata-agent |
| 2e1a2b6a-a49d-441b-b9dc-25030835e16f | Open vSwitch agent | network | :-) | True | neutron-openvswitch-agent |
| 98408dd2-c717-4b48-8fca-a00e78f971be | L3 agent | network | :-) | True | neutron-l3-agent |
| 9c39cec3-63e5-4c29-b1a7-5d6301c5c598 | HyperV agent | compute3 | :-) | True | neutron-hyperv-agent |
| fd444834-bfb0-44ad-a273-e293335963c6 | Open vSwitch agent | compute1 | :-) | True | neutron-openvswitch-agent |
+--------------------------------------+--------------------+--------------+-------+----------------+---------------------------+
root@controller:~# neutron net-show demo-net
+---------------------------+--------------------------------------+
| Field | Value |
+---------------------------+--------------------------------------+
| adminstateup | True |
| id | ec51e772-d2f9-459c-9413-454ac30a46fc |
| mtu | 0 |
| name | demo-net |
| provider:network_type | vlan |
| provider:physical_network | physnet1 |
| provider:segmentation_id | 1000 |
| router:external | False | | shared | False |
| status | ACTIVE |
| subnets | d8195ff7-6481-49ba-bb82-46e89342ed3b |
| tenant_id | 2e3bd523ce314f30bcde1118c39f46f0 |
+---------------------------+--------------------------------------+
root@controller:~# nova boot --flavor smile --image clb --security-group default --availability-zone nova:win_compute6 server1
+--------------------------------------+--------------------------------------------+
| Property | Value |
+--------------------------------------+--------------------------------------------+
| OS-DCF:diskConfig | MANUAL |
| OS-EXT-AZ:availability_zone | nova |
| OS-EXT-SRV-ATTR:host | - |
| OS-EXT-SRV-ATTR:hypervisor_hostname | - |
| OS-EXT-SRV-ATTR:instance_name | instance-00000034 |
| OS-EXT-STS:power_state | 0 |
| OS-EXT-STS:task_state | scheduling |
| OS-EXT-STS:vm_state | building |
| OS-SRV-USG:launched_at | - |
| OS-SRV-USG:terminated_at | - |
| accessIPv4 | |
| accessIPv6 | |
| adminPass | iVrQ9VvXDfSH |
| config_drive | |
| created | 2015-07-07T02:26:50Z |
| flavor | smile (6) |
| hostId | |
| id | 28705de5-6f35-43e3-a42d-d32f30fb0767 |
| image | clb (ff53e9e9-078b-4b5a-8ef5-f98651a90855) |
| key_name | - |
| metadata | {} |
| name | server1 |
| os-extended-volumes:volumes_attached | [] |
| progress | 0 |
| security_groups | default |
| status | BUILD |
| tenant_id | 2e3bd523ce314f30bcde1118c39f46f0 |
| updated | 2015-07-07T02:26:50Z |
| user_id | 733b9940637c40bc9022d6e71e773aed |
+--------------------------------------+--------------------------------------------+
root@controller:~# neutron port-show db563a46-62f9-41f6-aa53-067fc218c3e9
+-----------------------+---------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+---------------------------------------------------------------------------------+
| adminstateup | True |
| allowedaddresspairs | |
| binding:hostid | wincompute6 |
| binding:profile | {} |
| binding:vifdetails | {"portfilter": false} |
| binding:vif_type | hyperv |
| binding:vnic_type | normal |
| device_id | 28705de5-6f35-43e3-a42d-d32f30fb0767 |
| device_owner | compute:nova |
| extradhcpopts | |
| fixedips | {"subnetid": "d8195ff7-6481-49ba-bb82-46e89342ed3b", "ip_address": "10.0.1.4"} |
| id | db563a46-62f9-41f6-aa53-067fc218c3e9 |
| mac_address | fa:16:3e:bf:a8:87 |
| name | |
| network_id | ec51e772-d2f9-459c-9413-454ac30a46fc |
| security_groups | fc4192dc-a3c4-4483-91dc-a5adfbe4d9c1 |
| status | ACTIVE |
| tenant_id | 2e3bd523ce314f30bcde1118c39f46f0 |
+-----------------------+---------------------------------------------------------------------------------+
-win_compute6
PS C:\Users\Administrator> Get-VMNetworkAdapterVlan -VMNetworkAdapterName $PORT_ID -ErrorAction Ignore VMName VMNetworkAdapterName Mode VlanList
physnet1 Access 0
external Untagged
instance-00000034 db563a46-62f9-41f6-aa53-067fc218c3e9 Access 1000
PS C:\Users\Administrator> Get-VMNetworkAdapter -VMNetworkAdapterName $PORT_ID -All
Name IsManagementOs VMName SwitchName MacAddress Status IPAddresses
physnet1 True physnet1 00304F4E6100 {Ok}
external True external 6CF049B4C57B {Ok}
db563a46-62f9-41f6-aa53-067fc218c3e9 False instance-00000034 physnet1 FA163EBFA887 {Ok} {169.254.112.10..
vm is created . However, this should not be allocated ip . Also, set a static IP to the network communication fails even to the outside. It seems to be a problem with the window node..... Is this a problem at any point ?