Failed to create virtual machine... guest operating not supported

41 views
Skip to first unread message

Hiero-nymo

unread,
Nov 17, 2020, 5:42:15 AM11/17/20
to Ansible Project
Hi All,

I'm using the role vmware_guest to create virtual machine in both vCenter environments:  a Test and a Prod. This role use a template with CentOS 8 and it is the same on both vCenters.
All is running fine in Test but not in Prod.
I recevied the following error:

fatal: [x.x.x.x]: FAILED! => {"changed": false, "msg": "Failed to create a virtual machine : Customization of the guest operating system 'otherGuest64' is not supported in this configuration. Microsoft Vista (TM) and Linux guests with Logical Volume Manager are supported only for recent ESX host and VMware Tools versions. Refer to vCenter documentation for supported configurations."}

vCenter Version: 6.7.0.45000 
Ansible Version: 2.9.10

I've tried to use the vmware_guest_id but nothing changed.

How can I troubleshooting this issue? In logs nothing special appends.
As someone seen already this problem?

Best regard,
H

Dick Visser

unread,
Nov 17, 2020, 5:55:26 AM11/17/20
to ansible...@googlegroups.com
Looks pretty much like your environments are not equal after all.
As the error says, it may be down to the ESX version and/tools version(s).
Are those recent enough in both environments?
> --
> You received this message because you are subscribed to the Google Groups "Ansible Project" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/dfe4a92b-1096-482b-97ed-33ffdaf91c06n%40googlegroups.com.



--
Dick Visser
Trust & Identity Service Operations Manager
GÉANT

Hiero-nymo

unread,
Nov 17, 2020, 9:11:39 AM11/17/20
to Ansible Project
Thanks for your reply. The vmware guy told me that both ESX are identical. Version 6.7
The error message show that: ....the guest operating system 'otherGuest64' is wrong. 
Do you know where this value is configured? I can't find it in ESX or in template? 

Best regards,
H

Dick Visser

unread,
Nov 17, 2020, 12:06:43 PM11/17/20
to ansible...@googlegroups.com
On Tue, 17 Nov 2020 at 15:11, Hiero-nymo <jer.m...@gmail.com> wrote:
>
> Thanks for your reply. The vmware guy told me that both ESX are identical. Version 6.7
> The error message show that: ....the guest operating system 'otherGuest64' is wrong.
> Do you know where this value is configured? I can't find it in ESX or in template?

No, but it seems a VMware/ESX/etc configuration issue, and not an ansible one.
Just to make sure - what does your ansible playbook look like?

Abhijeet Kasurde

unread,
Nov 17, 2020, 11:21:38 PM11/17/20
to ansible...@googlegroups.com

Also, like Dick said please share your playbook.

--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.


--
Thanks,
Abhijeet Kasurde

Hiero-nymo

unread,
Nov 18, 2020, 4:09:36 AM11/18/20
to Ansible Project
Thanks for your help. You'll right the issue was on ESX. After some research I've seen that an option was not configured in ESX CentOS template. Now, it's fine and running well.

Thanks and best regards,
H
Reply all
Reply to author
Forward
0 new messages