Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kraken: tests: ignore bogus ceph-objectstore-tool error in ceph_manager #13239

Merged
merged 2 commits into from Feb 9, 2017

Conversation

smithfarm
Copy link
Contributor

Fixes: http://tracker.ceph.com/issues/16263
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 046e873)
@smithfarm smithfarm self-assigned this Feb 3, 2017
@smithfarm smithfarm added this to the kraken milestone Feb 3, 2017
@smithfarm smithfarm changed the title kraken: ERROR: Export PG's map_epoch 3901 > OSD's epoch 3281 in upgrade:infernalis-x-jewel-distro-basic-vps kraken: tests: ignore bogus ceph-objectstore-tool error in ceph_manager Feb 3, 2017
ceph#13194 introduced a regression:

2017-02-06T16:14:23.162 INFO:tasks.thrashosds.thrasher:Traceback (most recent call last):
  File "/home/teuthworker/src/github.com_ceph_ceph_master/qa/tasks/ceph_manager.py", line 722, in wrapper
    return func(self)
  File "/home/teuthworker/src/github.com_ceph_ceph_master/qa/tasks/ceph_manager.py", line 839, in do_thrash
    self.choose_action()()
  File "/home/teuthworker/src/github.com_ceph_ceph_master/qa/tasks/ceph_manager.py", line 305, in kill_osd
    output = proc.stderr.getvalue()
AttributeError: 'NoneType' object has no attribute 'getvalue'

This is because the original patch failed to pass "stderr=StringIO()" to run().

Fixes: http://tracker.ceph.com/issues/16263
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit db2582e)
@smithfarm
Copy link
Contributor Author

@tchaikov Can this be merged as-is, without testing?

@tchaikov tchaikov merged commit 958a4c9 into ceph:kraken Feb 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants