Skip to contentSkip to conversation

failed to open http://apt-mirror.front.sepia.ceph.com

DISCUSSION wangsongbo 4 participants 8 messages Sep 23, 2015 – Sep 24, 2015

lore
Share & tools
lore

wangsongbo

author
#0 lore raw

Hi Loic and other Cephers,

I am running teuthology-suites in our testing, because the connection to "apt-mirror.front.sepia.ceph.com" timed out , "ceph-cm-ansible" failed. And from a web-browser, I got the response like this : "502 Bad Gateway".

"64.90.32.37 apt-mirror.front.sepia.ceph.com" has been added to /etc/hosts.

Did the resources have been removed ?

Thanks and Regards,
WangSongbo

_______________________________________________
ceph-users mailing list [email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

#1 lore raw

Hi Loic and other Cephers,

I am running teuthology-suites in our testing, because the connection to "apt-mirror.front.sepia.ceph.com" timed out , "ceph-cm-ansible" failed. And from a web-browser, I got the response like this : "502 Bad Gateway".
"64.90.32.37 apt-mirror.front.sepia.ceph.com" has been added to /etc/hosts.
Did the resources have been removed ?

Thanks and Regards,
WangSongbo

#2 lore raw

Hi,

Quoted 1 line · wangsongbo

64.90.32.37 apt-mirror.front.sepia.ceph.com

It works for me. Could you send a traceroute apt-mirror.front.sepia.ceph.com ?

Cheers

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
#3 lore raw
Quoted 7 lines · Loic Dachary

Hi,

Quoted 1 line · wangsongbo

64.90.32.37 apt-mirror.front.sepia.ceph.com

It works for me. Could you send a traceroute
apt-mirror.front.sepia.ceph.com ?

This is a private IP internal to the sepia lab. Anythign outside the lab shouldn't be using it...

sage

#4 lore raw
Quoted 11 lines · Sage Weil
Quoted 7 lines · Loic Dachary

Hi,

Quoted 1 line · wangsongbo

64.90.32.37 apt-mirror.front.sepia.ceph.com

It works for me. Could you send a traceroute
apt-mirror.front.sepia.ceph.com ?

This is a private IP internal to the sepia lab. Anythign outside the lab shouldn't be using it...

This is the public facing IP and is required for teuthology to run outside of the lab (http://tracker.ceph.com/issues/12212).

64.90.32.37 apt-mirror.front.sepia.ceph.com

suggests the workaround was used. And a traceroute will confirm if the resolution happens as expected (with the public IP) or with a private IP (meaning the workaround is not in place where it should).

Cheers

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
#5 lore raw

Sage and Loic,
Thanks for your reply.
I am running teuthology in our testing.I can send a traceroute to 64.90.32.37.
but when ceph-cm-ansible run the " yum-complete-transaction --cleanup-only" command,
it got such a response :"http://apt-mirror.front.sepia.ceph.com/misc-rpms/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed connect to apt-mirror.front.sepia.ceph.com:80; Connection timed out" And I replace "apt-mirror.front.sepia.ceph.com" to "64.90.32.37" in repo file, then run "yum-complete-transaction --cleanup-only" command,
I got a response like this:"http://64.90.32.37/misc-rpms/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 502 Bad Gateway""
I do not know whether it was affected by the last week's attack.

Thanks and Regards,
WangSongbo

Quoted 11 lines · Loic Dachary
Quoted 9 lines · Sage Weil
Quoted 6 lines · Loic Dachary

Hi,

Quoted 1 line · wangsongbo

64.90.32.37 apt-mirror.front.sepia.ceph.com

It works for me. Could you send a traceroute
apt-mirror.front.sepia.ceph.com ?

This is a private IP internal to the sepia lab. Anythign outside the lab shouldn't be using it...

Quoted 8 lines

This is the public facing IP and is required for teuthology to run outside of the lab (http://tracker.ceph.com/issues/12212).

64.90.32.37 apt-mirror.front.sepia.ceph.com

suggests the workaround was used. And a traceroute will confirm if the resolution happens as expected (with the public IP) or with a private IP (meaning the workaround is not in place where it should).

Cheers

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#6 lore raw
Quoted 8 lines · wangsongbo

Sage and Loic,
Thanks for your reply.
I am running teuthology in our testing.I can send a traceroute to 64.90.32.37.
but when ceph-cm-ansible run the " yum-complete-transaction --cleanup-only" command,
it got such a response :"http://apt-mirror.front.sepia.ceph.com/misc-rpms/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed connect to apt-mirror.front.sepia.ceph.com:80; Connection timed out" And I replace "apt-mirror.front.sepia.ceph.com" to "64.90.32.37" in repo file, then run "yum-complete-transaction --cleanup-only" command,
I got a response like this:"http://64.90.32.37/misc-rpms/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 502 Bad Gateway""
I do not know whether it was affected by the last week's attack.

Querying the IP directly won't get you where the mirror is (it's a vhost). I think ansible fails because it queries the DNS and does not use the entry you set in the /etc/hosts file. The OpenStack teuthology backend sets a specific entry in the DNS to workaround the problem (see https://github.com/ceph/teuthology/blob/master/teuthology/openstack/setup-openstack.sh#L318)

Cheers

Quoted 25 lines

Thanks and Regards,
WangSongbo

Quoted 19 lines · Loic Dachary
Quoted 9 lines · Sage Weil
Quoted 6 lines · Loic Dachary

Hi,

Quoted 1 line · wangsongbo

64.90.32.37 apt-mirror.front.sepia.ceph.com

It works for me. Could you send a traceroute
apt-mirror.front.sepia.ceph.com ?

This is a private IP internal to the sepia lab. Anythign outside the lab shouldn't be using it...

This is the public facing IP and is required for teuthology to run outside of the lab (http://tracker.ceph.com/issues/12212).

64.90.32.37 apt-mirror.front.sepia.ceph.com

suggests the workaround was used. And a traceroute will confirm if the resolution happens as expected (with the public IP) or with a private IP (meaning the workaround is not in place where it should).

Cheers

Signature · 1 line
Loïc Dachary, Artisan Logiciel Libre
#7 lore raw

Loic, It's my fault. The dns server I set is unreachable. when I modify that , everything is ok.

Thanks and Regards,
WangSongbo

Quoted 10 lines · Loic Dachary
Quoted 8 lines · wangsongbo

Sage and Loic,
Thanks for your reply.
I am running teuthology in our testing.I can send a traceroute to 64.90.32.37.
but when ceph-cm-ansible run the " yum-complete-transaction --cleanup-only" command,
it got such a response :"http://apt-mirror.front.sepia.ceph.com/misc-rpms/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - "Failed connect to apt-mirror.front.sepia.ceph.com:80; Connection timed out" And I replace "apt-mirror.front.sepia.ceph.com" to "64.90.32.37" in repo file, then run "yum-complete-transaction --cleanup-only" command,
I got a response like this:"http://64.90.32.37/misc-rpms/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 502 Bad Gateway""
I do not know whether it was affected by the last week's attack.

Quoted 26 lines

Querying the IP directly won't get you where the mirror is (it's a vhost). I think ansible fails because it queries the DNS and does not use the entry you set in the /etc/hosts file. The OpenStack teuthology backend sets a specific entry in the DNS to workaround the problem (see https://github.com/ceph/teuthology/blob/master/teuthology/openstack/setup-openstack.sh#L318)

Cheers

Quoted 22 lines

Thanks and Regards,
WangSongbo

Quoted 18 lines · Loic Dachary
Quoted 9 lines · Sage Weil
Quoted 6 lines · Loic Dachary

Hi,

Quoted 1 line · wangsongbo

64.90.32.37 apt-mirror.front.sepia.ceph.com

It works for me. Could you send a traceroute
apt-mirror.front.sepia.ceph.com ?

This is a private IP internal to the sepia lab. Anythign outside the lab shouldn't be using it...

This is the public facing IP and is required for teuthology to run outside of the lab (http://tracker.ceph.com/issues/12212).

64.90.32.37 apt-mirror.front.sepia.ceph.com

suggests the workaround was used. And a traceroute will confirm if the resolution happens as expected (with the public IP) or with a private IP (meaning the workaround is not in place where it should).

Cheers

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html