Bug #9032
closedceph-deploy over proxy
0%
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.
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.