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

plugin does not correctly detect auto-attach failures... #124

Open
kristvanbesien opened this issue Mar 17, 2017 · 0 comments
Open

plugin does not correctly detect auto-attach failures... #124

kristvanbesien opened this issue Mar 17, 2017 · 0 comments

Comments

@kristvanbesien
Copy link

By default the plugin will do an autoattach. If this fails, the plugin just prompts again for a username and password, giving the wrong impression about why the registration failed.

Long version:

So when doing a "vagrant up" I get prompted for username and password, and then after a longish pause I get "Invalid username/password. Try again". I type it again, and after another pause get prompted again...

To see what was going on I ssh-ed in to may vagrant box and I could subscribe manually, but if I do subscription-manager attach --auto I get
"Unable to find available subscriptions for all your installed products."

And this I got after a pause that was more or less the same duration as I got earlier.
So I assume that this is what is causing the registration to fail.

Adding:

config.registration.auto_attach = false
config.registration.pools = ['']

to my vagrant file made the problem go away.

So my conclusion is that the registration failed because autoattach failed. In that case it would be nice if the plugin would respond with a better error message.

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