Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vCenter attach_nic action throws parsing error #6391

Closed
3 tasks done
onenhansen opened this issue Nov 9, 2023 · 1 comment · Fixed by OpenNebula/docs#2777
Closed
3 tasks done

vCenter attach_nic action throws parsing error #6391

onenhansen opened this issue Nov 9, 2023 · 1 comment · Fixed by OpenNebula/docs#2777

Comments

@onenhansen
Copy link
Contributor

onenhansen commented Nov 9, 2023

Description
For vCenter 8 Cluster VM's when attaching a NIC the following error is thrown in the logs:

Cannot attach NIC to VM: InvalidRequest:
Cannot parse "11030938062" as an int value
while parsing serialized value of type int
at line 1, column 405
while parsing property "key" of static type int
while parsing serialized DataObject of type vim.vm.device.VirtualVmxnet3
at line 1, column 371
....

To Reproduce
Try to attach a new NIC to a virtual machine imported from or instantiated on a vCenter 8 Cluster

Expected behavior
The request should be accepted and processed resulting in a new NIC attached to the VM

Details

  • Affected Component: VMM/vCenter
  • Hypervisor: vCenter 8
  • Version: 6.8

Progress Status

  • Code committed
  • Testing - QA
  • Documentation (Release notes - resolved issues, compatibility, known issues)
@onenhansen
Copy link
Contributor Author

This was caused by the key attribute being generated with a timestamp but vCenter expects a signed 32-bit integer. This is now -100 - NUM_DEVICES.

@tinova tinova added this to the Release 6.8.1 milestone Nov 13, 2023
onenhansen added a commit to OpenNebula/docs that referenced this issue Dec 1, 2023
Signed-off-by: Neal Hansen <nhansen@opennebula.io>
@onenhansen onenhansen linked a pull request Dec 1, 2023 that will close this issue
@tinova tinova closed this as completed Dec 2, 2023
tinova pushed a commit to OpenNebula/docs that referenced this issue Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants