allow additional rubyipmi connection options to be passed through
Also no power/reboot button available
#1 Updated by Joshua Hoblitt almost 7 years ago
I've encountered this error message as well with
1.6.3 and likely earlier releases. I'm not sure if this is the only way to get the error message but I've been able to reproduce it by both setting an incorrect password on the bmc interface and changing the password on the bmc via ipmi.
#5 Updated by Jorick Astrego almost 7 years ago
I think it has to do with the privilege level (-L <privlvl>]). My co-worker has added the ipmi users as "OPERATOR" instead of the all mighty "ADMINISTRATOR" privilege. This is good as it is not very secure to use the admin user for these things. I tested with an admin account and it works fine.
-L <privlvl> Force session privilege level. Can be CALLBACK, USER, OPERATOR, ADMINISTRATOR. Default is ADMINISTRATOR.
So I tried modifiying "/usr/lib/ruby/gems/1.8/gems/rubyipmi-0.7.0/lib/rubyipmi/ipmitool/connection.rb"
# default to IPMI 2.0 communication, this means that older devices will not work # Those old servers should be recycled by now, as the 1.0, 1.5 spec came out in 2005ish and is 2013. @options["L"] = "Operator" @options["I"] = "lanplus"
But that doesn't help. Anything else I have to modify to make this work?
#7 Updated by Corey Osman over 6 years ago
Rubyipmi 0.8.1 supports passing in the privilege type, but you would need to expose this to the UI or make it a setting in the smart-proxy bmc settings file. Additionally, if we know the exact error message from the impi provider we can actually have rubyipmi react to the error message and try a different privilege type. It might be worth while to add a test connection function to rubyipmi and even additionally pass back a supported list of commands given the privilege type. I suspect the privilege type will change from host to host depending on manufacture of system.
#8 Updated by Corey Osman over 6 years ago
- Subject changed from "Failure: undefined method `downcase' for nil:NilClass" error on BMC tab of host to allow additional rubyipmi connection options to be passed through
Because of how the smart proxy current connection setup is established we are not allowing all the options to be passed through for additional configurations like privilege level. Allowing a arbitrary set of options allows anyone to pass additional connection settings to Rubyipmi.