This warning is nice to be fixed but I'm not inclined to believe that's the root cause of `ReturnCode: 1`. The real error is something else I suppose. I would check /var/log/glance-simplestreams-sync.log to see what's going on.
$ python3 --version
Python 3.10.4
$ python3 -c 'import yaml; foo = yaml.load("bar")'; echo ret=$?
<string>:1: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
ret=0
This warning is nice to be fixed but I'm not inclined to believe that's the root cause of `ReturnCode: 1`. The real error is something else I suppose. I would check /var/log/ glance- simplestreams- sync.log to see what's going on.
$ python3 --version
Python 3.10.4
$ python3 -c 'import yaml; foo = yaml.load("bar")'; echo ret=$? /msg.pyyaml. org/load for full details.
<string>:1: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https:/
ret=0
Just for reference, the deprecation warning was there for some time and it wasn't blocking the action. /bugs.launchpad .net/charm- glance- simplestreams- sync/+bug/ 1939839
https:/