[00:29] <blackboxsw> minor fix for jammy image support in pycloudlib https://github.com/canonical/pycloudlib/pull/180 for CI breakage
[02:05] <jbg> blackboxsw: thanks, the connectivity_url solved it
[08:12] <slingamn> i'm on ubuntu focal and i'm trying to run the cloud-init integration tests
[08:13] <slingamn> i created a virtualenv and installed pycloudlib from pip, it fetched pycloudlib-18.8.tar.gz
[08:13] <slingamn> but then it fails because it can't find python-simplestreams
[08:32] <slingamn> 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] <slingamn> 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] <slingamn> i tried installing the master branch from github here: https://github.com/canonical/pycloudlib
[09:19] <slingamn> but now i've got a dependency problem i don't understand:
[09:19] <slingamn> error: cryptography 36.0.1 is installed but cryptography<=3.4.7,>=3.2.1 is required by {'oci'}
[13:57] <jbg> seems pretty clear doesn't it?
[13:57] <jbg> oce wants `cryptography` no newer than 3.4.7
[13:57] <jbg> you have 36.0.1
[13:58] <jbg> 36 is bigger than 3
[15:31] <smoser> slingamn: well i am able to build the environment with:
[15:32] <smoser>  ./tools/tox-venv integration-tests
[15:32] <smoser> (fails to run, but i think that is the intended way to build the env)
[21:16] <blackboxsw> 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] <blackboxsw> 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.
[21:49] <blackboxsw> 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] <blackboxsw> `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] <blackboxsw> yet /var/tmp/a2551de0-9eb7-4100-be66-24b34e2b492a.tmp still exists on the test instance
[21:54] <blackboxsw> 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] <blackboxsw> heh: "mv: cannot create regular file '/etc/cloud/cloud.cfg.d/99-detect-lxd.cfg': Permission denied"
[21:55] <blackboxsw> okey dokey will have an integration test fix in a min