Bug 1825020 - [RFE] RHV-M Deployment/Install Needs it's own UUID
Summary: [RFE] RHV-M Deployment/Install Needs it's own UUID
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.4.0
Hardware: All
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.4.3
: ---
Assignee: Ori Liel
QA Contact: Guilherme Santos
URL:
Whiteboard:
Depends On:
Blocks: 1691340 1825231
TreeView+ depends on / blocked
 
Reported: 2020-04-16 20:54 UTC by JW
Modified: 2020-11-24 13:09 UTC (History)
5 users (show)

Fixed In Version: ovirt-engine-4.4.3.8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-24 13:09:21 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:5179 0 None None None 2020-11-24 13:09:46 UTC
oVirt gerrit 111481 0 master MERGED Add ID of oVirt Installation. 2020-11-02 16:02:53 UTC
oVirt gerrit 111529 0 master MERGED Upgrade to model 4.4.19, Metamodel 1.3.3 2020-11-02 16:02:35 UTC
oVirt gerrit 111776 0 master MERGED Add Support for UUID of oVirt Instance 2020-11-02 16:02:37 UTC
oVirt gerrit 111801 0 None MERGED restapi: fix product info instance id 2020-11-02 16:02:35 UTC

Description JW 2020-04-16 20:54:04 UTC
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.

Comment 1 Michal Skrivanek 2020-04-17 06:30:21 UTC
does this need to be a private bug? You would still see it when public...

Comment 2 RHEL Program Management 2020-04-17 06:30:29 UTC
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.

Comment 3 Pavan Chavva 2020-04-17 12:19:39 UTC
(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.

Comment 4 Michal Skrivanek 2020-06-03 07:33:56 UTC
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

Comment 5 Ori Liel 2020-10-05 11:17:28 UTC
patch submitted for ovirt-engine-api-model

  https://gerrit.ovirt.org/#/c/111481/

another patch will soon follow for ovirt-engine

Comment 10 Guilherme Santos 2020-10-26 16:34:47 UTC
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

Comment 15 errata-xmlrpc 2020-11-24 13:09:21 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 (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


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