Ask Your Question
0

VMware integration with Ocata: getting InvalidDeviceSpec error from vCenter

asked 2017-07-11 12:13:46 -0500

Luca Maranzano gravatar image

Hello all,

we are testing the integration of Vmware 5.5 with OpenStack Ocata installed on a Devstack setup.

We have followed these guides:

https://gist.github.com/jriguera/272518633da0ba9edff1 (https://gist.github.com/jriguera/2725...)

https://docs.openstack.org/ocata/config-reference/compute/hypervisor-vmware.html (https://docs.openstack.org/ocata/conf...)

And since we are using Neutron on DevStack we have configured this parameter in nova.conf:

integration_bridge = "br1663"

which is a dvPG defined on vCenter Server.

When we try to Launch an instance from a VMDK we can see that the new VM is created on the vSphere infrastructure, the disk is delivered to the datastore, but it seems that when nova tries to configure the Network then we get this error from vCenter:

Invalid configuration for device '0'. Faults: ['InvalidDeviceSpec']

tracing down the API call in the ESXi log this seems to be the exact piece of info which is causing the error (i.e. when adding the NIC to the VM configuration):

-->    deviceChange = (vim.vm.device.VirtualDeviceSpec) [
-->       (vim.vm.device.VirtualDeviceSpec) {
-->          dynamicType = <unset>,
-->          operation = "add",
-->          fileOperation = <unset>,
-->          device = (vim.vm.device.VirtualE1000) {
-->             dynamicType = <unset>,
-->             key = -47,
-->             deviceInfo = (vim.Description) null,
-->             backing = (vim.vm.device.VirtualEthernetCard.OpaqueNetworkBackingInfo) {
-->                dynamicType = <unset>,
-->                opaqueNetworkId = "br1663",
-->                opaqueNetworkType = "opaque",
-->             },
-->             connectable = (vim.vm.device.VirtualDevice.ConnectInfo) {
-->                dynamicType = <unset>,
-->                startConnected = true,
-->                allowGuestControl = true,

Any idea on what is wrong with our setup?

Thanks in advance.

Best regards,

Luca

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2018-06-18 09:44:21 -0500

Mukul gravatar image

Hi Luca,

Are you able to solve this issue, we are also getting same error while deploy VM.

Regards, Mukul

edit flag offensive delete link more
0

answered 2018-02-18 08:43:20 -0500

Gaspare Silvestri gravatar image

Hi Luca,

have you solved this issue? I'm in the same situation.

Thanks in advance,

Gaspare

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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2017-07-11 12:13:46 -0500

Seen: 402 times

Last updated: Jun 18 '18