GitHub user VectorPeak added a comment to the discussion: Table 
guest_os_hypervisor (and/or guest_os) mixed up?

The screenshots do look like the VMware mappings are crossed: the Ubuntu guest 
OS row is resolving to `mandrakeGuest`, while the Mandriva row is resolving to 
`ubuntu64Guest`. That would explain why changing the VM to “Mandriva Linux” 
makes VMware receive the Ubuntu guest type.

Safer to verify/fix by name rather than by numeric ids:

```sql
select go.id, go.display_name, goh.hypervisor_type, goh.guest_os_name
from guest_os go
join guest_os_hypervisor goh on go.id = goh.guest_os_id
where goh.hypervisor_type = 'VMware'
 and (go.display_name like '%Ubuntu%' or go.display_name like '%Mandriva%')
order by go.display_name, goh.guest_os_name;
```

If those two are swapped in your DB, the correction should be on 
`guest_os_hypervisor`, not by changing the VM to Mandriva as a workaround. For 
example, update the VMware mapping so the Ubuntu `guest_os_id` points to 
`ubuntu64Guest` and Mandriva points to `mandrakeGuest`.


GitHub link: 
https://github.com/apache/cloudstack/discussions/13511#discussioncomment-17479618

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to