yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #78789
[Bug 1831963] [NEW] unit tests fails with new glance_store version 0.29.0
Public bug reported:
Around 11 unit tests are failing [1] after recent patch [2] to set
_url_prefix to store instance is merged. The reason for failure is unit
tests tries to create rbd store [3] which is now tries to connect to
Rados. As we all know that the zuul jobs does not support ceph/rbd it
does not install dependent modules of rbd/ceph, which causes the
failure.
File "/home/zuul/src/opendev.org/openstack/glance/.tox/py27/local/lib/python2.7/site-packages/glance_store/_drivers/rbd.py", line 270, in get_connection
client = rados.Rados(conffile=conffile, rados_id=rados_id)
AttributeError: 'NoneType' object has no attribute 'Rados'
To avoid these kind of failures, need to drop rbd store from loading as
it is not supported in gate.
[1] http://logs.openstack.org/40/663740/1/check/cross-glance-py27/50a9a9c/testr_results.html.gz
[2] https://review.opendev.org/660340
[3] https://github.com/openstack/glance/blob/master/glance/tests/unit/base.py#L75
** Affects: glance
Importance: Critical
Assignee: Abhishek Kekane (abhishek-kekane)
Status: New
** Changed in: glance
Assignee: (unassigned) => Abhishek Kekane (abhishek-kekane)
** Changed in: glance
Importance: Undecided => Critical
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1831963
Title:
unit tests fails with new glance_store version 0.29.0
Status in Glance:
New
Bug description:
Around 11 unit tests are failing [1] after recent patch [2] to set
_url_prefix to store instance is merged. The reason for failure is
unit tests tries to create rbd store [3] which is now tries to connect
to Rados. As we all know that the zuul jobs does not support ceph/rbd
it does not install dependent modules of rbd/ceph, which causes the
failure.
File "/home/zuul/src/opendev.org/openstack/glance/.tox/py27/local/lib/python2.7/site-packages/glance_store/_drivers/rbd.py", line 270, in get_connection
client = rados.Rados(conffile=conffile, rados_id=rados_id)
AttributeError: 'NoneType' object has no attribute 'Rados'
To avoid these kind of failures, need to drop rbd store from loading
as it is not supported in gate.
[1] http://logs.openstack.org/40/663740/1/check/cross-glance-py27/50a9a9c/testr_results.html.gz
[2] https://review.opendev.org/660340
[3] https://github.com/openstack/glance/blob/master/glance/tests/unit/base.py#L75
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1831963/+subscriptions
Follow ups