instances cannot get fixed ip
I setup a controller+network node by DevStack with VLAN network type using Kilo version(networking_hyperv is installed), and a hyper-v compute node by cloudbase hyper-v compute driver(Kilo version too). Everything works well except that instances cannot get fixed ip.
>Get-VMNetworkAdapterVlan -VMNetworkAdapterName ec49017e-6d5b-489e-80ff-a311a67dee07 -ErrorAction Ignore
VMName VMNetworkAdapterName Mode VlanList
------ -------------------- ---- --------
instance-00000007 ec49017e-6d5b-489e-80ff-a311a67dee07 Access 27
And there are below error messages in neutron-hyperv-agent.log:
ERROR hyperv.neutron.hyperv_neutron_agent [req-f284ee93-0de6-47ad-842d-cfafe7dda8cb ] Error in agent event loop
TRACE hyperv.neutron.hyperv_neutron_agent Traceback (most recent call last):
TRACE hyperv.neutron.hyperv_neutron_agent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\neutron\hyperv_neutron_agent.py", line 356, in daemon_loop
TRACE hyperv.neutron.hyperv_neutron_agent sync = self._process_network_ports(port_info)
TRACE hyperv.neutron.hyperv_neutron_agent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\neutron\hyperv_neutron_agent.py", line 332, in _process_network_ports
TRACE hyperv.neutron.hyperv_neutron_agent resync_a = self._treat_devices_added(port_info['added'])
TRACE hyperv.neutron.hyperv_neutron_agent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\neutron\hyperv_neutron_agent.py", line 296, in _treat_devices_added
TRACE hyperv.neutron.hyperv_neutron_agent device_details['admin_state_up'])
TRACE hyperv.neutron.hyperv_neutron_agent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\neutron\hyperv_neutron_agent.py", line 264, in _treat_vif_port
TRACE hyperv.neutron.hyperv_neutron_agent physical_network, segmentation_id)
TRACE hyperv.neutron.hyperv_neutron_agent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\neutron\hyperv_neutron_agent.py", line 195, in _port_bound
TRACE hyperv.neutron.hyperv_neutron_agent self._utils.connect_vnic_to_vswitch(map['vswitch_name'], port_id)
TRACE hyperv.neutron.hyperv_neutron_agent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\neutron\utilsv2.py", line 86, in connect_vnic_to_vswitch
TRACE hyperv.neutron.hyperv_neutron_agent self._add_virt_resource(vm, port)
TRACE hyperv.neutron.hyperv_neutron_agent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\neutron\utilsv2.py", line 100, in _add_virt_resource
TRACE hyperv.neutron.hyperv_neutron_agent self._check_job_status(ret_val, job_path)
TRACE hyperv.neutron.hyperv_neutron_agent File "C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\lib\site-packages\hyperv\neutron\utils.py", line 137, in _check_job_status
TRACE hyperv.neutron.hyperv_neutron_agent raise HyperVException(msg=_('Job failed with error %d') % ret_val)
TRACE hyperv.neutron.hyperv_neutron_agent HyperVException: Hyper-V Exception: Job failed with error 32775
Could anyone help on this?