Project

General

Profile

Actions

Bug #22137

open

improve error message from subscription-manager failures

Added by Vasu Kulkarni over 6 years ago. Updated over 6 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

when ansible fails to configure subscription manager we get some weird error message, i think we can set the failure_msg properly to indicate the error

eg from : http://pulpito.ceph.redhat.com/vasu-2017-11-14_14:30:00-rbd-luminous---basic-multi/

http://magna002.ceph.redhat.com/vasu-2017-11-14_14:30:00-rbd-luminous---basic-multi/280886/teuthology.log


    return self.fetch_plain()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_rh/virtualenv/local/lib/python2.7/site-packages/yaml/scanner.py", line 676, in fetch_plain
    self.tokens.append(self.scan_plain())
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_rh/virtualenv/local/lib/python2.7/site-packages/yaml/scanner.py", line 1305, in scan_plain
    "Please check http://pyyaml.org/wiki/YAMLColonInFlowContext for details.")
ScannerError: while scanning a plain scalar
  in "/tmp/teuth_ansible_failures_Ez3HdK", line 1, column 266
found unexpected ':'
  in "/tmp/teuth_ansible_failures_Ez3HdK", line 1, column 281
Please check http://pyyaml.org/wiki/YAMLColonInFlowContext for details.

Actions #1

Updated by David Galloway over 6 years ago

  • Project changed from 19 to teuthology
Actions

Also available in: Atom PDF