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

[Bug] [Linux] instant clone failed due to existing device 'Serial port 1' on VM in test case pvrdma_network_device_ops #416

Open
Tomorrow9 opened this issue Jan 18, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Tomorrow9
Copy link
Member

Tomorrow9 commented Jan 18, 2023

SUMMARY

Need check serial port

2023-01-18 07:45:58,018 | Failed at Play [pvrdma_network_device_ops] *****************

2023-01-18 07:45:58,018 | TASK [pvrdma_network_device_ops][Instant Clone a VM from 'rhel9_ansible_test']
task path: /root/ansible-vsphere-gos-validation/common/vm_instant_clone.yml:19
fatal: [localhost]: FAILED! => {
    "changed": false,
    "msg": "(\"Virtual machine is configured to use a device that prevents the operation: Device 'Serial port 1' is not suppo
rted. \", None)"
}
error message:
("Virtual machine is configured to use a device that prevents the operation: Device 'Serial port 1' is not supported. ", None
)

Also check CDROM

2023-01-19 01:33:12,019 | Failed at Play [pvrdma_network_device_ops] *****************

2023-01-19 01:33:12,019 | TASK [pvrdma_network_device_ops][Instant Clone a VM from 'rhel9_ansible_test']
task path: /root/ansible-vsphere-gos-validation/common/vm_instant_clone.yml:19
fatal: [localhost]: FAILED! => {
    "changed": false,
    "msg": "(\"Currently connected device 'CD/DVD drive 2' uses backing '[GOSV-Async-NFS] rhel8_64GuestRHEL_8_server_with_GUI
_ks-1674014175.iso', which is not accessible.\", None)"
}
error message:
("Currently connected device 'CD/DVD drive 2' uses backing '[GOSV-Async-NFS] rhel8_64GuestRHEL_8_server_with_GUI_ks-167401417
5.iso', which is not accessible.", None)
ISSUE TYPE
  • Bug Report
ANSIBLE VERSION
ansible [core 2.14.1]
  config file = None
  configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python3.10/site-packages/ansible
  ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/bin/ansible
  python version = 3.10.0 (default, Nov 16 2022, 17:54:46) [GCC 10.2.0] (/usr/bin/python3.10)
  jinja version = 3.1.2
  libyaml = True
CONFIGURATION
ENVIRONMENT / OS

vCenter and ESXi 7.0.3
RHEL 9.1

STEPS TO REPRODUCE
EXPECTED RESULTS

Test case pvrdma_network_device_ops passed

ACTUAL RESULTS

Test case pvrdma_network_device_ops failed

@Tomorrow9 Tomorrow9 added the bug Something isn't working label Jan 18, 2023
@Tomorrow9 Tomorrow9 added this to the v2.3 milestone Jan 18, 2023
@keirazhang
Copy link
Contributor

keirazhang commented Feb 3, 2023

@ZouYuhua , please help fix this issue.

  1. Before test starts, we need to check VM's datastore meets instant clone requirements. And please figure out what kind of datastore can be used for instant clone. From above error, NFS datastore can't be used for instant clone. If the datastore can't be used for instant clone, test result can be set as "Not Applicable".
  2. Before VM instant clone, we should add task to check serial port and remove it if it exists.

@keirazhang keirazhang modified the milestones: v2.3, v3.0 May 29, 2023
@keirazhang keirazhang removed this from the v3.0 milestone Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants