Bug 1231685 - Error on configuring BMC interface: Failed to fetch bmc information: ERF12-1772 [ProxyAPI::ProxyException]: Unable to perform power BMC operation
Summary: Error on configuring BMC interface: Failed to fetch bmc information: ERF12-1...
Keywords:
Status: CLOSED DUPLICATE of bug 1206361
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Ohad Levy
QA Contact: Sachin Ghai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-15 08:48 UTC by Sachin Ghai
Modified: 2017-02-23 19:55 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-15 11:22:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
on configuring BMC interface while provisioning a discovered host raises error. (48.19 KB, image/png)
2015-06-15 08:48 UTC, Sachin Ghai
no flags Details
BMC feature is enabled on default capsule (29.46 KB, image/png)
2015-06-15 08:51 UTC, Sachin Ghai
no flags Details

Description Sachin Ghai 2015-06-15 08:48:52 UTC
Created attachment 1038828 [details]
on configuring BMC interface while provisioning a discovered host raises error.

Description of problem:
I was trying to configure BMC interface. I discovered a host and while provisioning it manually, I defined a new BMC interface. As soon as I submit the edit_host form, UI raises error:

Failure: ERF12-1772 [ProxyAPI::ProxyException]: Unable to perform power BMC operation ([RestClient::BadRequest]: 400 Bad Request) for proxy https://cloud-qe-21.idmqe.lab.eng.bos.redhat.com:9090/bmc


Please note that I tried to configure BMC interface earlier with same BMC IP/credentials. It was working before.

Also BMC feature is enabled on default capsule.

production.log:
==============
2015-06-15 04:35:37 [I] Processing by HostsController#bmc as HTML
2015-06-15 04:35:37 [I]   Parameters: {"id"=>"mac5254003e2982.idmqe.lab.eng.bos.redhat.com"}
2015-06-15 04:35:37 [I]   Rendered hosts/_bmc.html.erb (88.0ms)
2015-06-15 04:35:37 [W] Failed to fetch bmc information: ERF12-1772 [ProxyAPI::ProxyException]: Unable to perform power BMC operation ([RestClient::BadRequest]: 400 Bad Request) for proxy https://cloud-qe-21.idmqe.lab.eng.bos.redhat.com:9090/bmc
2015-06-15 04:35:37 [I]   Rendered text template (0.0ms)
2015-06-15 04:35:37 [I] Completed 200 OK in 103ms (Views: 0.4ms | ActiveRecord: 1.0ms)



Version-Release number of selected component (if applicable):
sat6.1 GA snap8 (RC1)

How reproducible:
always

Steps to Reproduce:
1. discover a host
2. provsion it with BMC interface
3.

Actual results:
Failure: ERF12-1772 [ProxyAPI::ProxyException]: Unable to perform power BMC operation ([RestClient::BadRequest]: 400 Bad Request) for proxy https://cloud-qe-21.idmqe.lab.eng.bos.redhat.com:9090/bmc

Expected results:
BMC interface should be configured successfully and user should be able to perform power operations

Additional info:

Comment 2 Sachin Ghai 2015-06-15 08:51:25 UTC
Created attachment 1038830 [details]
BMC feature is enabled on default capsule

Comment 4 Sachin Ghai 2015-06-15 09:37:54 UTC
Logs from proxy.log:
======================

10.16.96.140 - - [15/Jun/2015 04:10:25] "PUT /discovery/192.168.100.17/reboot HTTP/1.1" 200 32 0.0166
E, [2015-06-15T04:10:28.006148 #9413] ERROR -- : undefined method `logger=' for Rubyipmi:Module
10.16.96.140 - - [15/Jun/2015 04:10:28] "GET /bmc/10.35.19.35/chassis/power/status HTTP/1.1" 400 46 0.0255
E,

Comment 5 Lukas Zapletal 2015-06-15 11:22:29 UTC
This is actually a regression introduced by 1206361. The bug FAILED_QA, I recommend to close this one.

Sachin I have upgraded the RPM package on your instance so you can continue testing BMC.

Comment 6 Lukas Zapletal 2015-06-15 11:22:47 UTC

*** This bug has been marked as a duplicate of bug 1206361 ***


Note You need to log in before you can comment on or make changes to this bug.