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 #1

Updated by The Foreman Bot about 10 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/235 added
  • Pull request deleted ()
Actions #2

Updated by Lukas Zapletal about 10 years ago

  • Target version set to 1.7.2
  • Translation missing: en.field_release set to 27

Dom any chance of scheduling this in 1.6 errata if any? I'd love to fix discovery 2.0 image (1.6 based).

Actions #3

Updated by Anonymous about 10 years ago

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

Also available in: Atom PDF