Description of problem: For data protection, the RHV-M is registered using the DNS name or IP for RHV-M along with the credentials which are used with the REST API calls. Because a RHV-M may have more then one DNS name potentially, one or more IPs, the same RHV-M can potentially be registered within the data protection system more then once as there is no way to verify uniqueness of the RHV-M. Almost everything within RHV-M has a unique ID/UUID, however there seems to be no UUID specific to just the Deployment/Install of RHV-M that can be used/keyed off to ensure uniqueness and prevent RHV-M from being registered more then once using different DNS names or IPs addresses. The ask is to provide a UUID via REST API for the Deployment/Install that will be unique for each Deployment/Install of RHV-M. The UUID should be accessible via the REST API calls e.g. /ovirt-engine/api Perhaps added within the <product_info></product_info> or somewhere else, does not matter to much as long as the UUID can be found via REST API call. How reproducible: 100% reproducible Steps to Reproduce: 1. No indication in the API documentation for how to get a UUID for a RHV-M. 2. 3.
does this need to be a private bug? You would still see it when public...
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.
(In reply to Michal Skrivanek from comment #1) > does this need to be a private bug? You would still see it when public... I am making it private,thanks for noticing. Best, Pavan.
ah, sorry, I meant it the other way around. There's no customer details anywhere so I was suggesting to make it a simple public bug
patch submitted for ovirt-engine-api-model https://gerrit.ovirt.org/#/c/111481/ another patch will soon follow for ovirt-engine
Verified on: ovirt-engine-4.4.3.8-0.1.el8ev.noarch Steps: 1. curl -k -u admin@internal:<psswd> https://<engine-fqdn>/ovirt-engine/api/ | grep '<product_info' -A 10 <product_info> <instance_id>1a787f22-17a4-11eb-98e1-001a4a013f1f</instance_id> <name>Red Hat Virtualization Manager</name> <version> <build>3</build> <full_version>4.4.3.8-0.1.el8ev</full_version> <major>4</major> <minor>4</minor> <revision>0</revision> </version> </product_info> Results: UID of RHV-M deployment <instance_id> present on API on product_info
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 (Low: Red Hat Virtualization security, bug fix, and enhancement 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-2020:5179