Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 883120 - [RFE] Ability to associate VMs with a pool in the engine and DWH
[RFE] Ability to associate VMs with a pool in the engine and DWH
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-dwh (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity medium
: ---
: 3.3.0
Assigned To: Yaniv Lavi
Barak Dagan
infra
: FutureFeature
Depends On:
Blocks: 880586 1019470
  Show dependency treegraph
 
Reported: 2012-12-03 15:09 EST by Dan Yasny
Modified: 2016-02-10 14:18 EST (History)
13 users (show)

See Also:
Fixed In Version: rhevm-dwh-3.3.0-5.el6ev.noarch.rpm
Doc Type: Enhancement
Doc Text:
Virtual machine pool names and ids are now saved to virtual machine configuration tables and can be reported on via ad hoc domains.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-01-21 09:58:32 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Infra
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 16564 None None None Never
oVirt gerrit 16839 None None None Never
Red Hat Product Errata RHBA-2014:0036 normal SHIPPED_LIVE rhevm-dwh 3.3 bug fix and enhancement update 2014-01-21 14:53:35 EST

  None (edit)
Description Dan Yasny 2012-12-03 15:09:45 EST
Description of problem:
Required by Bug 880586 - [RFE] Report Peak num of VMs running per pool per time

We need a simple method of performing VM lookups per pool, without relying on VM names, so we can gather pool stats in reports (as per some customer requirements)
Comment 1 Omer Frenkel 2013-06-12 07:25:35 EDT
it is possible to search vms by pool name ("VMS: pool = somePool")
does this answer the requirement? if not, can you please elaborate on what exactly requested?
Comment 2 Andrew Cathrow 2013-06-17 09:59:57 EDT
(In reply to Omer Frenkel from comment #1)
> it is possible to search vms by pool name ("VMS: pool = somePool")
> does this answer the requirement? if not, can you please elaborate on what
> exactly requested?

This is for dwh not in the UI so no.
Comment 3 Yaniv Lavi 2013-06-25 10:15:40 EDT
In the vm pools table we have the following values:
pool id,
pool name,
pool description,
pool type,
parameters,
cluster id,
prestarted vms,
max assigned vms per user

I'm not sure what have these are used and what are not.
I plan to add pool id to vm configuration history. The option is either to add a separate configuration history table and a history version to vm configuration or not.

Simon, what do we want to keep?
Yair, do you know what is used and what is not?
Comment 4 Yair Zaslavsky 2013-06-26 06:33:44 EDT
max_assigned_vms_per_user is the maximum number of VMs a user can be associated with from this pool.
name and decription are obvious .
PoolType-  I think only Automatic and Manual are relevant.
Parameters - not relevant if not time lease pool, and as I said, IIRC - this is not relevant any more.

prestarted vms is the number of vms pre started , IIRC.

You also have a relation table - vm_pool_map you did not take into consideration.
Does this provide you more info?

Omer, did i forget something here?
Comment 5 Omer Frenkel 2013-06-30 07:08:49 EDT
> Omer, did i forget something here?

no
Comment 6 Barak 2013-06-30 09:36:13 EDT
In order to answer the above question (comment #3), we need to understand:

- what are the reports that we would like to enable ?
- what happens on corner cases (VM was removed from pool ...)

Andrew ?
Comment 12 Barak Dagan 2013-11-12 12:24:44 EST
verified on is21:

rhevm-reports-3.3.0-19.el6ev.noarch
jasperreports-server-pro-5.5.0-4.el6ev.noarch
rhevm-dwh-3.3.0-19.el6ev.noarch


psql -U postgres -d ovirt_engine_history -c "select vm_pool_id, vm_pool_name from vm_configuration where vm_pool_id is not null;"
could not change directory to "/root"
              vm_pool_id              | vm_pool_name 
--------------------------------------+--------------
 9d95b43d-fbea-42f7-88ca-c708d0eac3fb | pool1
 9d95b43d-fbea-42f7-88ca-c708d0eac3fb | pool1
 9d95b43d-fbea-42f7-88ca-c708d0eac3fb | pool1
 9d95b43d-fbea-42f7-88ca-c708d0eac3fb | pool1
 9d95b43d-fbea-42f7-88ca-c708d0eac3fb | pool1
 9d95b43d-fbea-42f7-88ca-c708d0eac3fb | pool1
 77f17c61-56c8-4985-b7f4-1cda87f22b1d | pool2
 77f17c61-56c8-4985-b7f4-1cda87f22b1d | pool2
 77f17c61-56c8-4985-b7f4-1cda87f22b1d | pool2
Comment 13 Charlie 2013-11-27 19:55:22 EST
This bug is currently attached to errata RHEA-2013:15116. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to 
minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes 

Thanks in advance.
Comment 15 errata-xmlrpc 2014-01-21 09:58:32 EST
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, and where to find the updated
files, follow the link below.

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

http://rhn.redhat.com/errata/RHBA-2014-0036.html

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