Bug 1923789
Summary: | RBD _get_pool_stats fails on Ceph Pacific | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | wes hayutin <whayutin> |
Component: | openstack-cinder | Assignee: | Eric Harney <eharney> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Tzach Shefi <tshefi> |
Severity: | urgent | Docs Contact: | Chuck Copello <ccopello> |
Priority: | urgent | ||
Version: | 17.0 (Wallaby) | CC: | athomas, eglynn, gcharot, geguileo, gfidente, jvisser, ltoscano, pgrist, sandyada, senrique |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-cinder-17.1.0-0.20210217042010.bdfcdb6.el8ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-04-01 10:36:59 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1925312 |
Description
wes hayutin
2021-02-01 22:18:08 UTC
glance is failing to upload the image because there is an error in stats report from cinder-volume [1] Line 560 in rbd driver is failing with : Error starting thread.: TypeError: Argument 'inbuf' has incorrect type (expected bytes, got str) but that seems a 4 years old piece of code; Ceph cluster seems healthy from logs [2] 1. https://sf.hosted.upshift.rdu2.redhat.com/logs/openstack-periodic-rhos-17/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-rhel-8-scenario001-standalone-rhos-17/98cc08c/logs/undercloud/var/log/containers/cinder/cinder-volume.log 2. https://sf.hosted.upshift.rdu2.redhat.com/logs/openstack-periodic-rhos-17/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-rhel-8-scenario001-standalone-rhos-17/98cc08c/logs/undercloud/var/log/extra/podman/containers/ceph-mon-standalone/stdout.log This error seems to be caused by the annotations that were "recently" added to Ceph's `mon_command` [1][2] in the rados Python library. The jobs must be running with a newer library version. We need to pin it to a lower one until we fix the RBD Cinder driver. [1]: https://github.com/ceph/ceph/commit/51a2a72215ac93836ccc37733607b8e97d808e10 + @requires(('cmd': str), ('inbuf': bytes), ('timeout', opt(int)), ('target', opt(str))) def mon_command(self, cmd, inbuf, timeout=0, target=None): [2]: https://github.com/ceph/ceph/commit/bbf9f5bbe32b37bb1b79bbca4b9cc726dbb2cf34#diff-bc4ce88c894231511678ecdbb17afe336c30badb9dc7a820d10324fafdcf83e7L1359 - @requires(('cmd': str), ('inbuf': bytes), ('timeout', opt(int)), ('target', opt(str))) - def mon_command(self, cmd, inbuf, timeout=0, target=None): + def mon_command(self, + cmd: str, + inbuf: bytes, + timeout: int = 0, + target: Optional[Union[str, int]] = None) -> Tuple[int, str, bytes]: I guess addressed by https://review.opendev.org/c/openstack/cinder/+/773694 This has been addressed. |