Project

General

Profile

Actions

Bug #43755

closed

qa/tasks/cephadm.py breaks with --ceph-repo teuthology option

Added by Jan Fajerski over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
teuthology
Target version:
-
% Done:

0%

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

Description

Say I want to run teuthology on my cloned repo, I pass --ceph-repo https://github.com/jan--f/ceph.git.

This breaks the cepadm task as the url is fed to download_cephadm() and git archive errors when it gets a https remote url:

git archive --remote=https://github.com/ceph/ceph.git 80fa7deacaf86abd2058512c121e5c6f38f2caff src/cephadm/cephadm
fatal: operation not supported by protocol

This might be github specfic.

We could just curl from githubs archive pages, but I don't know if that works for git.ceph.com and other git remotes.

Actions #1

Updated by Sebastian Wagner over 4 years ago

  • Description updated (diff)
  • Category set to teuthology
Actions #2

Updated by Jan Fajerski over 4 years ago

  • Description updated (diff)
  • Category deleted (teuthology)
  • Status changed from New to Fix Under Review
  • Pull request ID set to 32787
Actions #3

Updated by Jan Fajerski over 4 years ago

  • Category set to teuthology
Actions #4

Updated by Sage Weil over 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF