Bug #17476

bmc power actions should return true when result is ok

Added by Timo Goebel about 1 year ago. Updated about 1 year ago.

Status:Closed
Priority:Normal
Assigned To:Timo Goebel
Category:BMC
Target version:-
Difficulty: Bugzilla link:
Found in release: Pull request:https://github.com/theforeman/foreman/pull/4050
Story points-
Velocity based estimate-
Release1.13.3Release relationshipAuto

Description

When using freeipmi and power cycling a host, smart proxy returns:

"{\"action\":\"cycle\",\"result\":\"111.111.111.111: ok\\n\"}"

The proxy lib however expects the result to be "true".


Related issues

Related to Foreman - Bug #11127: Host Build and Reboot shows template error when reboot fails Closed 07/15/2015

Associated revisions

Revision 01ffb230
Added by Timo Goebel about 1 year ago

fixes #17476 - bmc power actions have correct status

Revision b0896a23
Added by Timo Goebel about 1 year ago

fixes #17476 - bmc power actions have correct status

(cherry picked from commit 01ffb230bac33230983f15d580a0be9ae1553275)

Revision bab8bf60
Added by Timo Goebel 12 months ago

fixes #17476 - bmc power actions have correct status

(cherry picked from commit 01ffb230bac33230983f15d580a0be9ae1553275)

History

#1 Updated by Timo Goebel about 1 year ago

  • Subject changed from bmc power actions should return true when action is on to bmc power actions should return true when result is ok

#2 Updated by The Foreman Bot about 1 year ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4050 added

#3 Updated by Timo Goebel about 1 year ago

  • Related to Bug #11127: Host Build and Reboot shows template error when reboot fails added

#4 Updated by Timo Goebel about 1 year ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#5 Updated by Dominic Cleal about 1 year ago

  • Release set to 1.13.3

Also available in: Atom PDF