]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
teuthology/beanstalk: workaround yaml load deprecation 1697/head
authorKyr Shatskyy <kyrylo.shatskyy@suse.com>
Wed, 17 Nov 2021 21:49:30 +0000 (22:49 +0100)
committerKyr Shatskyy <kyrylo.shatskyy@suse.com>
Fri, 19 Nov 2021 09:08:21 +0000 (10:08 +0100)
commit0757c5a68e84a9b90d13984d509c838f309fab35
tree470c80844e9443bfbed2735a9fe4906e71581c66
parent6cfddd5e1c7d5ede1367cf3087c21af44eb88356
teuthology/beanstalk: workaround yaml load deprecation

There is a deprecation error when beanstalk parser called:

  YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe

Since beanstalkc3 does not want to apply a fix for that
we can override yaml parser to suppress the error message
from the log.

Fixes: https://tracker.ceph.com/issues/44225
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@suse.com>
teuthology/beanstalk.py