Did you apply the changes to the containers.conf file on all hosts?
The MGR daemon is issuing the cephadm commands on the remote hosts, so
it would need that as well. That setup works for me quite well for
years now. What distro is your host running on? We mostly use openSUSE
or SLES, but I also had that successfully running on Ubuntu VMs the
same way.
Zitat von Majid Varzideh <m.varzideh@xxxxxxxxx>:
Thanks for your responses.
locally it is ok and i can get images without any issue. Also I set proxy
parameters in containers.conf but no result.
it seems that env proxy parameters are not known to user issuing get
commands,
On Wed, Sep 27, 2023 at 11:00 AM Eugen Block <eblock@xxxxxx> wrote:
You'll need a containers.conf file:
# cat /etc/containers/containers.conf
[engine]
env = ["http_proxy=<IP>:<PORT>", "https_proxy=<IP>:<PORT>",
"no_proxy=localhost"]
Restarting the container should apply the change. Make sure you also
have the correct no_proxy settings, for example so the ceph servers
don't communicate via proxy with each other.
Zitat von Majid Varzideh <m.varzideh@xxxxxxxxx>:
> hi friends
> i have deployed my first node in cluster. we dont have direct internet on
> my server so i have to set proxy for that.i set it /etc/environment
> /etc/profile but i get bellow error
> 2023-09-26 17:09:38,254 7f04058b4b80 DEBUG
>
--------------------------------------------------------------------------------
> cephadm ['--image', 'quay.io/ceph/ceph:v17', 'pull']
> 2023-09-26 17:09:38,302 7f04058b4b80 INFO Pulling container image
> quay.io/ceph/ceph:v17...
> 2023-09-26 17:09:42,083 7f04058b4b80 INFO Non-zero exit code 125 from
> /usr/bin/podman pull quay.io/ceph/ceph:v17
> 2023-09-26 17:09:42,083 7f04058b4b80 INFO /usr/bin/podman: stderr Trying
to
> pull quay.io/ceph/ceph:v17...
> 2023-09-26 17:09:42,084 7f04058b4b80 INFO /usr/bin/podman: stderr
> time="2023-09-26T17:09:38+03:30" level=warning msg="Failed, retrying in
1s
> ... (1/3). Error: initializing source docker://quay.io/ceph/ceph:v17:
> pinging container registry quay.io: Get \"https://quay.io/v2/\": dial
tcp
> 34.228.154.221:443: connect: connection refused"
> 2023-09-26 17:09:42,084 7f04058b4b80 INFO /usr/bin/podman: stderr
> time="2023-09-26T17:09:39+03:30" level=warning msg="Failed, retrying in
1s
> ... (2/3). Error: initializing source docker://quay.io/ceph/ceph:v17:
> pinging container registry quay.io: Get \"https://quay.io/v2/\": dial
tcp
> 3.220.246.53:443: connect: connection refused"
> 2023-09-26 17:09:42,084 7f04058b4b80 INFO /usr/bin/podman: stderr
> time="2023-09-26T17:09:40+03:30" level=warning msg="Failed, retrying in
1s
> ... (3/3). Error: initializing source docker://quay.io/ceph/ceph:v17:
> pinging container registry quay.io: Get \"https://quay.io/v2/\": dial
tcp
> 18.213.60.205:443: connect: connection refused"
> 2023-09-26 17:09:42,084 7f04058b4b80 INFO /usr/bin/podman: stderr Error:
> initializing source docker://quay.io/ceph/ceph:v17: pinging container
> registry quay.io: Get "https://quay.io/v2/": dial tcp 34.231.182.47:443:
> connect: connection refused
> 2023-09-26 17:09:42,084 7f04058b4b80 ERROR ERROR: Failed command:
> /usr/bin/podman pull quay.io/ceph/ceph:v17
>
>
> would you please help.
> thanks,
> _______________________________________________
> ceph-users mailing list -- ceph-users@xxxxxxx
> To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx