Description of problem:
'hammer compute-resource create' command doesn't support specifying Quota ID as WebUI does.
Version-Release number of selected component (if applicable):
Tested with Sat6.4, Hammer 0.13.0
Steps to Reproduce:
hammer compute-resource create --help | grep -i quota
No --quota or similar parameter
Quota should be specifiable
Created redmine issue http://projects.theforeman.org/issues/23976 from this bug
Upstream bug assigned to email@example.com
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/23976 has been resolved.
FailedQA with Sat 6.4 snap 12.
The Quota isn't set by either 'hammer create' or 'hammer update'. The field is left empty. This might be caused by bug 1583243 still not being fixed. Anyway, the result is that the Quota can't be set by Hammer in the current snap -> failed.
^ I mean bug 1501927
When: https://bugzilla.redhat.com/show_bug.cgi?id=1501927 is merged I suggest to move this to ON_QA again.
Moving to on_qa because the bug it depends on is also on_qa.
Please note - ovirt-quota expects an id and not a name.
There is an RFE to change that but this is currently the expected behavior.
Verified with Sat 6.6 snap 4.
It is possible to set Quota for a new CR, it is possible to update Quota in an existing CR. It is possible not to set any Quota (so default Quota is used).
To get Quota ID, I ran ovirt-shell in the RHEV server's command line and inside, I ran "list quotas --parent-datacenter-name <datacenter-name>".
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.