Project

General

Profile

Actions

Bug #8320

closed

Shutdown command does not always work

Added by Lukas Zapletal about 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
BMC
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

On systems which boots/shutdowns quickly, foreman-proxy is terminated before buffer is flushed. Therefore the response body does not contain expected data.

[7] pry(main)> ::ProxyAPI::BMC.new(:url => "http://192.168.122.37:8443").power :action => "cycle" 
NoMethodError: undefined method `[]' for true:TrueClass
from /home/lzap/work/foreman/lib/proxy_api/bmc.rb:57:in `power'
Actions

Also available in: Atom PDF