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

Change the boot disk to be first in boot order for ubuntu 23.04 desktop after deploy_vm #473

Merged
merged 3 commits into from
Jun 15, 2023

Conversation

ZouYuhua
Copy link
Collaborator

@ZouYuhua ZouYuhua commented Jun 14, 2023

Issue:
The cdrom is the first boot disk in boot order when create VM with firmware efi and install guestOS with ubuntu 23.04 desktop iso.

So it will hit the following issue if we mount iso and then reboot VM:

2023-04-22 03:48:04,022 | TASK [3_vmlibrary_main][Check VMware Tools is running and collects guest IPv4 address successfully]
task path: /home/worker/workspace/Create_New_VMLibrary_Template/ansible-vsphere-gos-validation/common/vm_wait_guest_ip.yml:49
fatal: [localhost]: FAILED! => {
"assertion": "vm_guestinfo.instance.guest.toolsRunningStatus == "guestToolsRunning"",
"changed": false,
"evaluated_to": false,
"msg": [
"It's timed out for VMware Tools collecting guest IPv4 address in 300 seconds.",
"VMware Tools running status is 'guestToolsNotRunning'.",
"VM's IP address in guest info is ''.",
"VM's all IP addresses in guest info are '[]'."
]
}
error message:
It's timed out for VMware Tools collecting guest IPv4 address in 300 seconds.
VMware Tools running status is 'guestToolsNotRunning'.
VM's IP address in guest info is ''.
VM's all IP addresses in guest info are '[]'.

Resolution:
Change the boot disk to be first in boot order for ubuntu 23.04 desktop

Test result:
passed to reboot VM after mount ISO to CD/DVD. it won't hit the upper issue

ZouYuhua added 3 commits June 14, 2023 14:13
Copy link
Contributor

@keirazhang keirazhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

linux/deploy_vm/deploy_vm_from_iso.yml Outdated Show resolved Hide resolved
@ZouYuhua ZouYuhua merged commit 5ad2fb3 into vmware:main Jun 15, 2023
@keirazhang keirazhang added this to the v3.0 milestone Jun 26, 2023
@ZouYuhua ZouYuhua deleted the zouy_ubuntu_set_boot_order branch June 28, 2023 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants