Project

General

Profile

Actions

Bug #9032

closed

ceph-deploy over proxy

Added by TJ Walker over 9 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Description

I have my servers working behind a proxy. When I run the ceph-deploy install command I get an error:
[ceph01][INFO ] Running command: sudo rpm --import https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc
[ceph01][WARNIN] curl: (7) couldn't connect to host
[ceph01][WARNIN] error: https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc: import read failed(2).
[ceph01][ERROR ] RuntimeError: command returned non-zero exit status: 1
[ceph_deploy][ERROR ] RuntimeError: Failed to execute command: rpm --import https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc

When I run the command locally it fails as well but if I runthe command with quotes: sudo rpm --import "https://ceph.com/git/?p=ceph.git;a=blob_plain;f=keys/release.asc" it completes but the script doesn't run it with quotes. Also I have tried the option --gpg-url and pointed it to a local web server that has the key but it seems to ignore that option.

Actions #1

Updated by Ian Colle over 9 years ago

  • Assignee set to Alfredo Deza
Actions #2

Updated by Alfredo Deza over 9 years ago

  • Status changed from New to Rejected

The `--gpg-url` is only valid if you are pointing to a custom repo.

What you need to do is create a custom repo section with the details of your mirror, and
point the gpg url to where you need (as described here http://ceph.com/ceph-deploy/docs/conf.html#repository-sections)

If ceph-deploy still insists in fetching the GPG url from ceph, you could force it not to with `--no-adjust-repos`

If the above solutions do not work, feel free to re-open this ticket with the log output on how it fails, including the cephdeploy.conf file
contents.

This is not an issue, so closing.

Actions

Also available in: Atom PDF