Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ca-certificates to tempest rock #34

Merged
merged 1 commit into from
Feb 19, 2024

Conversation

samuelallan72
Copy link

@samuelallan72 samuelallan72 commented Feb 15, 2024

To address errors downloading cirros image by discover-tempest-config

unit-tempest-0: 15:27:26 ERROR unit.tempest/0.juju-log     2024-02-13 04:57:02.346 22 INFO config_tempest.constants [-] Creating image 'cirros-0.5.2-x86_64-disk.img'
unit-tempest-0: 15:27:26 ERROR unit.tempest/0.juju-log     2024-02-13 04:57:02.346 22 INFO config_tempest.constants [-] Downloading 'https://download.cirros-cloud.net/0.5.2/cirros-0.5.2-x86_64-disk.img' and saving as '/var/lib/tempest/etc/cirros-0.5.2-x86_64-disk.img'
unit-tempest-0: 15:27:26 ERROR unit.tempest/0.juju-log     2024-02-13 04:57:03.030 22 WARNING config_tempest.constants [-] <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)>, Retrying in 3 seconds.: urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)>
unit-tempest-0: 15:27:26 ERROR unit.tempest/0.juju-log     2024-02-13 04:57:06.454 22 WARNING config_tempest.constants [-] <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)>, Retrying in 6 seconds.: urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)>
unit-tempest-0: 15:27:26 ERROR unit.tempest/0.juju-log     2024-02-13 04:57:12.888 22 WARNING config_tempest.constants [-] <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)>, Retrying in 12 seconds.: urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)>
unit-tempest-0: 15:27:26 ERROR unit.tempest/0.juju-log     2024-02-13 04:57:25.314 22 INFO config_tempest.constants [-] Uploading image 'cirros-0.5.2-x86_64-disk.img' from '/var/lib/tempest/etc/cirros-0.5.2-x86_64-disk.img'
unit-tempest-0: 15:27:26 ERROR unit.tempest/0.juju-log     2024-02-13 04:57:25.314 22 CRITICAL tempest [-] Unhandled error: FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/tempest/etc/cirros-0.5.2-x86_64-disk.img'

To address errors downloading cirros image by discover-tempest-config

```
unit-tempest-0: 15:27:26 ERROR unit.tempest/0.juju-log     2024-02-13 04:57:02.346 22 INFO config_tempest.constants [-] Creating image 'cirros-0.5.2-x86_64-disk.img'
unit-tempest-0: 15:27:26 ERROR unit.tempest/0.juju-log     2024-02-13 04:57:02.346 22 INFO config_tempest.constants [-] Downloading 'https://download.cirros-cloud.net/0.5.2/cirros-0.5.2-x86_64-disk.img' and saving as '/var/lib/tempest/etc/cirros-0.5.2-x86_64-disk.img'
unit-tempest-0: 15:27:26 ERROR unit.tempest/0.juju-log     2024-02-13 04:57:03.030 22 WARNING config_tempest.constants [-] <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)>, Retrying in 3 seconds.: urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)>
unit-tempest-0: 15:27:26 ERROR unit.tempest/0.juju-log     2024-02-13 04:57:06.454 22 WARNING config_tempest.constants [-] <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)>, Retrying in 6 seconds.: urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)>
unit-tempest-0: 15:27:26 ERROR unit.tempest/0.juju-log     2024-02-13 04:57:12.888 22 WARNING config_tempest.constants [-] <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)>, Retrying in 12 seconds.: urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)>
unit-tempest-0: 15:27:26 ERROR unit.tempest/0.juju-log     2024-02-13 04:57:25.314 22 INFO config_tempest.constants [-] Uploading image 'cirros-0.5.2-x86_64-disk.img' from '/var/lib/tempest/etc/cirros-0.5.2-x86_64-disk.img'
unit-tempest-0: 15:27:26 ERROR unit.tempest/0.juju-log     2024-02-13 04:57:25.314 22 CRITICAL tempest [-] Unhandled error: FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/tempest/etc/cirros-0.5.2-x86_64-disk.img'
```
@samuelallan72 samuelallan72 changed the title WIP: add ca-certificates to tempest rock Add ca-certificates to tempest rock Feb 16, 2024
Copy link

@agileshaw agileshaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gboutry gboutry merged commit 3864b32 into canonical:main Feb 19, 2024
2 checks passed
@samuelallan72 samuelallan72 deleted the tempest-ca-certs branch February 19, 2024 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants