Comment 2 for bug 1979260

Revision history for this message
Nobuto Murata (nobuto) wrote (last edit ):

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 for full details.

Just for reference, the deprecation warning was there for some time and it wasn't blocking the action.