Project

General

Profile

Actions

Bug #44225

open

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

Added by Nathan Cutler about 4 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

(virtualenv) smithfarm@teuthology:~$ teuthology-kill -m smithi -r smithfarm-2020-02-20_09:21:00-rados:cephadm:smoke-master-distro-basic-smithi
2020-02-20 11:16:43,840.840 INFO:teuthology.kill:Assembling run information...
2020-02-20 11:16:43,886.886 INFO:teuthology.kill:Checking Beanstalk Queue...
/home/smithfarm/teuthology/virtualenv/local/lib/python2.7/site-packages/beanstalkc.py:141: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
  return self._parse_yaml(body)

We should probably take some kind of action here. Maybe this warning will go away once teuthology has been ported to Python 3, though.

Actions #1

Updated by Nathan Cutler about 4 years ago

  • Description updated (diff)
Actions #2

Updated by Kyrylo Shatskyy almost 4 years ago

This is beanstalk python module problem, I saw people raised PRs in github but maintainers of beanstalk did not applied it.
We actually can fork to ceph namespace and bundle our own package on pypi, or just install from source.

Actions

Also available in: Atom PDF