airshipit / treasuremap

Reference Airship manifests, CICD, and reference architecture.
http://openstack.org
Apache License 2.0
52 stars 39 forks source link

Armada failing to clone git repos. #205

Closed nagajagan closed 2 years ago

nagajagan commented 2 years ago

Describe the bug Genesis does not progress but prints following error message in /var/log/armada/bootstrap-armada.log

2022-03-04 13:39:55.087 9 INFO armada.handlers.chart_download [-] Cloning repo: https://opendev.org/openstack/openstack-helm-infra from branch: b19c7f21c9aab072fd101228737b3cec0e0b0963[00m 2022-03-04 13:39:56.290 9 ERROR armada.utils.source [-] Encountered GitCommandError during clone.: git.exc.GitCommandError: Cmd('git') failed due to: exit code(128) cmdline: git clone -v https://opendev.org/openstack/openstack-helm-infra /tmp/armada7c5xh7nx stderr: 'Cloning into '/tmp/armada7c5xh7nx'... fatal: unable to access 'https://opendev.org/openstack/openstack-helm-infra/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

Steps To Reproduce Maintain treasurmap version @ 2227df4 and follow the steps to bring up genesis node.

Expected behavior Armda containers should clone the git repos and create kubernetes pods.

Environment

Suggested /recommended fix

# do the following changes in global/software/config/versions.yaml 
-      armada: &armada quay.io/airshipit/armada:7ef4b8643b5ec5216a8f6726841e156c0aa54a1a-ubuntu_bionic
+      #armada: &armada quay.io/airshipit/armada:7ef4b8643b5ec5216a8f6726841e156c0aa54a1a-ubuntu_bionic
+      armada: &armada quay.io/airshipit/armada:b37417253f99f23549e09502e3bcd81d450bb4c4-ubuntu_bionic
nagajagan commented 2 years ago

Issues is addressed with the right version of the image for armada and tested by the reporter.