Running sudo rbac-playbook groups/retrace.yml -l retrace-stg.aws.fedoraproject.org on batcave01 fails with on the task "ipa/client : Enroll system as IPA client" with the following error:
sudo rbac-playbook groups/retrace.yml -l retrace-stg.aws.fedoraproject.org
TASK [ipa/client : Enroll system as IPA client] *********************************************** Thursday 03 June 2021 10:25:20 +0000 (0:00:00.653) 0:02:18.855 ********* Thursday 03 June 2021 10:25:20 +0000 (0:00:00.653) 0:02:18.855 ********* fatal: [retrace-stg.aws.fedoraproject.org]: FAILED! => {"changed": true, "cmd": ["ipa-client-install", "--server=ipa01.stg.iad2.fedoraproject.org", [... abridged ...] PLAY RECAP ************************************************************************************ retrace-stg.aws.fedoraproject.org : ok=108 changed=0 unreachable=0 failed=1 skipped=134 rescued=0 ignored=0 logs written to: /var/log/ansible/retrace/2021/06/03/10.23.01 Thursday 03 June 2021 10:25:21 +0000 (0:00:00.912) 0:02:19.767 ********* [...]
Metadata Update from @mohanboddu: - Issue priority set to: Waiting on Assignee (was: Needs Review) - Issue tagged with: low-gain, low-trouble, ops
This is due to this instance being a bit different. :)
Our normal staging hosts are in iad2 and can talk directly to the ipa server(s). This instance is in aws, and being external can't talk to the ipa server(s). ;(
So alternatives:
I'd prefer 1 or 3 as they seem like less work, but whats your thoughts?
Thanks for the clarification, Kevin. Number 1 seems the most sensible to me at the moment.
Is it enough to just add a condition to the import_role: name=ipa/client line in playbooks/groups/retrace.yml so that it's not executed for stg? I'm in the process of doing some adjustments to the playbooks so I could slide this one in as well.
import_role: name=ipa/client
playbooks/groups/retrace.yml
Yep. Just add a when: env != 'staging' to not do it in staging. :)
I'll close this now, but re-open or file a new ticket if there's anything you need us to do.
Metadata Update from @kevin: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.