You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Andrey Zhuchkov (JIRA)" <ji...@apache.org> on 2011/06/20 17:34:47 UTC

[dev] [jira] [Created] (LIBCLOUD-94) Error occurs if launch a server into a Shared IP Group

Error occurs if launch a server into a Shared IP Group
------------------------------------------------------

                 Key: LIBCLOUD-94
                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-94
             Project: Libcloud
          Issue Type: Bug
          Components: Compute
    Affects Versions: 0.5.0
         Environment: Rackspace
            Reporter: Andrey Zhuchkov
             Fix For: 0.5.1


I try to launch a new node into existing Shared IP Group (SIG) passing identifier of the SIG as argument 'ex_shared_ip_group' of the create_node() method. But operation fails with error.
Looks like driver expects some dictionary instead of SIG id.

If you need a traceback I'll attach it later.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Commented] (LIBCLOUD-94) Error occurs if launch a server into a Shared IP Group

Posted by "Andrey Zhuchkov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LIBCLOUD-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052557#comment-13052557 ] 

Andrey Zhuchkov commented on LIBCLOUD-94:
-----------------------------------------

Thank you Tomaz.

It works now. But if it was broken from the SIG support addition, deprecation message looks a little bit strange (no one could use it before). I do not insist on its removal - just a remark.

> Error occurs if launch a server into a Shared IP Group
> ------------------------------------------------------
>
>                 Key: LIBCLOUD-94
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-94
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>    Affects Versions: 0.5.0
>         Environment: Rackspace
>            Reporter: Andrey Zhuchkov
>             Fix For: 0.5.1
>
>
> I try to launch a new node into existing Shared IP Group (SIG) passing identifier of the SIG as argument 'ex_shared_ip_group' of the create_node() method. But operation fails with error.
> Looks like driver expects some dictionary instead of SIG id.
> If you need a traceback I'll attach it later.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Resolved] (LIBCLOUD-94) Error occurs if launch a server into a Shared IP Group

Posted by "Tomaz Muraus (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LIBCLOUD-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Muraus resolved LIBCLOUD-94.
----------------------------------

    Resolution: Fixed

> Error occurs if launch a server into a Shared IP Group
> ------------------------------------------------------
>
>                 Key: LIBCLOUD-94
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-94
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>    Affects Versions: 0.5.0
>         Environment: Rackspace
>            Reporter: Andrey Zhuchkov
>             Fix For: 0.5.2
>
>
> I try to launch a new node into existing Shared IP Group (SIG) passing identifier of the SIG as argument 'ex_shared_ip_group' of the create_node() method. But operation fails with error.
> Looks like driver expects some dictionary instead of SIG id.
> If you need a traceback I'll attach it later.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Commented] (LIBCLOUD-94) Error occurs if launch a server into a Shared IP Group

Posted by "Tomaz Muraus (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LIBCLOUD-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052452#comment-13052452 ] 

Tomaz Muraus commented on LIBCLOUD-94:
--------------------------------------

OK, thanks.

I did check the code now and I see it was pretty broken :)

I have pushed a fix to the trunk (revision 1137923), can you please test it?

Thanks

> Error occurs if launch a server into a Shared IP Group
> ------------------------------------------------------
>
>                 Key: LIBCLOUD-94
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-94
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>    Affects Versions: 0.5.0
>         Environment: Rackspace
>            Reporter: Andrey Zhuchkov
>             Fix For: 0.5.1
>
>
> I try to launch a new node into existing Shared IP Group (SIG) passing identifier of the SIG as argument 'ex_shared_ip_group' of the create_node() method. But operation fails with error.
> Looks like driver expects some dictionary instead of SIG id.
> If you need a traceback I'll attach it later.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Commented] (LIBCLOUD-94) Error occurs if launch a server into a Shared IP Group

Posted by "Andrey Zhuchkov (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LIBCLOUD-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052417#comment-13052417 ] 

Andrey Zhuchkov commented on LIBCLOUD-94:
-----------------------------------------

tail of the traceback (line numbers could be differ with your one because I use patched 0.5.0 release):

Traceback (most recent call last):
  ...
  File "/usr/local/lib/python2.6/dist-packages/libcloud/compute/drivers/rackspace.py", line 251, in create_node
    kwargs.get("ex_shared_ip_group", None))
  File "/usr/local/lib/python2.6/dist-packages/libcloud/compute/drivers/rackspace.py", line 537, in _shared_ip_group_to_xml
    return ET.Element('sharedIpGroupId', shared_ip_group)
  File "/usr/lib/python2.6/xml/etree/ElementTree.py", line 448, in Element
    attrib = attrib.copy()
AttributeError: 'str' object has no attribute 'copy'

> Error occurs if launch a server into a Shared IP Group
> ------------------------------------------------------
>
>                 Key: LIBCLOUD-94
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-94
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>    Affects Versions: 0.5.0
>         Environment: Rackspace
>            Reporter: Andrey Zhuchkov
>             Fix For: 0.5.1
>
>
> I try to launch a new node into existing Shared IP Group (SIG) passing identifier of the SIG as argument 'ex_shared_ip_group' of the create_node() method. But operation fails with error.
> Looks like driver expects some dictionary instead of SIG id.
> If you need a traceback I'll attach it later.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Commented] (LIBCLOUD-94) Error occurs if launch a server into a Shared IP Group

Posted by "Tomaz Muraus (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LIBCLOUD-94?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052020#comment-13052020 ] 

Tomaz Muraus commented on LIBCLOUD-94:
--------------------------------------

I didn't implement this functionality myself, but it looks like ex_shared_ip_group keyword argument is a string - id of the actual shared group.

It would also be useful if you include the actual error message and the traceback.

> Error occurs if launch a server into a Shared IP Group
> ------------------------------------------------------
>
>                 Key: LIBCLOUD-94
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-94
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>    Affects Versions: 0.5.0
>         Environment: Rackspace
>            Reporter: Andrey Zhuchkov
>             Fix For: 0.5.1
>
>
> I try to launch a new node into existing Shared IP Group (SIG) passing identifier of the SIG as argument 'ex_shared_ip_group' of the create_node() method. But operation fails with error.
> Looks like driver expects some dictionary instead of SIG id.
> If you need a traceback I'll attach it later.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Closed] (LIBCLOUD-94) Error occurs if launch a server into a Shared IP Group

Posted by "Tomaz Muraus (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LIBCLOUD-94?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Muraus closed LIBCLOUD-94.
--------------------------------


> Error occurs if launch a server into a Shared IP Group
> ------------------------------------------------------
>
>                 Key: LIBCLOUD-94
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-94
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>    Affects Versions: 0.5.0
>         Environment: Rackspace
>            Reporter: Andrey Zhuchkov
>             Fix For: 0.5.2
>
>
> I try to launch a new node into existing Shared IP Group (SIG) passing identifier of the SIG as argument 'ex_shared_ip_group' of the create_node() method. But operation fails with error.
> Looks like driver expects some dictionary instead of SIG id.
> If you need a traceback I'll attach it later.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira