VIO Instance creation fails with error "while parsing serialized DataObject of type vim.vm.device.VirtualSerialPort"
search cancel

VIO Instance creation fails with error "while parsing serialized DataObject of type vim.vm.device.VirtualSerialPort"

book

Article ID: 401430

calendar_today

Updated On: 07-01-2025

Products

VMware Integrated OpenStack

Issue/Introduction

  • Converted an "Working RHEL9 VM" to the vm template and creating an VM instance using OpenStack image fails with error

Error: Error waiting for instance (6b52f0f2-15f6-4240-98b2-ffbb833f9a68) to become ready: unexpected state 'ERROR', wanted target 'ACTIVE'. last error: s (<nil>)

with module.segment ["aaa"].module.instances ["01"].openstack_compute_instance_v2.instance [0],
on /home/C137327/vmpowercontrol6_v3segment/v3segment/modules/instance/instance.tf line 24, in resource "openstack_compute_instance_v2" "instance": 24: resource "openstack_compute_instance_v2" "instance"

  • Reviewed the nova-compute.log

Faults: [InvalidRequest]
2025-06-04 07:10:49.220 1 ERROR nova.compute.manager [instance: 6b52f0f2-15f6-4240-98b2-ffbb833f9a68] Traceback (most recent call last):
2025-06-04 07:10:49.220 1 ERROR nova.compute.manager [instance: 6b52f0f2-15f6-4240-98b2-ffbb833f9a68] File "/usr/lib/python3.7/site-packages/oslo_vmware/service.py", line 354, in request_handler
2025-06-04 07:10:49.220 1 ERROR nova.compute.manager [instance: 6b52f0f2-15f6-4240-98b2-ffbb833f9a68] response = request(managed_object, **kwargs)
2025-06-04 07:10:49.220 1 ERROR nova.compute.manager [instance: 6b52f0f2-15f6-4240-98b2-ffbb833f9a68] File "/usr/lib/python3.7/site-packages/suds/client.py", line 521, in __call__
2025-06-04 07:10:49.220 1 ERROR nova.compute.manager [instance: 6b52f0f2-15f6-4240-98b2-ffbb833f9a68] return client.invoke(args, kwargs)
2025-06-04 07:10:49.220 1 ERROR nova.compute.manager [instance: 6b52f0f2-15f6-4240-98b2-ffbb833f9a68] File "/usr/lib/python3.7/site-packages/suds/client.py", line 581, in invoke
2025-06-04 07:10:49.220 1 ERROR nova.compute.manager [instance: 6b52f0f2-15f6-4240-98b2-ffbb833f9a68] result = self.send(soapenv)
2025-06-04 07:10:49.220 1 ERROR nova.compute.manager [instance: 6b52f0f2-15f6-4240-98b2-ffbb833f9a68] File "/usr/lib/python3.7/site-packages/suds/client.py", line 621, in send
2025-06-04 07:10:49.220 1 ERROR nova.compute.manager [instance: 6b52f0f2-15f6-4240-98b2-ffbb833f9a68] original_soapenv=original_soapenv)
2025-06-04 07:10:49.220 1 ERROR nova.compute.manager [instance: 6b52f0f2-15f6-4240-98b2-ffbb833f9a68] File "/usr/lib/python3.7/site-packages/suds/client.py", line 670, in process_reply
2025-06-04 07:10:49.220 1 ERROR nova.compute.manager [instance: 6b52f0f2-15f6-4240-98b2-ffbb833f9a68] raise WebFault(fault, replyroot)
2025-06-04 07:10:49.220 1 ERROR nova.compute.manager [instance: 6b52f0f2-15f6-4240-98b2-ffbb833f9a68] suds.WebFault: Server raised fault: '
2025-06-04 07:10:49.220 1 ERROR nova.compute.manager [instance: 6b52f0f2-15f6-4240-98b2-ffbb833f9a68] Required property summary is missing from data object of type Description
2025-06-04 07:10:49.220 1 ERROR nova.compute.manager [instance: 6b52f0f2-15f6-4240-98b2-ffbb833f9a68]
2025-06-04 07:10:49.220 1 ERROR nova.compute.manager [instance: 6b52f0f2-15f6-4240-98b2-ffbb833f9a68] while parsing serialized DataObject of type vim.Description
2025-06-04 07:10:49.220 1 ERROR nova.compute.manager [instance: 6b52f0f2-15f6-4240-98b2-ffbb833f9a68] at line 1, column 1015
2025-06-04 07:10:49.220 1 ERROR nova.compute.manager [instance: 6b52f0f2-15f6-4240-98b2-ffbb833f9a68]
2025-06-04 07:10:49.220 1 ERROR nova.compute.manager [instance: 6b52f0f2-15f6-4240-98b2-ffbb833f9a68] while parsing property "deviceInfo" of static type Description
2025-06-04 07:10:49.220 1 ERROR nova.compute.manager [instance: 6b52f0f2-15f6-4240-98b2-ffbb833f9a68]
2025-06-04 07:10:49.220 1 ERROR nova.compute.manager [instance: 6b52f0f2-15f6-4240-98b2-ffbb833f9a68] while parsing serialized DataObject of type vim.vm.device.VirtualSerialPort
2025-06-04 07:10:49.220 1 ERROR nova.compute.manager [instance: 6b52f0f2-15f6-4240-98b2-ffbb833f9a68] at line 1, column 947

 

Environment

  • VMware Integrated Openstack 7.x

Cause

  • Instance creation fail if there is a "serial port" attached in the VM template.

Resolution

  • This issue was caused by the existing serial port in vm template.
  • Check if there is a  "serial port" attached in the vm template.
  • Before creating the image from vm template, delete the "serial port" and create new instance.

 

Additional Information

  • In this scenario customer converted an "Working RHEL9 VM" to the vm template and as "Working RHEL9 VM" was created in VIO, the vm template exported a "serial port".