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

[2023.1 backport] Add ca-certificates to tempest rock #36

Merged

Conversation

samuelallan72
Copy link

Backport #34

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'
```

(cherry picked from commit 4c7b8e1)
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 e4035bb into canonical:stable/2023.1 Feb 19, 2024
2 checks passed
@samuelallan72 samuelallan72 deleted the 2023.1-tempest-ca-certs branch February 19, 2024 23:16
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.

3 participants