All of lore.kernel.org
 help / color / mirror / Atom feed
From: wangsongbo <songbo1227@gmail.com>
To: Loic Dachary <loic@dachary.org>
Cc: ceph-devel <ceph-devel@vger.kernel.org>
Subject: Re: failed to open http://apt-mirror.front.sepia.ceph.com
Date: Thu, 24 Sep 2015 12:10:13 +0800	[thread overview]
Message-ID: <560377A5.7070803@gmail.com> (raw)
In-Reply-To: <5602DAE0.4000403@dachary.org>

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

Thanks and Regards,
WangSongbo

On 15/9/24 上午1:01, Loic Dachary wrote:
>
> On 23/09/2015 18:50, wangsongbo wrote:
>> 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
>
>> Thanks and Regards,
>> WangSongbo
>>
>> On 15/9/23 下午11:22, Loic Dachary wrote:
>>> On 23/09/2015 15:11, Sage Weil wrote:
>>>> On Wed, 23 Sep 2015, Loic Dachary wrote:
>>>>> Hi,
>>>>>
>>>>> On 23/09/2015 12:29, wangsongbo wrote:
>>>>>> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      reply	other threads:[~2015-09-24  4:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-23 10:28 failed to open http://apt-mirror.front.sepia.ceph.com wangsongbo
2015-09-23 10:29 ` wangsongbo
2015-09-23 11:08   ` Loic Dachary
2015-09-23 13:11     ` Sage Weil
2015-09-23 15:22       ` Loic Dachary
2015-09-23 16:50         ` wangsongbo
2015-09-23 17:01           ` Loic Dachary
2015-09-24  4:10             ` wangsongbo [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=560377A5.7070803@gmail.com \
    --to=songbo1227@gmail.com \
    --cc=ceph-devel@vger.kernel.org \
    --cc=loic@dachary.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.