Project

General

Profile

Bug #13430

virt power manager is missing reboot action

Added by Timo Goebel over 3 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Power management
Target version:
Difficulty:
easy
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

When rebooting a vm via power manager, this fails:

| TypeError: nil is not a symbol
| /Users/f0218175/foremandev/foreman/app/services/power_manager/virt.rb:25:in `block (2 levels) in <class:Virt>'

The action map in app/services/power_manager/virt.rb is missing "reboot".


Related issues

Has duplicate Foreman - Bug #11642: Fetching host power state using "power_action": "status" fails for VMsDuplicate2015-09-01

Associated revisions

Revision 1bf5ff53 (diff)
Added by Timo Goebel over 3 years ago

fixes #13430 - add missing actions to virt power manager

When rebooting a vm via power manager, this fails:

| TypeError: nil is not a symbol | /Users/f0218175/foremandev/foreman/app/services/power_manager/virt.rb:25:in
`block (2 levels) in <class:Virt>'

The action map in app/services/power_manager/virt.rb is missing
"reboot".

Revision e9aaaf29 (diff)
Added by Timo Goebel over 3 years ago

fixes #13430 - add missing actions to virt power manager

When rebooting a vm via power manager, this fails:

| TypeError: nil is not a symbol | /Users/f0218175/foremandev/foreman/app/services/power_manager/virt.rb:25:in
`block (2 levels) in <class:Virt>'

The action map in app/services/power_manager/virt.rb is missing
"reboot".

(cherry picked from commit 1bf5ff536572e0209095532d7f5c7dd986d2aa19)

Revision f2ce2398 (diff)
Added by Dominic Cleal over 3 years ago

refs #13430, #13236 - backport REAL_ACTIONS from 8ca6c6b

History

#1 Updated by The Foreman Bot over 3 years ago

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

#2 Updated by Dominic Cleal over 3 years ago

  • Legacy Backlogs Release (now unused) set to 123

#3 Updated by Anonymous over 3 years ago

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

#4 Updated by Dominic Cleal over 3 years ago

  • Has duplicate Bug #11642: Fetching host power state using "power_action": "status" fails for VMs added

#5 Updated by Bryan Kearney over 3 years ago

  • Bugzilla link set to 1211376

Also available in: Atom PDF