我按照neutron-hyperv-Agent的教程直到结束,在创建新VM之后,它已成功创建,hyper-v管理器向我显示由Openstack的Dashboard创建的VM。但是,当我想检查VM的vNIC时,我发现它没有连接。在那之后,我按照故障排除进行了直到中子端口显示$ PORT_ID然后我得到了:
+-----------------------+---------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+---------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | WIN-C6EIDJEP5J0 |
| binding:profile | {} |
| binding:vif_details | {} |
| binding:vif_type | binding_failed |
| binding:vnic_type | normal |
| device_id | 94690504-ca00-4f72-86f7-9f8c8833e9af |
| device_owner | compute:nova |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "a4895d36-28b8-447b-b551-f84796ffe5a1", "ip_address": "10.0.1.2"} |
| id | 0cf3d49f-fa77-4249-ad2c-59a237e22b47 |
| mac_address | fa:16:3e:4f:a3:f0 |
| name | |
| network_id | 37dd11a3-07ce-4411-b290-b85bde4b2bb9 |
| security_groups | 120a3bde-efd3-4fb1-8416-a07ec83b0438 |
| status | DOWN |
| tenant_id | 0335a8743dcc44aeaa8fecaae079f969 |
+-----------------------+---------------------------------------------------------------------------------+
对于中子代理人名单,我得到了:
+--------------------------------------+--------------------+-----------------+-------+----------------+---------------------------+
| id | agent_type | host | alive | admin_state_up | binary |
+--------------------------------------+--------------------+-----------------+-------+----------------+---------------------------+
| 12623ad9-61a3-4707-abc9-04fbbc6c3ee9 | Metadata agent | network | :-) | True | neutron-metadata-agent |
| 24666abb-0fa7-4b5a-92b1-aef5c128356a | HyperV agent | WIN-C6EIDJEP5J0 | :-) | True | neutron-hyperv-agent |
| 47599326-636e-46ae-98c1-96ac5ce5d63d | DHCP agent | network | :-) | True | neutron-dhcp-agent |
| bb8a28a6-9ce3-432d-bef9-e9c6b799a35a | Open vSwitch agent | network | :-) | True | neutron-openvswitch-agent |
| d3a805ad-16ee-4541-9629-4567d1ddedd2 | L3 agent | network | :-) | True | neutron-l3-agent |
+--------------------------------------+--------------------+-----------------+-------+----------------+---------------------------+
•这是来自Windows服务器的neutron-hyper-agent.log文件,我在它上面运行Hyper-v但是我只粘贴了我收到错误的最后一行:http://paste.openstack.org/show/429541/。 •neutronhypervagent.conffrom windows server:http://paste.openstack.org/show/429543/。 •nova.conffrom windows server:http://paste.openstack.org/show/429544/。
对于以下命令行中子子网 - 显示a4895d36-28b8-447b-b551-f84796ffe5a1,我得到了:
+-------------------+--------------------------------------------+
| Field | Value |
+-------------------+--------------------------------------------+
| allocation_pools | {"start": "10.0.1.2", "end": "10.0.1.254"} |
| cidr | 10.0.1.0/24 |
| dns_nameservers | |
| enable_dhcp | True |
| gateway_ip | 10.0.1.1 |
| host_routes | |
| id | a4895d36-28b8-447b-b551-f84796ffe5a1 |
| ip_version | 4 |
| ipv6_address_mode | |
| ipv6_ra_mode | |
| name | |
| network_id | 37dd11a3-07ce-4411-b290-b85bde4b2bb9 |
| tenant_id | 0335a8743dcc44aeaa8fecaae079f969 |
+-------------------+--------------------------------------------+
用于以下命令行Get-VMNetworkAdapter -VMNetworkAdapterName $ PORT_ID - 我得到的所有内容: PS C:\ Users \ Administrator> Get-VMNetworkAdapter -VMNetworkAdapterName $ PORT_ID -All
Name IsManagementOs VMName SwitchName MacAddress Status IPAddresses
---- -------------- ------ ---------- ---------- ------ -----------
external True external F8B156C7662A {Ok}
0cf3d49f-fa77-4249-ad2c-59a237e22b47 False instance-00000009 FA163E4FA3F0 {}
6f396fe0-b475-4a9c-b632-550cbc50a159 False instance-00000009 FA163E65D06D {}
感谢您帮助我,如果您想要其他文件,我将为您服务。