summaryrefslogtreecommitdiff
path: root/integration-requirements.txt
diff options
context:
space:
mode:
authorChad Smith <chad.smith@canonical.com>2022-02-02 21:38:56 -0700
committerGitHub <noreply@github.com>2022-02-02 21:38:56 -0700
commit6ed3c5dfcd9392784d2199224ac7d28d1abfdf7b (patch)
treed23ac67311e6f7f8095853a54f35cb6b363bb0c9 /integration-requirements.txt
parentb64b7d8ceb0e7bdb7cc9839c238798622c5b9682 (diff)
downloadvyos-cloud-init-6ed3c5dfcd9392784d2199224ac7d28d1abfdf7b.tar.gz
vyos-cloud-init-6ed3c5dfcd9392784d2199224ac7d28d1abfdf7b.zip
integration: do not LXD bind mount /etc/cloud/cloud.cfg.d (#1234)
Since lxc bind mounts will be read-only as nobody:nogroup we don't want to bind mount /etc/cloud/cloud.cfg.d into the instance because some tests add artifacts to /etc/cloud/cloud.cfg.d. Also make LXD push_file pull_file methods assert that the file transfer was a success, otherwise we miss the root-cause for test failures. This resulted in failed Jenkins runs in test_lxd_discovery with a symptom of NoCloud being detected instead of LXD datasource. The root-case was that instance.file_push failed due to permission errors for root on the bind mounted /etc/cloud/cloud.cfg.d. Also bump pycloudlib commitish to get Azure Jammy image support.
Diffstat (limited to 'integration-requirements.txt')
-rw-r--r--integration-requirements.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/integration-requirements.txt b/integration-requirements.txt
index f6c52b28..37a2ed76 100644
--- a/integration-requirements.txt
+++ b/integration-requirements.txt
@@ -1,5 +1,5 @@
# PyPI requirements for cloud-init integration testing
# https://cloudinit.readthedocs.io/en/latest/topics/integration_tests.html
#
-pycloudlib @ git+https://github.com/canonical/pycloudlib.git@e52cc257c5467bb16442a8ef943ca1931c4e1757
+pycloudlib @ git+https://github.com/canonical/pycloudlib.git@d8c7654dbef1a7daf47417337e50515e6842aed6
pytest