Open lemmy04 opened 5 years ago
That's weird. I have not seen this before. Why is it trying to pull images on that task? (rhetorical question). See here. As a workaround try to manually stop your containers and see if that helps. If not, just comment out that task and see what happens.
oh by the way (unrelated), ever since I've started to run the local docker install in the way that builds local images (https requried) I noticed that that installation "path" fails at some clean up stage early on, unless you run it as root. I'm pretty sure that isnt supposed to be like that - should I open an issue?
That's weird. I have not seen this before. Why is it trying to pull images on that task? (rhetorical question). See here. As a workaround try to manually stop your containers and see if that helps. If not, just comment out that task and see what happens.
I did run the install on a dfferent computer that did not have AWX installed on it before, and that worked, so maybe there's something to your idea.
Still, I don't really see any reason why a task that is supposed to stop a service is actually trying to pull an image, unless there's a typo in the docker-compose file in the image name, and it doesn't recognize the running service, and so it tries to create a new one in state stopped...
ok, even with awx stopped the install dies at the same stage.
oh by the way (unrelated), ever since I've started to run the local docker install in the way that builds local images (https requried) I noticed that that installation "path" fails at some clean up stage early on, unless you run it as root. I'm pretty sure that isnt supposed to be like that - should I open an issue?
whatever the reason for this problem is, it happens with 8.0.0 as well.
Same here
Tried in MacOS 10.15.1 and CentOS 7.
still the same here, 9.2.0
now i removed everything except the database directory:
TASK [local_docker : Stop AWX before upgrading postgres] *** [DEPRECATION WARNING]: The 'docker_service' module has been renamed to 'docker_compose'.. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. fatal: [localhost]: FAILED! => {"changed": false, "errors": [], "module_stderr": "", "module_stdout": "alpine: Pulling from library/memcached\nDigest: sha256:94a32becfb362d4f5dc648da4ee110ca3d057e56b784bfa2c95c04ee6f13138b\nStatus: Downloaded newer image for memcached:alpine\n9.6: Pulling from library/postgres\nDigest: sha256:92042d6c1c79d2a48856803b750bad4bc153676a797109f6836e55ddc96b404f\nStatus: Downloaded newer image for postgres:9.6\n3.7.4: Pulling from ansible/awx_rabbitmq\nDigest: sha256:3ff448f979149a0684c61b0f00eb0fe7bc480b123323aa80fb3bb8934027f895\nStatus: Downloaded newer image for ansible/awx_rabbitmq:3.7.4\n", "msg": "Error starting project 404 Client Error: Not Found (\"pull access denied for awx_web, repository does not exist or may require 'docker login': denied: requested access to the resource is denied\")"}
...so if i run the installer on a completely empty system, it works, but as soon as there's postgres data in place it fails. So here's what I had to do to get a working awx 9.2.0 on my production system:
on the production system:
... that somehow does not feel right to me.
Same here for Ubuntu 19
yay. 9.3.0 is out. any bets for this to still be broken?
yay. 9.3.0 is out. any bets for this to still be broken?
at least 9.2.0 -> 9.3.0 worked fine...
ISSUE TYPE
I'm trying to upgrade my AWX installation to 9.0.1
SUMMARY
I'm trying to ugrade an existing AWX which has been installed in a local docker from self built images (to have https), and the process fails with this error:
TASK [local_docker : Stop AWX before upgrading postgres] ***** [DEPRECATION WARNING]: The 'docker_service' module has been renamed to 'docker_compose'.. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. fatal: [localhost]: FAILED! => {"changed": false, "errors": [], "module_stderr": "", "module_stdout": "", "msg": "Error starting project 404 Client Error: Not Found (\"pull access denied for awx_web, repository does not exist or may require 'docker login': denied: requested access to the resource is denied\")"}
ENVIRONMENT
STEPS TO REPRODUCE
git pull https://github.com/ansible/awx 9.0.1 cd awx/installer (edit inventory for the paths and certificates i'm using) ansible-playbook -i ../../inventory.mine install.yml
EXPECTED RESULTS
I expect a working AWX
ACTUAL RESULTS
Install died, see above for error.