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

openshift_terraform RHSM error handling #45

Open
jvanmeter opened this issue Oct 2, 2018 · 0 comments
Open

openshift_terraform RHSM error handling #45

jvanmeter opened this issue Oct 2, 2018 · 0 comments

Comments

@jvanmeter
Copy link
Contributor

The registration logic needs to be enhanced to provide better handling of different error conditions. For example this error is ignored when it should error, because this activation key did not have a subscription attached.

TASK [openshift.prereq : Register host via Activation key] ***********************************
fatal: [node.0.dca-ocp101.redhatgov.io]: FAILED! => {"changed": false, "cmd": "/sbin/subscription-manager register --org 11294799 --activationkey VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "msg": "None of the subscriptions on the activation key were available for attaching.", "rc": 70, "stderr": "None of the subscriptions on the activation key were available for attaching.\n", "stderr_lines": ["None of the subscriptions on the activation key were available for attaching."], "stdout": "", "stdout_lines": []}
...ignoring

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