You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Jay Doane (JIRA)" <ji...@apache.org> on 2012/04/22 21:43:33 UTC

[dev] [jira] [Created] (LIBCLOUD-190) Implement FileDeployment, which can be used by all drivers, and is a general replacement for create_node() ex_files param

Jay Doane created LIBCLOUD-190:
----------------------------------

             Summary: Implement FileDeployment, which can be used by all drivers, and is a general replacement for create_node() ex_files param
                 Key: LIBCLOUD-190
                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-190
             Project: Libcloud
          Issue Type: Improvement
          Components: Compute
            Reporter: Jay Doane
            Priority: Minor
         Attachments: file-deployment.diff

Not all drivers support the ex_files param, but this class allows any driver to install files on the remote node in a consistent way.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Closed] (LIBCLOUD-190) Implement FileDeployment, which can be used by all drivers, and is a general replacement for create_node() ex_files param

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

Jay Doane closed LIBCLOUD-190.
------------------------------

    
> Implement FileDeployment, which can be used by all drivers, and is a general replacement for create_node() ex_files param
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-190
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-190
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Compute
>            Reporter: Jay Doane
>            Priority: Minor
>         Attachments: file-deployment.diff
>
>
> Not all drivers support the ex_files param, but this class allows any driver to install files on the remote node in a consistent way.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Updated] (LIBCLOUD-190) Implement FileDeployment, which can be used by all drivers, and is a general replacement for create_node() ex_files param

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

Jay Doane updated LIBCLOUD-190:
-------------------------------

    Attachment:     (was: file-deployment.diff)
    
> Implement FileDeployment, which can be used by all drivers, and is a general replacement for create_node() ex_files param
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-190
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-190
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Compute
>            Reporter: Jay Doane
>            Priority: Minor
>
> Not all drivers support the ex_files param, but this class allows any driver to install files on the remote node in a consistent way.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Updated] (LIBCLOUD-190) Implement FileDeployment, which can be used by all drivers, and is a general replacement for create_node() ex_files param

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

Jay Doane updated LIBCLOUD-190:
-------------------------------

    Attachment: file-deployment.diff
    
> Implement FileDeployment, which can be used by all drivers, and is a general replacement for create_node() ex_files param
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-190
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-190
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Compute
>            Reporter: Jay Doane
>            Priority: Minor
>         Attachments: file-deployment.diff
>
>
> Not all drivers support the ex_files param, but this class allows any driver to install files on the remote node in a consistent way.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Commented] (LIBCLOUD-190) Implement FileDeployment, which can be used by all drivers, and is a general replacement for create_node() ex_files param

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

Jay Doane commented on LIBCLOUD-190:
------------------------------------

I've tried to make this patch python 3 compatible, but was unable to fully test it during a deployment since paramiko doesn't seem to work correctly with python 3
                
> Implement FileDeployment, which can be used by all drivers, and is a general replacement for create_node() ex_files param
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-190
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-190
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Compute
>            Reporter: Jay Doane
>            Priority: Minor
>         Attachments: file-deployment.diff
>
>
> Not all drivers support the ex_files param, but this class allows any driver to install files on the remote node in a consistent way.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Updated] (LIBCLOUD-190) Implement FileDeployment, which can be used by all drivers, and is a general replacement for create_node() ex_files param

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

Jay Doane updated LIBCLOUD-190:
-------------------------------

    Attachment: file-deployment.diff

The previous version of this patch I uploaded had a bug in it, and didn't actually send the contents of the source file, but just the path.
                
> Implement FileDeployment, which can be used by all drivers, and is a general replacement for create_node() ex_files param
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-190
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-190
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Compute
>            Reporter: Jay Doane
>            Priority: Minor
>         Attachments: file-deployment.diff
>
>
> Not all drivers support the ex_files param, but this class allows any driver to install files on the remote node in a consistent way.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Commented] (LIBCLOUD-190) Implement FileDeployment, which can be used by all drivers, and is a general replacement for create_node() ex_files param

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

Tomaz Muraus commented on LIBCLOUD-190:
---------------------------------------

I've committed your patch into trunk with two changes:

- Your patch didn't close a file and was leaking an open file description so I changed it to use with
- Changed perms to correctly reflect file permissions in octal notation. st_mode included more then just the file permissions it also includes sticky bit, set-group-id and set-user-id*

* http://docs.python.org/library/stat.html#stat.S_IMODE
                
> Implement FileDeployment, which can be used by all drivers, and is a general replacement for create_node() ex_files param
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-190
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-190
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Compute
>            Reporter: Jay Doane
>            Priority: Minor
>         Attachments: file-deployment.diff
>
>
> Not all drivers support the ex_files param, but this class allows any driver to install files on the remote node in a consistent way.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[dev] [jira] [Resolved] (LIBCLOUD-190) Implement FileDeployment, which can be used by all drivers, and is a general replacement for create_node() ex_files param

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

Tomaz Muraus resolved LIBCLOUD-190.
-----------------------------------

    Resolution: Fixed
    
> Implement FileDeployment, which can be used by all drivers, and is a general replacement for create_node() ex_files param
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-190
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-190
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Compute
>            Reporter: Jay Doane
>            Priority: Minor
>         Attachments: file-deployment.diff
>
>
> Not all drivers support the ex_files param, but this class allows any driver to install files on the remote node in a consistent way.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira