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.