Open jfblaine opened 4 years ago
With debug logs:
TASK [mirror_registry : Enable container-mirror-registry on boot and start it] **** task path: /root/gitstuff/openshift-auto-upi/roles/mirror_registry/tasks/mirror_create.yml:17 2673 1594992402.40801: sending task start callback 2673 1594992402.40807: entering _queue_task() for helper/service 2673 1594992402.40813: Creating lock for service 2673 1594992402.40969: worker is 1 (out of 1 available) 2673 1594992402.41025: exiting _queue_task() for helper/service 2673 1594992402.41105: done queuing things up, now waiting for results queue to drain 2673 1594992402.41114: waiting for pending results... 2955 1594992402.41350: running TaskExecutor() for helper/TASK: mirror_registry : Enable container-mirror-registry on boot and start it 2955 1594992402.41492: in run() - task 0050568a-9a66-f27c-56e2-000000000025 2955 1594992402.41554: calling self._execute() 2955 1594992402.42075: trying /usr/share/ansible/plugins/connection 2955 1594992402.42089: trying /usr/lib/python3.6/site-packages/ansible/plugins/connection 2955 1594992402.42184: Loading Connection 'local' from /usr/lib/python3.6/site-packages/ansible/plugins/connection/local.py (searched paths: /usr/lib/python3.6/site-packages/ansible/plugins/connection:/usr/share/ansible/plugins/connection) (found_in_cache=True, class_only=False) 2955 1594992402.42210: trying /usr/lib/python3.6/site-packages/ansible/plugins/shell 2955 1594992402.42234: Loading ShellModule 'sh' from /usr/lib/python3.6/site-packages/ansible/plugins/shell/sh.py (found_in_cache=True, class_only=False) 2955 1594992402.42252: Loading ShellModule 'sh' from /usr/lib/python3.6/site-packages/ansible/plugins/shell/sh.py (found_in_cache=True, class_only=False) 2955 1594992402.42268: trying /usr/share/ansible/plugins/become 2955 1594992402.42278: trying /usr/lib/python3.6/site-packages/ansible/plugins/become 2955 1594992402.42317: Loading BecomeModule 'sudo' from /usr/lib/python3.6/site-packages/ansible/plugins/become/sudo.py (searched paths: /usr/lib/python3.6/site-packages/ansible/plugins/become:/usr/share/ansible/plugins/become) (found_in_cache=True, class_only=False) 2955 1594992402.42464: Loading ActionModule 'service' from /usr/lib/python3.6/site-packages/ansible/plugins/action/service.py (searched paths: /usr/lib/python3.6/site-packages/ansible/plugins/action:/usr/lib/python3.6/site-packages/ansible/plugins/action/pycache:/usr/share/ansible/plugins/action) (found_in_cache=True, class_only=False) 2955 1594992402.42494: starting attempt loop 2955 1594992402.42500: running the handler 2955 1594992402.42570: Loading FilterModule 'core' from /usr/lib/python3.6/site-packages/ansible/plugins/filter/core.py (found_in_cache=True, class_only=False) 2955 1594992402.42584: Loading FilterModule 'gcp_kms_filters' from /usr/lib/python3.6/site-packages/ansible/plugins/filter/gcp_kms_filters.py (found_in_cache=True, class_only=False) 2955 1594992402.42595: Loading FilterModule 'ipaddr' from /usr/lib/python3.6/site-packages/ansible/plugins/filter/ipaddr.py (found_in_cache=True, class_only=False) 2955 1594992402.42604: Loading FilterModule 'json_query' from /usr/lib/python3.6/site-packages/ansible/plugins/filter/json_query.py (found_in_cache=True, class_only=False) 2955 1594992402.42613: Loading FilterModule 'k8s' from /usr/lib/python3.6/site-packages/ansible/plugins/filter/k8s.py (found_in_cache=True, class_only=False) 2955 1594992402.42623: Loading FilterModule 'mathstuff' from /usr/lib/python3.6/site-packages/ansible/plugins/filter/mathstuff.py (found_in_cache=True, class_only=False) 2955 1594992402.42632: Loading FilterModule 'network' from /usr/lib/python3.6/site-packages/ansible/plugins/filter/network.py (found_in_cache=True, class_only=False) 2955 1594992402.42641: Loading FilterModule 'urls' from /usr/lib/python3.6/site-packages/ansible/plugins/filter/urls.py (found_in_cache=True, class_only=False) 2955 1594992402.42649: Loading FilterModule 'urlsplit' from /usr/lib/python3.6/site-packages/ansible/plugins/filter/urlsplit.py (found_in_cache=True, class_only=False) 2955 1594992402.42718: Loading TestModule 'core' from /usr/lib/python3.6/site-packages/ansible/plugins/test/core.py (found_in_cache=True, class_only=False) 2955 1594992402.42727: Loading TestModule 'files' from /usr/lib/python3.6/site-packages/ansible/plugins/test/files.py (found_in_cache=True, class_only=False) 2955 1594992402.42735: Loading TestModule 'mathstuff' from /usr/lib/python3.6/site-packages/ansible/plugins/test/mathstuff.py (found_in_cache=True, class_only=False) Running systemd 2955 1594992402.43195: _low_level_execute_command(): starting 2955 1594992402.43210: _low_level_execute_command(): executing: /bin/sh -c 'echo ~root && sleep 0'
Ran into the following error when attempting to use mirror registry:
TASK [mirror_registry : Enable container-mirror-registry on boot and start it] **** fatal: [helper]: FAILED! => {"changed": false, "msg": "Unable to start service container-mirror-registry: Job for container-mirror-registry.service failed because the control process exited with error code.\nSee \"systemctl status container-mirror-registry.service\" and \"journalctl -xe\" for details.\n"}
PLAY RECAP **** helper : ok=10 changed=0 unreachable=0 failed=1 skipped=6 rescued=0 ignored=0
[root@helper-host openshift-auto-upi]# systemctl status container-mirror-registry.service ● container-mirror-registry.service - Podman container-6e79cd4be0da3086a24806aa74851677040af5cbbc01b60cab5c9ff480a351e6.service Loaded: loaded (/etc/systemd/system/container-mirror-registry.service; enabled; vendor preset: disabled) Active: failed (Result: exit-code) since Fri 2020-07-17 09:18:52 EDT; 6s ago Docs: man:podman-generate-systemd(1) Process: 12371 ExecStart=/usr/bin/podman start 6e79cd4be0da3086a24806aa74851677040af5cbbc01b60cab5c9ff480a351e6 (code=exited, status=125) Main PID: 10694 (code=exited, status=0/SUCCESS)
Jul 17 09:18:52 helper-host.autoupi.example.com systemd[1]: container-mirror-registry.service: Control process exited, code=exited status=125 Jul 17 09:18:52 helper-host.autoupi.example.com systemd[1]: container-mirror-registry.service: Failed with result 'exit-code'. Jul 17 09:18:52 helper-host.autoupi.example.com systemd[1]: Failed to start Podman container-6e79cd4be0da3086a24806aa74851677040af5cbbc01b60cab5c9ff480a351e6.service. Jul 17 09:18:52 helper-host.autoupi.example.com systemd[1]: container-mirror-registry.service: Service RestartSec=100ms expired, scheduling restart. Jul 17 09:18:52 helper-host.autoupi.example.com systemd[1]: container-mirror-registry.service: Scheduled restart job, restart counter is at 5. Jul 17 09:18:52 helper-host.autoupi.example.com systemd[1]: Stopped Podman container-6e79cd4be0da3086a24806aa74851677040af5cbbc01b60cab5c9ff480a351e6.service. Jul 17 09:18:52 helper-host.autoupi.example.com systemd[1]: container-mirror-registry.service: Start request repeated too quickly. Jul 17 09:18:52 helper-host.autoupi.example.com systemd[1]: container-mirror-registry.service: Failed with result 'exit-code'. Jul 17 09:18:52 helper-host.autoupi.example.com systemd[1]: Failed to start Podman container-6e79cd4be0da3086a24806aa74851677040af5cbbc01b60cab5c9ff480a351e6.service.