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 20BF8DFF8 for ; Tue, 6 Nov 2012 08:30:17 +0000 (UTC) Received: (qmail 6118 invoked by uid 500); 6 Nov 2012 08:30:16 -0000 Delivered-To: apmail-deltacloud-dev-archive@deltacloud.apache.org Received: (qmail 6036 invoked by uid 500); 6 Nov 2012 08:30:16 -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 6007 invoked by uid 99); 6 Nov 2012 08:30:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Nov 2012 08:30:16 +0000 Date: Tue, 6 Nov 2012 08:30:15 +0000 (UTC) From: "Marios Andreou (JIRA)" To: dev@deltacloud.apache.org Message-ID: <128058171.73458.1352190616087.JavaMail.jiratomcat@arcas> In-Reply-To: <875262492.121621.1348573687761.JavaMail.jiratomcat@arcas> Subject: [jira] [Assigned] (DTACLOUD-328) Instance state is not updated properly when stopping an openstack instance MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DTACLOUD-328?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marios Andreou reassigned DTACLOUD-328: --------------------------------------- Assignee: Ronelle Landy (was: Marios Andreou) =20 > Instance state is not updated properly when stopping an openstack instanc= e > -------------------------------------------------------------------------= - > > Key: DTACLOUD-328 > URL: https://issues.apache.org/jira/browse/DTACLOUD-328 > Project: DeltaCloud > Issue Type: Bug > Environment: deltacloud from git repo (last commit 4d019838dec68c= 4ce50e1311129932cebf185577) > + applied manually marios's patch: http://tracker.deltacloud.org/patch/95= 7a640e#diff > rubygem-deltacloud-client-0.5.0-3.fc17.noarch > Reporter: Jan Provaznik > Assignee: Ronelle Landy > Attachments: 0001-Fix-Openstack-stop-behaviour-wasn-t-setting-sta= te-co.patch > > > when I try to stop running openstack instance, instance's state should be= set to 'stopped' after successful call, but the state is not updated at al= l: > irb(main):004:0> i.send('stop!') > =3D> [{:method_name=3D>"stopped?", :type=3D>:state, :state=3D>"STOPPED"},= {:method_name=3D>"running?", :type=3D>:state, :state=3D>"RUNNING"}, {:meth= od_name=3D>"pending?", :type=3D>:state, :state=3D>"PENDING"}, {:method_name= =3D>"shutting_down?", :type=3D>:state, :state=3D>"SHUTTING_DOWN"}, {:type= =3D>:text, :method_name=3D>"name", :value=3D>"os1-6-openstack-import"}, {:t= ype=3D>:text, :method_name=3D>"owner_id", :value=3D>"jprovazn"}, {:type=3D>= :link, :method_name=3D>"image", :id=3D>"1dc5da85-81f3-4077-abc8-f6e9bed9f3f= 6"}, {:type=3D>:text, :method_name=3D>"image_id", :value=3D>"1dc5da85-81f3-= 4077-abc8-f6e9bed9f3f6"}, {:type=3D>:link, :method_name=3D>"realm", :id=3D>= "default"}, {:type=3D>:text, :method_name=3D>"realm_id", :value=3D>"default= "}, {:type=3D>:text, :method_name=3D>"state", :value=3D>"RUNNING"}, {:type= =3D>:link, :method_name=3D>"hardware_profile", :id=3D>"2"}, {:type=3D>:text= , :method_name=3D>"hardware_profile_id", :value=3D>"2"}, {:type=3D>:collect= ion, :method_name=3D>"public_addresses", :values=3D>[]}, {:type=3D>:collect= ion, :method_name=3D>"private_addresses", :values=3D>[{:address=3D>"192.168= .0.5", :type=3D>"ipv4"}, {:address=3D>"10.34.59.4", :type=3D>"ipv4"}]}, {:t= ype=3D>:text, :method_name=3D>"storage_volumes", :value=3D>""}, {:type=3D>:= collection, :method_name=3D>"authentication", :values=3D>{:key=3D>"os1-6_op= enstack-import_1348570306_key_59713380"}}, {:type=3D>:action_link, :method_= name=3D>"reboot!", :id=3D>"00cd5dfd-6788-4fd5-94a1-d83462445c18", :href=3D>= "http://localhost:3002/api/instances/00cd5dfd-6788-4fd5-94a1-d83462445c18/r= eboot", :rel=3D>"reboot", :method=3D>"post"}, {:type=3D>:action_link, :meth= od_name=3D>"stop!", :id=3D>"00cd5dfd-6788-4fd5-94a1-d83462445c18", :href=3D= >"http://localhost:3002/api/instances/00cd5dfd-6788-4fd5-94a1-d83462445c18/= stop", :rel=3D>"stop", :method=3D>"post"}, {:type=3D>:action_link, :method_= name=3D>"create_image!", :id=3D>"00cd5dfd-6788-4fd5-94a1-d83462445c18", :hr= ef=3D>"http://localhost:3002/api/create_image;instance_id=3D00cd5dfd-6788-4= fd5-94a1-d83462445c18", :rel=3D>"create_image", :method=3D>"post"}] > irb(main):005:0> i.state > =3D> "RUNNING" -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira