libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r1429656 - in /libcloud/trunk: CHANGES libcloud/compute/drivers/ec2.py
Date Mon, 07 Jan 2013 03:14:59 GMT
Author: tomaz
Date: Mon Jan  7 03:14:59 2013
New Revision: 1429656

URL: http://svn.apache.org/viewvc?rev=1429656&view=rev
Log:
Map 'shutting-down' node state in EC2 driver to UNKNOWN (previously
mapped to TERMINATED). (LIBCLOUD-280)

Note: This change is backward incompatible which means you need to update
your code if you rely on the old behavior.

Reported by Marcin Kuzminski, part of LIBCLOUD-280.

Modified:
    libcloud/trunk/CHANGES
    libcloud/trunk/libcloud/compute/drivers/ec2.py

Modified: libcloud/trunk/CHANGES
URL: http://svn.apache.org/viewvc/libcloud/trunk/CHANGES?rev=1429656&r1=1429655&r2=1429656&view=diff
==============================================================================
--- libcloud/trunk/CHANGES (original)
+++ libcloud/trunk/CHANGES Mon Jan  7 03:14:59 2013
@@ -85,6 +85,13 @@ Changes with Apache Libcloud in developm
       (hs1.8xlarge).
       [Tomaz Muraus]
 
+    - Map 'shutting-down' node state in EC2 driver to UNKNOWN (previously
+      mapped to TERMINATED). (LIBCLOUD-280)
+
+      Note: This change is backward incompatible which means you need to update
+      your code if you rely on the old behavior.
+      [Tomaz Muraus, Marcin Kuzminski]
+
   *) Storage
 
     - Add a new local storage driver.

Modified: libcloud/trunk/libcloud/compute/drivers/ec2.py
URL: http://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/drivers/ec2.py?rev=1429656&r1=1429655&r2=1429656&view=diff
==============================================================================
--- libcloud/trunk/libcloud/compute/drivers/ec2.py (original)
+++ libcloud/trunk/libcloud/compute/drivers/ec2.py Mon Jan  7 03:14:59 2013
@@ -457,7 +457,7 @@ class BaseEC2NodeDriver(NodeDriver):
     NODE_STATE_MAP = {
         'pending': NodeState.PENDING,
         'running': NodeState.RUNNING,
-        'shutting-down': NodeState.TERMINATED,
+        'shutting-down': NodeState.UNKNOWN,
         'terminated': NodeState.TERMINATED
     }
 



Mime
View raw message