You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "Frederic Michaud (JIRA)" <ji...@apache.org> on 2013/10/17 17:46:41 UTC

[jira] [Created] (LIBCLOUD-411) I pass the result of node.extra.availability to create volume is't not work

Frederic Michaud created LIBCLOUD-411:
-----------------------------------------

             Summary: I pass the result of node.extra.availability to create volume is't not work
                 Key: LIBCLOUD-411
                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-411
             Project: Libcloud
          Issue Type: Bug
          Components: Compute
    Affects Versions: 0.13.0
            Reporter: Frederic Michaud


ec2 driver.
I try to create volume in the same availability of my node but I have any possibility to format that correctly:

node.extra.get('availability') is the return of node creation in ec2 (suppose that return good location)

drive = createVolume(ec2_conn,volumeName=file_sys,size=size,location=node.extra.get('availability'))

explode with this stack
  File "C:\Python27\lib\site-packages\apache_libcloud-0.13.0-py2.7.egg\libcloud\compute\drivers\ec2.py", line 686, in create_volume
    params['AvailabilityZone'] = location.availability_zone.name
AttributeError: 'str' object has no attribute 'availability_zone'

in the node you return avalability but isn't not avalibility it's I don't no but




--
This message was sent by Atlassian JIRA
(v6.1#6144)