Project

General

Profile

Actions

Bug #17288

closed

ceph-deploy auth get client.admin fails in master branch

Added by Vasu Kulkarni over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
High
Category:
-
Target version:
-
% Done:

0%

Source:
other
Tags:
Backport:
Regression:
No
Severity:
5 - suggestion
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

ceph-deploy seems to be broken for master branch


2016-09-16T18:21:49.075 INFO:teuthology.orchestra.run.vpm011.stderr:[vpm011][INFO  ] Running command: sudo /usr/bin/ceph --connect-timeout=25 --cluster=ceph --admin-daemon=/var/run/ceph/ceph-mon.vpm011.asok mon_status
2016-09-16T18:21:49.219 INFO:teuthology.orchestra.run.vpm011.stderr:[vpm011][INFO  ] Running command: sudo /usr/bin/ceph --connect-timeout=25 --cluster=ceph --name mon. --keyring=/var/lib/ceph/mon/ceph-vpm011/keyring auth get client.admin
2016-09-16T18:26:49.228 INFO:teuthology.orchestra.run.vpm011.stderr:[vpm011][WARNING] No data was received after 300 seconds, disconnecting...
2016-09-16T18:26:49.228 INFO:teuthology.orchestra.run.vpm011.stderr:[vpm011][ERROR ] "ceph auth get-or-create for keytype admin returned -1
2016-09-16T18:26:49.228 INFO:teuthology.orchestra.run.vpm011.stderr:Traceback (most recent call last):
2016-09-16T18:26:49.229 INFO:teuthology.orchestra.run.vpm011.stderr:  File "/usr/lib64/python2.7/logging/__init__.py", line 851, in emit
2016-09-16T18:26:49.229 INFO:teuthology.orchestra.run.vpm011.stderr:    msg = self.format(record)
2016-09-16T18:26:49.229 INFO:teuthology.orchestra.run.vpm011.stderr:  File "/usr/lib64/python2.7/logging/__init__.py", line 724, in format
2016-09-16T18:26:49.229 INFO:teuthology.orchestra.run.vpm011.stderr:    return fmt.format(record)
2016-09-16T18:26:49.229 INFO:teuthology.orchestra.run.vpm011.stderr:  File "/home/ubuntu/cephtest/ceph-deploy/ceph_deploy/util/log.py", line 56, in format
2016-09-16T18:26:49.230 INFO:teuthology.orchestra.run.vpm011.stderr:    return logging.Formatter.format(self, record)
2016-09-16T18:26:49.230 INFO:teuthology.orchestra.run.vpm011.stderr:  File "/usr/lib64/python2.7/logging/__init__.py", line 464, in format
2016-09-16T18:26:49.230 INFO:teuthology.orchestra.run.vpm011.stderr:    record.message = record.getMessage()
2016-09-16T18:26:49.230 INFO:teuthology.orchestra.run.vpm011.stderr:  File "/usr/lib64/python2.7/logging/__init__.py", line 328, in getMessage
2016-09-16T18:26:49.230 INFO:teuthology.orchestra.run.vpm011.stderr:    msg = msg % self.args
2016-09-16T18:26:49.231 INFO:teuthology.orchestra.run.vpm011.stderr:TypeError: not all arguments converted during string formatting
2016-09-16T18:26:49.231 INFO:teuthology.orchestra.run.vpm011.stderr:Logged from file gatherkeys.py, line 213
2016-09-16T18:26:49.231 INFO:teuthology.orchestra.run.vpm011.stderr:Traceback (most recent call last):
2016-09-16T18:26:49.231 INFO:teuthology.orchestra.run.vpm011.stderr:  File "/usr/lib64/python2.7/logging/__init__.py", line 851, in emit
2016-09-16T18:26:49.232 INFO:teuthology.orchestra.run.vpm011.stderr:    msg = self.format(record)
2016-09-16T18:26:49.232 INFO:teuthology.orchestra.run.vpm011.stderr:  File "/usr/lib64/python2.7/logging/__init__.py", line 724, in format
2016-09-16T18:26:49.232 INFO:teuthology.orchestra.run.vpm011.stderr:    return fmt.format(record)
2016-09-16T18:26:49.233 INFO:teuthology.orchestra.run.vpm011.stderr:  File "/usr/lib64/python2.7/logging/__init__.py", line 464, in format
2016-09-16T18:26:49.233 INFO:teuthology.orchestra.run.vpm011.stderr:    record.message = record.getMessage()
2016-09-16T18:26:49.233 INFO:teuthology.orchestra.run.vpm011.stderr:  File "/usr/lib64/python2.7/logging/__init__.py", line 328, in getMessage
2016-09-16T18:26:49.233 INFO:teuthology.orchestra.run.vpm011.stderr:    msg = msg % self.args
2016-09-16T18:26:49.234 INFO:teuthology.orchestra.run.vpm011.stderr:TypeError: not all arguments converted during string formatting
2016-09-16T18:26:49.234 INFO:teuthology.orchestra.run.vpm011.stderr:Logged from file gatherkeys.py, line 213

Actions #1

Updated by Vasu Kulkarni over 7 years ago

John,

Is there anything that needs to be handled in ceph-deploy for this pr https://github.com/ceph/ceph/pull/10415? or is this unrelated to this failure?
master branch: http://qa-proxy.ceph.com/teuthology/vasu-2016-09-16_17:55:51-ceph-deploy-master---basic-vps/420004/teuthology.log

Actions #2

Updated by John Spray over 7 years ago

  • Assignee changed from John Spray to Vasu Kulkarni

No, that PR was not a behavioural change outside of the case it fixed.

Actions #3

Updated by John Spray over 7 years ago

  • Status changed from New to Resolved
  • Assignee changed from Vasu Kulkarni to Patrick Donnelly
  • Severity changed from 3 - minor to 5 - suggestion

I stand corrected! Patrick has posted a fix here: https://github.com/ceph/ceph/pull/11123 and I've merged it

Actions

Also available in: Atom PDF