Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1076705 - RHEV 3.3 rhevm-shell can't change cluster policy to a custom policy
RHEV 3.3 rhevm-shell can't change cluster policy to a custom policy
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-restapi (Show other bugs)
3.3.0
Unspecified Unspecified
medium Severity medium
: ---
: 3.5.0
Assigned To: Gilad Chaplik
Lukas Svaty
sla
:
Depends On: 1062435 1108601 1108602
Blocks: rhev3.5beta 1156165
  Show dependency treegraph
 
Reported: 2014-03-14 16:56 EDT by Dave Sullivan
Modified: 2016-02-10 15:18 EST (History)
19 users (show)

See Also:
Fixed In Version: ovirt-engine-3.5.0_beta
Doc Type: Bug Fix
Doc Text:
Previously, the Red Hat Enterprise Virtualization Manager Command Line Interface (rhevm-shell), which is built on top of the Python SDK, did not support assigning custom scheduling policies to a cluster. The same limitation existed in the REST API. Now, custom scheduling policies can be assigned using a reference, by name or by ID, to the new '/schedulingpolicies' collection. The new options are '--scheduling_policy-name' and '--scheduling_policy-id'. The example below assigns a custom policy (by ID) to 'mycluster': # update cluster mycluster --scheduling_policy-id 00000000-0000-0000-0000-000000000000
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-02-11 12:59:11 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: SLA
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 28093 master MERGED restapi: Introducing Scheduling Policy API Never
Red Hat Product Errata RHSA-2015:0158 normal SHIPPED_LIVE Important: Red Hat Enterprise Virtualization Manager 3.5.0 2015-02-11 17:38:50 EST

  None (edit)
Comment 1 Juan Hernández 2014-03-17 05:45:26 EDT
This root cause of this issue is this oVirt bug 1071872.
Comment 3 Lukas Svaty 2014-08-12 08:08:09 EDT
VERIFIED in ovirt-rc1

verification steps:
1. Log to WA portal
2. Create new policy with name "foo"
3. on local machine:
curl -X PUT -H "Accept: application/xml" -H "Content-Type: application/xml" -u admin@internal:123456 --cacert ca.crt -d "<cluster><scheduling_policy><name>foo</name></scheduling_policy></cluster>" https://super.secret.address.dot:443/api/clusters/00000001-0001-0001-0001-000000000349
4. refresh cluster tab (it might be necessary to wait for few seconds) and see in cluster edit tab changed policy
Comment 6 errata-xmlrpc 2015-02-11 12:59:11 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.

https://rhn.redhat.com/errata/RHSA-2015-0158.html

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