Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2225402 - Associating a host with an VM with added "Precision Clock Device" on Satellite fails with error unknown VMODL type VirtualPrecisionClock [NEEDINFO]
Summary: Associating a host with an VM with added "Precision Clock Device" on Satellit...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Compute Resources - VMWare
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 6.14.0
Assignee: satellite6-bugs
QA Contact: sganar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-25 08:53 UTC by Jayant Bhatia
Modified: 2023-11-08 14:20 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-08 14:20:07 UTC
Target Upstream Version:
Embargoed:
rlavi: needinfo?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-19134 0 None None None 2023-07-25 11:18:02 UTC
Red Hat Product Errata RHSA-2023:6818 0 None None None 2023-11-08 14:20:21 UTC

Description Jayant Bhatia 2023-07-25 08:53:31 UTC
Description of problem:

Compute resource VMware

While trying to associate a host with an VM with added "Precision Clock Device" the following error occurred: unknown VMODL type VirtualPrecisionClock


Version-Release number of selected component (if applicable): All Satellite versions


This could be observed because of some missing "Data Types" in the vmodl.db in the Satellite ruby interface for vSphere API (rubygem-rbvmomi). The problem is reported for vSphere Version 7.0.3 Build: 20990077. 

VMWare documentation: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.vm_admin.doc/GUID-4E6AE904-75C6-475F-8732-07E4542D7798.html

Similar issue with missing data types: https://github.com/vmware-archive/rbvmomi/issues/208

Comment 4 Sayan Das 2023-07-27 07:41:45 UTC
Reproducer steps shared by the end-user :

New virtual machine:
 1. Create New Virtual Maschine (From vSphere Web-Client)
	Guest OS Family:  	Linux
	Guest OS Version:	Red Hat Enterprise Linux 8 (64-bit)
	Compatibility: 		ESXi 7.0 U2 and later
	
	Customize hardware -> Add new device -> Precision CLock (Host System Time NTP)
	-> Build VM


2. Create Host (From RH Satellite)
3. Compute Resources -> Virtual Maschines -> Associate VM 

---> Results in error: "Oops, we're sorry but something went wrong unknown VMODL type VirtualPrecisionClock"


Existing virtual machine:

Modify hardware ((From vSphere Web-Client))
1. Add new device -> Precision CLock (Host System Time NTP)

2. All hosts -> VM Hostname -> Edit 

---> Results in error: "Oops, we're sorry but something went wrong unknown VMODL type VirtualPrecisionClock"

Comment 14 sganar 2023-10-25 12:50:06 UTC
Verified.

Tested on Satellite 6.14.0 Snap 21.0
rubygem-rbvmomi2-3.6.1-1.el8sat.noarch

Steps followed: 
1. Create a VMware CR
2. Go to Infrastructure > Compute  Resources > select the created CR > Virtual machines
3. Select Import as managed host > disassociate host  and  try to Associate VM 

Observation: 
Everything works perfectly. No issues were observed while associating or importing the VM.

Comment 20 errata-xmlrpc 2023-11-08 14:20:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.14 security and bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:6818


Note You need to log in before you can comment on or make changes to this bug.