Hello,
Seems like the tag kolla Ansible is attempting to pull `master-ubuntu-jammy-aarch64` does not exist on quay.io [1].
-
Mahendra
[1] https://quay.io/repository/openstack.kolla/fluentd?tab=tags
Hi.Maybe a problem to download docker images…fluent is the first image downloaded if I remember…A local registry helps me to solve this.
Franck
Le 14 févr. 2024 à 08:32, KK CHN <kkchn.in@gmail.com> a écrit :
List,
1. I am trying kolla-ansible all-in-one on an Ubuntu VM on Esxi7.0 ( 22.04 Desktop OS. )
All went well upto here
3. Kolla-ansible -i ./all-in-one deploy fails with message as follows..
Ensure Fluentd Image peesnt for Label Check
vNICs on this Ubuntu VM as follows
1. "ens192" IP => 10.x.0.128 A DHCP IP of our organization's internal N/W)2. "ens224 IP => 10.220.0.51
3. Added another interface ens160 without IP ( UP running)
in globals.yml I have used1. "ens224" for network_interface: "ens224"
2. "ens160" for neutron_external_interface: "ens160"
3. an unused 10.220.0.24 ip as kolla_internal_vip_address: "10.220.0.24"
Hope I am right doing the interface configurations in globals.yml ? correct me if I am wrong.
All went well up to pre checks ..
1. (kolla_ansible_venv) ubuntu@ubuntu-VM:~$ kolla-ansible -i ./all-in-one bootstrap-servers
Bootstrapping servers : ansible-playbook -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla -e kolla_action=bootstrap-servers /home/ubuntu/
PLAY RECAP *********************************************************************
localhost : ok=30 changed=2 unreachable=0 failed=0 skipped=24 rescued=0 ignored=0
2. (kolla_ansible_venv) ubuntu@ubuntu-VM:~$ kolla-ansible -i ./all-in-one prechecks
PLAY RECAP *********************************************************************
localhost : ok=99 changed=0 unreachable=0 failed=0 skipped=158 rescued=0 ignored=0
But3. Kolla-ansible -i ./all-in-one deploy fails with message as follows..
Ensure Fluentd Image peesnt for Label Check
(kolla_ansible_venv) ubuntu@ubuntu-VM:~$ kolla-ansible -i ./all-in-one deploy
TASK [common : Ensure fluentd image is present for label check] ****************
fatal: [localhost]: FAILED! => {"changed": true, "msg": "'Traceback (most recent call last):\\n File \"/usr/local/lib/python3.10/dist-packages/docker/api/cli
PLAY RECAP *********************************************************************
localhost : ok=6 changed=0 unreachable=0 failed=1 skipped=4 rescued=0 ignored=0
What went wrong? Any hints are much appreciated !!!!
Full Error Report:
Fatal: [localhost]: FAILED! => {"changed": true, "msg": "'Traceback (most recent call last):\\n File \"/usr/local/lib/python3.10/dist-packages/docker/api/client.py\", line 268, in _raise_for_status\\n response.raise_for_status()\\n File \"/usr/local/lib/python3.10/dist-packages/requests/models.py\", line 1021, in raise_for_status\\n raise HTTPError(http_error_msg, response=self)\\nrequests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.44/images/create?tag=master-ubuntu-jammy-aarch64&fromImage=quay.io%2Fopenstack.kolla%2Ffluentd\\n\\nThe above exception was the direct cause of the following exception:\\n\\nTraceback (most recent call last):\\n File \"/tmp/ansible_kolla_container_payload_fnpt9ldm/ansible_kolla_container_payload.zip/ansible/modules/kolla_container.py\", line 425, in main\\n File \"/tmp/ansible_kolla_container_payload_fnpt9ldm/ansible_kolla_container_payload.zip/ansible/module_utils/kolla_docker_worker.py\", line 522, in ensure_image\\n self.pull_image()\\n File \"/tmp/ansible_kolla_container_payload_fnpt9ldm/ansible_kolla_container_payload.zip/ansible/module_utils/kolla_docker_worker.py\", line 209, in pull_image\\n json.loads(line.strip().decode(\\'utf-8\\')) for line in self.dc.pull(\\n File \"/usr/local/lib/python3.10/dist-packages/docker/api/image.py\", line 429, in pull\\n self._raise_for_status(response)\\n File \"/usr/local/lib/python3.10/dist-packages/docker/api/client.py\", line 270, in _raise_for_status\\n raise create_api_error_from_http_exception(e) from e\\n File \"/usr/local/lib/python3.10/dist-packages/docker/errors.py\", line 39, in create_api_error_from_http_exception\\n raise cls(e, response=response, explanation=explanation) from e\\ndocker.errors.NotFound: 404 Client Error for http+docker://localhost/v1.44/images/create?tag=master-ubuntu-jammy-aarch64&fromImage=quay.io%2Fopenstack.kolla%2Ffluentd: Not Found (\"manifest for quay.io/openstack.kolla/fluentd:master-ubuntu-jammy-aarch64 not found: manifest unknown: manifest unknown\")\\n'"}
While installing kolla I have executed this as in the doc.pip install git+https://opendev.org/openstack/kolla-ansible@master
Is the error above related to this step ?? If so what the solution ?/
More details as follows..
globals.yml parameters enabled
ubuntu@ubuntu-VM:~$ grep ^[^#] /etc/kolla/globals.yml
---
workaround_ansible_issue_8743: yes
kolla_base_distro: "ubuntu"
openstack_tag_suffix: "-aarch64"
kolla_internal_vip_address: "10.220.0.24"
network_interface: "ens224"
neutron_external_interface: "ens160"
ubuntu@ubuntu-VM:~$
VM details
ubuntu@ubuntu-VM:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"
ubuntu@ubuntu-VM:~$ cat /etc/hosts
127.0.0.1 localhost
10.220.0.51 localhost
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
# BEGIN ANSIBLE GENERATED HOSTS
10.220.0.51 ubuntu-VM
# END ANSIBLE GENERATED HOSTS
Thanks in advance
Krishane