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:
Created attachment 1038830 [details] BMC feature is enabled on default capsule
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,
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.
*** This bug has been marked as a duplicate of bug 1206361 ***