From users-return-209-apmail-libcloud-users-archive=libcloud.apache.org@libcloud.apache.org Tue Jun 4 20:09:46 2013 Return-Path: X-Original-To: apmail-libcloud-users-archive@minotaur.apache.org Delivered-To: apmail-libcloud-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7AE6E1046C for ; Tue, 4 Jun 2013 20:09:46 +0000 (UTC) Received: (qmail 50959 invoked by uid 500); 4 Jun 2013 20:09:46 -0000 Delivered-To: apmail-libcloud-users-archive@libcloud.apache.org Received: (qmail 50943 invoked by uid 500); 4 Jun 2013 20:09:46 -0000 Mailing-List: contact users-help@libcloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@libcloud.apache.org Delivered-To: mailing list users@libcloud.apache.org Received: (qmail 50935 invoked by uid 99); 4 Jun 2013 20:09:46 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2013 20:09:46 +0000 Received: from localhost (HELO mail-ie0-f170.google.com) (127.0.0.1) (smtp-auth username tomaz, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Jun 2013 20:09:46 +0000 Received: by mail-ie0-f170.google.com with SMTP id e14so1516696iej.1 for ; Tue, 04 Jun 2013 13:09:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=alvvRtnw3ZSgKVonrfuzR4pEEebpWW5YaFTKrnKaYfk=; b=Cqb04hcc8A8m7ELzEIb3SesQfOAZZQUqqF9KXjvyH/PdezSV8YOkkgEv0IuALzmUwW 2puHwCRfhosGApl9/Raatt6SfPYKzx3YsCv1k92ufIoWK7qvxQL8crc9wM64jHuQuJM1 Iy+0IzQPqsF1pxVscq6AnsZ3vmQEatj+SCFgFSkxk1RzAmX3vJV8UOoqWPnTHhJ62243 kkNexue5ewIe0yXk0hVpBnVSTJOr1fWh0+y0KBFHzs9ay0B/pnJ2bsijUoMPhDuuFC2J Uc87CTOHMaSXdUGwAa4zpLG59NWc4VAMDxkP6q2AelmNMF+nJL19YUqQc9kBv2Z4A5VX 2LLA== X-Received: by 10.50.44.111 with SMTP id d15mr1804221igm.65.1370376585077; Tue, 04 Jun 2013 13:09:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.50.152.229 with HTTP; Tue, 4 Jun 2013 13:09:24 -0700 (PDT) In-Reply-To: References: From: Tomaz Muraus Date: Tue, 4 Jun 2013 13:09:24 -0700 Message-ID: Subject: Re: connecting to rackspace To: users@libcloud.apache.org Cc: martin.vu@gmail.com Content-Type: multipart/alternative; boundary=047d7b5da8a79195fa04de59a94e X-Gm-Message-State: ALoCoQlpM9otxEO2DVNVRpBrBwrWWyDk1Ard8JnrDkk8Q7isdwFjuwdfQRk4MojHeB+9NhJbiu8Y --047d7b5da8a79195fa04de59a94e Content-Type: text/plain; charset=ISO-8859-1 Run it with LIBCLOUD_DEBUG (http://libcloud.apache.org/docs/debugging.html) and post the whole output here so we can see to which host it's actually trying to connect. On Tue, Jun 4, 2013 at 12:57 PM, martin vu wrote: > hi > > does anyone have any idea why I get this when connecting to rackspace > cloud, this has worked previously > > I am using > > Driver = get_driver(getattr(Provider, LOCATION)) > conn = Driver(RACKSPACE_USER, RACKSPACE_KEY) > > conn.list_images() > > and I get this following error > > /usr/lib64/python2.7/httplib.pyc in connect(self) > 1155 > 1156 sock = socket.create_connection((self.host, self.port), > -> 1157 self.timeout, > self.source_address) > 1158 if self._tunnel_host: > 1159 self.sock = sock > > /usr/lib64/python2.7/socket.pyc in create_connection(address, timeout, > source_address) > 551 host, port = address > 552 err = None > --> 553 for res in getaddrinfo(host, port, 0, SOCK_STREAM): > 554 af, socktype, proto, canonname, sa = res > 555 sock = None > > gaierror: [Errno -2] Name or service not known > --047d7b5da8a79195fa04de59a94e--