New Question
0

Hyperv nova compute drivers installation

asked 2016-04-27 16:03:20 +0300

bardhi232 gravatar image

Hello I am trying to install nova compute drivers on Windows Server 2012R2 and when the install finishes I am able to see the hyperv as a hypervisor on the openstack dashboard, but when i want to lauch an instance i get an error that no suitable hosts were found. I have OpenStack Mitaka installed on my lab and its working fine with KVM hypervisors but i wanted to mix it with hyperv as well. My hyperv machine has 2 NIC. First NIC is the management interface and it has a local ip which is in the same range with the openstack controller machine. Second NIC i added it to a hyperv bridge which is created from the installer and it doesn't have an IP address, but its connected to the switch where i get my public IP range for the VM's. During installation i provide all the correct information that it requires, but in the end i cannot get it to work. If someone could give me instructions on how to install the nova compute drivers properly it would be great. Thank You.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2016-11-09 10:22:34 +0300

Claudiu Belu gravatar image

updated 2016-11-09 11:13:14 +0300

Hello,

It would help a lot if logs were also included, specifically the C:\OpenStack\Logs\nova-compute.log and C:\OpenStack\Logs\neutron-hyperv-agent.log files, as too little information is given by just the horizon error message.

Keep in mind that Neutron Hyper-V Agent doesn't support VXLAN networks. Are your networks using VXLAN by any chance? If you do have VXLAN networks and desire to use them, you should use Windows OVS + neutron-ovs-agent. https://cloudbase.it/openvswitch/

My other guess is that the instance failed to spawn because the neutron port couldn't be bound to the Hyper-V host. This happens if you didn't configure your Neutron controller to also use the Hyper-V ML2 mechanism driver.

For this, you will have to edit the file /etc/neutron/plugins/ml2/ml2_conf.ini and have the configuration option in the [ml2] section:

mechanism_drivers = openvswitch,hyperv

Any other mechanism drivers can be added to that list, but it is important that those 2 are there. After the file was edited, the neutron-server service will have to be restarted. Then, you can try spawning a new instance.

Best regards,

Claudiu Belu

edit flag offensive delete link more

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: 2016-04-27 16:03:20 +0300

Seen: 432 times

Last updated: Nov 09 '16