Return-Path: X-Original-To: apmail-deltacloud-dev-archive@www.apache.org Delivered-To: apmail-deltacloud-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 912E9D660 for ; Fri, 7 Sep 2012 11:01:15 +0000 (UTC) Received: (qmail 45564 invoked by uid 500); 7 Sep 2012 11:01:15 -0000 Delivered-To: apmail-deltacloud-dev-archive@deltacloud.apache.org Received: (qmail 45329 invoked by uid 500); 7 Sep 2012 11:01:09 -0000 Mailing-List: contact dev-help@deltacloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltacloud.apache.org Delivered-To: mailing list dev@deltacloud.apache.org Received: (qmail 45058 invoked by uid 99); 7 Sep 2012 11:01:07 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2012 11:01:07 +0000 Date: Fri, 7 Sep 2012 22:01:07 +1100 (NCT) From: "Christian Karnath (JIRA)" To: dev@deltacloud.apache.org Message-ID: <1507525046.49491.1347015667609.JavaMail.jiratomcat@arcas> In-Reply-To: <296354809.45107.1346949429281.JavaMail.jiratomcat@arcas> Subject: [jira] [Commented] (DTACLOUD-319) Rackspace driver: GET /api/instances - existing instances are not returned MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DTACLOUD-319?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450520#comment-13450520 ] Christian Karnath commented on DTACLOUD-319: -------------------------------------------- Could it be possible that the rackspace api is caching stuff? When I create a new instance it won't appear instantly in the instances list. But after some time when re-requesting all instances against deltacloud, this new instance is shown correctly. > Rackspace driver: GET /api/instances - existing instances are not returned > -------------------------------------------------------------------------- > > Key: DTACLOUD-319 > URL: https://issues.apache.org/jira/browse/DTACLOUD-319 > Project: DeltaCloud > Issue Type: Bug > Components: Server > Environment: deltacloud gem 1.0.2 (and beyond) > Rackpsace > Ruby 1.9 > Reporter: Ronelle Landy > > I can create an instance .... > curl -X POST -F "image_id=120" -F "name=myNewName" -F "hwp_id=3" --user "un:pw" "http:/server:3012/api/instances?format=xml" > > > myNewName > rlandy > > > PENDING > > > > > >
198.61.198.101
>
10.178.99.81
> > > > root > > > >
> The instance appears in the Rackspace console - copied output below: > (Name > myNewName > ID > 21118623) > But Deltacloud does not return this instance: > [rlandy@localhost /]$ curl -X GET --user "un:pw" "http://qeblade39.rhq.lab.eng.bos.redhat.com:3012/api/instances?format=xml" > > -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira