Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: new_user_id() fails to get users #35

Open
khaefeli opened this issue Jan 3, 2018 · 0 comments
Open

Bug: new_user_id() fails to get users #35

khaefeli opened this issue Jan 3, 2018 · 0 comments

Comments

@khaefeli
Copy link
Contributor

khaefeli commented Jan 3, 2018

Board: Intel
OS: Debian 8.10
Packages:

  • ipmitool 1.8.14-4
  • libopenipmi0 2.0.16-1.4
  • openipmi 2.0.16-1.4

The function new_user_id() fails to create / assign an ID for the new users on my Intel board, because there is no user (probably default on other systems) Empty .

user = users.find {|user| user[:name] =~ /Empty/i } || users.find {|user| !user[:enabled] } 
   ipmitool user list 1
   ID  Name	     Callin  Link Auth	IPMI Msg   Channel Priv Limit
   1                    false   false      true       ADMINISTRATOR
   2   root             false   true       true       ADMINISTRATOR
   4   test2            false   false      true       ADMINISTRATOR

if I create the user Empty over the UI manually, it fails with another error:

Error: /Stage[main]/Profile::Ipmi/Bmcuser[root2]/ensure: change from 'absent' to 'present' failed: Execution of '/usr/bin/ipmitool user priv 3 4 3' returned 1: Set Privilege Level command failed (user 3): Invalid data field in request
(but that's maybe related a wrong resource on my side)

@khaefeli khaefeli mentioned this issue Jan 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant