| Summary: | Unable to get Host power management options configured via rhevm-shell with Power Management Options Defined. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Sachin Raje <sraje> |
| Component: | ovirt-engine-cli | Assignee: | Juan Hernández <juan.hernandez> |
| Status: | CLOSED NOTABUG | QA Contact: | Pavel Stehlik <pstehlik> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.6.4 | CC: | fdeutsch, gklein, lsurette, rbalakri, Rhev-m-bugs, srevivo, ykaul |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-04-20 09:38:52 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Comment 1
Sachin Raje
2016-04-19 19:29:32 UTC
That command is using the support for multiple fencing agents introduced in 3.6, and then the old support for setting options for a single fencing agent, this it will never work. In addition the CLI doesn't support nested lists (the options are list inside the list of agents), see bug 977674. Since version 3.6 the correct way to do this is to first add the host, without the fencing options: # add host --name x.x.x.x --address x.x.x.x --cluster-name Default --root_password redhat --power_management-enabled true And then add the power management agent, with its options: # add fenceagent --parent-host-name x.x.x.x --order 1 --type drac7 --address 192.168.3.2 --username pm_username --password pm_password --options-option "option.name=privlvl,option.value=OPERATOR" --options-option "option.name=lanplus,option.value=1" --options-option "option.name=delay,option.value=10" --options-option "option.name=power_wait,option.value=8" |