Closed laurent-indermuehle closed 7 months ago
@sean-m-sullivan FYI
Got it, Laurent started in our Community channel https://app.element.io/#/room/#aap_config_as_code:ansible.com
Looking into it.
I believe this is fixed, please try again, sorry for the delay.
@sean-m-sullivan I've redone the lab2 and this time everything worked! Thanks you for the fix!
I launched lab 2, and the Task 5 fails to pull images (2nd command). It tries to pull the EE from the private AH, but there is no images yet for "config_as_code". Do I need to re-run lab 1 and quickly lab 2 after that? Or are they isolated?
I noticed that the image is pushed to the controller instead of the private AH in build_ee.yml of lab2. So by changing this command:
ansible-navigator run playbooks/hub_config.yml --eei hub.$INSTRUQT_PARTICIPANT_ID.instruqt.io/config_as_code -i inventory.yml -l execution --pa='--tls-verify=false' -m stdout --penv INSTRUQT_PARTICIPANT_ID
withansible-navigator run playbooks/hub_config.yml --eei localhost/config_as_code -i inventory.yml -l execution -m stdout --penv INSTRUQT_PARTICIPANT_ID
Now task 5 works. But this is not a good example of usage of AH... we downloaded the EE from quay.io directly into the controller. No need of AH for that.When I say "works", it's almost the case. AH fails to sync community-infra repository in time making the playbook timeout (but there was 123 retries left in async) and after that AH becomes unresponsive for several minutes. When it comes back, the Repositories Sync status says "Failed" with no other details. I tried a second time, but I'm dangerously close to the end of the lab's timer. I noticed that AH seems gone, the hub-terminal doesn't respond. I looking into the Task management tab, but "Pulp Ansible: Collections sync" error message is empty too.
Here the output of ansible-navigator: