[kolla-ansible] Error while upgrading from xena to yoga
Hi, I am trying to upgrade from xena to yoga. I have created a test environment that resembles the production one using VMs. The deployment consists of 03 controllers and 03 compute/storage nodes. I am using Rokcy 8 as my base OS and I am using another VM as a deployer with a local registry. I followed the documentation here : https://docs.openstack.org/kolla-ansible/yoga/user/operating-kolla.html The precheks went well, but when deploying I got the following error : fatal: [ctrl02]: FAILED! => {"changed": true, "msg": "'Traceback (most
recent call last):\\n File \"/usr/local/lib/python3.6/site-packages/docker/api/client.py\", line 268, in _raise_for_status\\n response.raise_for_status()\\n File \"/usr/local/lib/python3.6/site-packages/requests/models.py\", line 960, in raise_for_status\\n raise HTTPError(http_error_msg, response=self)\\n requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.41/images/create?tag=yoga& fromImage=10.50.0.252%3A4000%2Fopenstack.kolla%2Fcentos-source-rabbitmq\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/tmp/ansible_kolla_docker_payload_8hum8og4/ansible_kolla_docker_payload.zip/ansible/modules/kolla_docker.py\", line 381, in main\\n File \"/tmp/ansible_kolla_docker_payload_8hum8og4/ansible_kolla_docker_payload.zip/ansible/module_utils/kolla_docker_worker.py\",
line 660, in recreate_or_restart_container\\n self.pull_image()\\n File \"/tmp/ansible_kolla_docker_payload_8hum8og4/ansible_kolla_docker_payload.zip/ansible/module_utils/kolla_docker_worker.py\",
line 451, in pull_image\\n repository=image, tag=tag, stream=True\\n File \ "/usr/local/lib/python3.6/site-packages/docker/api/image.py\", line 430, in pull\\n self._raise_for_status(response)\\n File \"/usr/local/lib/python3.6/site-packages/docker/api/client.py\", line 270, in _raise_for_status\\n raise create_api_error_from_http_exception(e)\\n File \"/usr/local/lib/python3.6/site-packages/docker/errors.py\", line 31, in create_api_error_from_http_exception\\n raise cls(e, response=response, explanation=explanation)\\n docker.errors.NotFound: 404 Client Error for http+docker://localhost/v1.41/images/create?tag=yoga &fromImage=10.50.0.252%3A4000%2Fopenstack.kolla%2Fcentos-source-rabbitmq: Not Found *(\"manifest for 10.50.0.252:4000/openstack.kolla/centos-source-rabbitmq:yoga <http://10.50.0.252:4000/openstack.kolla/centos-source-rabbitmq:yoga> not found: manifest unknown: manifest unknown\")\\n'"}*
[deployer@deployer yoga]$ sudo docker images | grep yoga | grep rabbit quay.io/openstack.kolla/centos-source-rabbitmq yoga 4ea3207bfef3 33 hours ago 920MB 10.50.0.252:4000/openstack.kolla/centos-source-rabbitmq yoga 4ea3207bfef3 33 hours ago 920MB Any ideas? Regards.
Did you build an image for yoga before upgrading? I am reading this line so asking a question - *10.50.0.252:4000/openstack.kolla/centos-source-rabbitmq:yoga <http://10.50.0.252:4000/openstack.kolla/centos-source-rabbitmq:yoga> not found * On Wed, Sep 28, 2022 at 7:40 AM wodel youchi <wodel.youchi@gmail.com> wrote:
Hi,
I am trying to upgrade from xena to yoga. I have created a test environment that resembles the production one using VMs. The deployment consists of 03 controllers and 03 compute/storage nodes. I am using Rokcy 8 as my base OS and I am using another VM as a deployer with a local registry.
I followed the documentation here : https://docs.openstack.org/kolla-ansible/yoga/user/operating-kolla.html The precheks went well, but when deploying I got the following error :
fatal: [ctrl02]: FAILED! => {"changed": true, "msg": "'Traceback (most
recent call last):\\n File \"/usr/local/lib/python3.6/site-packages/docker/api/client.py\", line 268, in _raise_for_status\\n response.raise_for_status()\\n File \"/usr/local/lib/python3.6/site-packages/requests/models.py\", line 960, in raise_for_status\\n raise HTTPError(http_error_msg, response=self)\\n requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.41/images/create?tag=yoga& fromImage=10.50.0.252%3A4000%2Fopenstack.kolla%2Fcentos-source-rabbitmq\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/tmp/ansible_kolla_docker_payload_8hum8og4/ansible_kolla_docker_payload.zip/ansible/modules/kolla_docker.py\", line 381, in main\\n File \"/tmp/ansible_kolla_docker_payload_8hum8og4/ansible_kolla_docker_payload.zip/ansible/module_utils/kolla_docker_worker.py\",
line 660, in recreate_or_restart_container\\n self.pull_image()\\n File \"/tmp/ansible_kolla_docker_payload_8hum8og4/ansible_kolla_docker_payload.zip/ansible/module_utils/kolla_docker_worker.py\",
line 451, in pull_image\\n repository=image, tag=tag, stream=True\\n File \ "/usr/local/lib/python3.6/site-packages/docker/api/image.py\", line 430, in pull\\n self._raise_for_status(response)\\n File \"/usr/local/lib/python3.6/site-packages/docker/api/client.py\", line 270, in _raise_for_status\\n raise create_api_error_from_http_exception(e)\\n File \"/usr/local/lib/python3.6/site-packages/docker/errors.py\", line 31, in create_api_error_from_http_exception\\n raise cls(e, response=response, explanation=explanation)\\n docker.errors.NotFound: 404 Client Error for http+docker://localhost/v1.41/images/create?tag=yoga &fromImage=10.50.0.252%3A4000%2Fopenstack.kolla%2Fcentos-source-rabbitmq: Not Found *(\"manifest for 10.50.0.252:4000/openstack.kolla/centos-source-rabbitmq:yoga <http://10.50.0.252:4000/openstack.kolla/centos-source-rabbitmq:yoga> not found: manifest unknown: manifest unknown\")\\n'"}*
[deployer@deployer yoga]$ sudo docker images | grep yoga | grep rabbit quay.io/openstack.kolla/centos-source-rabbitmq yoga 4ea3207bfef3 33 hours ago 920MB 10.50.0.252:4000/openstack.kolla/centos-source-rabbitmq yoga 4ea3207bfef3 33 hours ago 920MB
Any ideas?
Regards.
Hi, Thanks for the help, I searched a bit, and I think I got it, the downloaded image was broken somehow, I redid the pull of that image then pushed it again in my local registry and it worked. docker pull quay.io/openstack.kolla/centos-source-rabbitmq:yoga docker tag quay.io/openstack.kolla/centos-source-rabbitmq:yoga 10.50.0.252:4000/openstack.kolla/centos-source-rabbitmq:yoga docker push 10.50.0.252:4000/openstack.kolla/centos-source-rabbitmq:yoga Regards. Le mer. 28 sept. 2022 à 14:41, Satish Patel <satish.txt@gmail.com> a écrit :
Did you build an image for yoga before upgrading? I am reading this line so asking a question - *10.50.0.252:4000/openstack.kolla/centos-source-rabbitmq:yoga <http://10.50.0.252:4000/openstack.kolla/centos-source-rabbitmq:yoga> not found *
On Wed, Sep 28, 2022 at 7:40 AM wodel youchi <wodel.youchi@gmail.com> wrote:
Hi,
I am trying to upgrade from xena to yoga. I have created a test environment that resembles the production one using VMs. The deployment consists of 03 controllers and 03 compute/storage nodes. I am using Rokcy 8 as my base OS and I am using another VM as a deployer with a local registry.
I followed the documentation here : https://docs.openstack.org/kolla-ansible/yoga/user/operating-kolla.html The precheks went well, but when deploying I got the following error :
fatal: [ctrl02]: FAILED! => {"changed": true, "msg": "'Traceback (most
recent call last):\\n File \"/usr/local/lib/python3.6/site-packages/docker/api/client.py\", line 268, in _raise_for_status\\n response.raise_for_status()\\n File \"/usr/local/lib/python3.6/site-packages/requests/models.py\", line 960, in raise_for_status\\n raise HTTPError(http_error_msg, response=self)\\n requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.41/images/create?tag=yoga& fromImage=10.50.0.252%3A4000%2Fopenstack.kolla%2Fcentos-source-rabbitmq\\n\\nDuring handling of the above exception, another exception occurred:\\n\\nTraceback (most recent call last):\\n File \"/tmp/ansible_kolla_docker_payload_8hum8og4/ansible_kolla_docker_payload.zip/ansible/modules/kolla_docker.py\", line 381, in main\\n File \"/tmp/ansible_kolla_docker_payload_8hum8og4/ansible_kolla_docker_payload.zip/ansible/module_utils/kolla_docker_worker.py\",
line 660, in recreate_or_restart_container\\n self.pull_image()\\n File \"/tmp/ansible_kolla_docker_payload_8hum8og4/ansible_kolla_docker_payload.zip/ansible/module_utils/kolla_docker_worker.py\",
line 451, in pull_image\\n repository=image, tag=tag, stream=True\\n File \ "/usr/local/lib/python3.6/site-packages/docker/api/image.py\", line 430, in pull\\n self._raise_for_status(response)\\n File \"/usr/local/lib/python3.6/site-packages/docker/api/client.py\", line 270, in _raise_for_status\\n raise create_api_error_from_http_exception(e)\\n File \"/usr/local/lib/python3.6/site-packages/docker/errors.py\", line 31, in create_api_error_from_http_exception\\n raise cls(e, response=response, explanation=explanation)\\n docker.errors.NotFound: 404 Client Error for http+docker://localhost/v1.41/images/create?tag=yoga &fromImage=10.50.0.252%3A4000%2Fopenstack.kolla%2Fcentos-source-rabbitmq: Not Found *(\"manifest for 10.50.0.252:4000/openstack.kolla/centos-source-rabbitmq:yoga <http://10.50.0.252:4000/openstack.kolla/centos-source-rabbitmq:yoga> not found: manifest unknown: manifest unknown\")\\n'"}*
[deployer@deployer yoga]$ sudo docker images | grep yoga | grep rabbit quay.io/openstack.kolla/centos-source-rabbitmq yoga 4ea3207bfef3 33 hours ago 920MB 10.50.0.252:4000/openstack.kolla/centos-source-rabbitmq yoga 4ea3207bfef3 33 hours ago 920MB
Any ideas?
Regards.
participants (2)
-
Satish Patel
-
wodel youchi