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

tools/appsre-ansible: retry subscribing rpmbuild machines #4317

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

croissanne
Copy link
Member

@croissanne croissanne commented Aug 21, 2024

Also unsubscribe after the build is done.


Packer builds are failing with

10:18:52 TASK [Subscribe] ***************************************************************
10:19:18 fatal: [44.203.59.246]: FAILED! => {"changed": false, "cmd": "/sbin/subscription-manager register --org **** --activationkey VALUE_SPECIFIED_IN_NO_LOG_PARAMETER", "msg": "Remote server error. Please check the connection details, or see /var/log/rhsm/rhsm.log for more information.", "rc": 70, "stderr": "Remote server error. Please check the connection details, or see /var/log/rhsm/rhsm.log for more information.\n", "stderr_lines": ["Remote server error. Please check the connection details, or see /var/log/rhsm/rhsm.log for more information."], "stdout": "", "stdout_lines": []}

sometimes. Let's just retry like we do in the other playbook.

Also unsubscribe after the build is done.
@croissanne croissanne merged commit 9fcbcdb into osbuild:main Aug 21, 2024
16 of 49 checks passed
@croissanne croissanne deleted the sub-unsub branch August 21, 2024 11:42
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

Successfully merging this pull request may close these issues.

2 participants