manage-projects is inscrutable on gerrit failures

Bug #1220620 reported by Robert Collins
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Core Infrastructure
Triaged
Low
Unassigned

Bug Description

gerritlib is to blame, but consider:
# manage-projects
/usr/local/lib/python2.7/dist-packages/paramiko/client.py:95: UserWarning: Unknown ssh-rsa host key for [localhost]:29418: e862bb16532032940655481160e98419
  (key.get_name(), hostname, hexlify(key.get_fingerprint())))
Traceback (most recent call last):
  File "/usr/local/bin/manage-projects", line 10, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/jeepyb/cmd/manage_projects.py", line 358, in main
    gerrit.createProject(project)
  File "/usr/local/lib/python2.7/dist-packages/gerritlib/gerrit.py", line 126, in createProject
    out, err = self._ssh(cmd)
  File "/usr/local/lib/python2.7/dist-packages/gerritlib/gerrit.py", line 184, in _ssh
    raise Exception("Gerrit error executing %s" % command)
Exception: Gerrit error executing gerrit create-project --require-change-id --name testing-cabal/testtools
#

gerrit logs the output as debug, but manage-projects has no facility for setting the log level/logging to a file etc.

James E. Blair (corvus)
Changed in openstack-ci:
status: New → Triaged
importance: Undecided → Low
milestone: none → havana
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.