[00:29] minor fix for jammy image support in pycloudlib https://github.com/canonical/pycloudlib/pull/180 for CI breakage [00:29] Pull 180 in canonical/pycloudlib "azure: add jammy daily image support" [Open] [02:05] blackboxsw: thanks, the connectivity_url solved it [08:12] i'm on ubuntu focal and i'm trying to run the cloud-init integration tests [08:13] i created a virtualenv and installed pycloudlib from pip, it fetched pycloudlib-18.8.tar.gz [08:13] but then it fails because it can't find python-simplestreams [08:32] i was able to install the tarball of simplestreams from launchpad: https://launchpad.net/simplestreams/trunk/0.1.0/+download/simplestreams-0.1.0.tar.gz [09:18] the version of pycloudlib available from pip doesn't seem to expose the members expected by the integration tests, e.g. `from pycloudlib import LXDContainer` fails [09:19] i tried installing the master branch from github here: https://github.com/canonical/pycloudlib [09:19] but now i've got a dependency problem i don't understand: [09:19] error: cryptography 36.0.1 is installed but cryptography<=3.4.7,>=3.2.1 is required by {'oci'} [13:57] seems pretty clear doesn't it? [13:57] oce wants `cryptography` no newer than 3.4.7 [13:57] you have 36.0.1 [13:58] 36 is bigger than 3 === rharper_ is now known as rharper [15:31] slingamn: well i am able to build the environment with: [15:32] ./tools/tox-venv integration-tests [15:32] (fails to run, but i think that is the intended way to build the env) [21:16] slingamn: beyond my pip outofdate comment: smoser's reference to ./tools/tox-venv integration-tests should setup the right env. You'll need to additionally/minimally create a ~/.config/pycloudlib.toml file (or provide PYCLOUDLIB_CONFIG=path_to_your_pycloudlib.toml) that looks like this https://github.com/canonical/pycloudlib/blob/main/pycloudlib.toml.template [21:21] Generally `tox -re integration-tests`should be pulling in all the specific dependencies and versions that are needed so you don't get hit by virtualenv conflicts I hope. === CodeMouse92 is now known as Guest1476 === Guest1476 is now known as CodeMouse92 [21:49] interesting: seeing strange CI failures using pycloudlib on LXD containers where our logging looks like it is doing the right thing on the instance, yet the files are untouched [21:49] `2022-02-02 21:42:47 INFO pycloudlib.instance:instance.py:183 executing: sudo -- sh -c 'mv /var/tmp/a2551de0-9eb7-4100-be66-24b34e2b492a.tmp /etc/cloud/cloud.cfg.d/99-detect-lxd.cfg'.` [21:49] yet /var/tmp/a2551de0-9eb7-4100-be66-24b34e2b492a.tmp still exists on the test instance [21:54] looks like we don't check result.ok there on our execute call. I bet we can pull on this string to fix whatever is affecting CI failures there. [21:55] heh: "mv: cannot create regular file '/etc/cloud/cloud.cfg.d/99-detect-lxd.cfg': Permission denied" [21:55] okey dokey will have an integration test fix in a min