-
Notifications
You must be signed in to change notification settings - Fork 683
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
inspec login fails #793
Comments
@YarNhoj With the latest version of Chef Compliance the login method via username/password is not supported anymore. We upgraded the authentication to a proper OpenID Connect systems. Try: Also have a look here: #690 |
@YarNhoj is that still an issue? |
Sorry I'm travelling on an engagement. I'll test it from the hotel tonight. Thanks! |
Works great, It still throws a warning that says |
Thanks @YarNhoj for the feedback. We'll fix the false message. |
Description
The inspec login command fails w/
legacy_login_post': undefined method
send_request' for Compliance::API:Class (NoMethodError)InSpec and Platform Version
inspec version 0.23
inspec version 0.25.0
HOST
VM
Vagrantfile
Replication Case
vagrant init bento/centos-6.7
vagrant ssh
sudo su -
wget https://packages.chef.io/stable/el/6/chef-compliance-1.3.1-1.el6.x86_64.rpm
rpm -Uvh chef-compliance-1.3.1-1.el6.x86_64.rpmh
chef-compliance-ctl reconfigure
Log in and run through the setup
inspec compliance login server_name --user=username --password=password
Possible Solutions
This looks like a regression from 689?
Stacktrace
The text was updated successfully, but these errors were encountered: