You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Tom White (JIRA)" <ji...@apache.org> on 2011/04/14 20:39:05 UTC

[jira] [Created] (WHIRR-285) Add support for BYON

Add support for BYON
--------------------

                 Key: WHIRR-285
                 URL: https://issues.apache.org/jira/browse/WHIRR-285
             Project: Whirr
          Issue Type: New Feature
            Reporter: Tom White


jclouds now supports a "bring your own nodes" (BYON) provider (http://code.google.com/p/jclouds/issues/detail?id=452), which would be useful to take advantage of in Whirr. One use case is deploying Whirr services to local VMs during development and testing.

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

[jira] [Commented] (WHIRR-285) Add support for BYON

Posted by "Tom White (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023255#comment-13023255 ] 

Tom White commented on WHIRR-285:
---------------------------------

Unless anyone has any objections, I'd like to commit this in the next few days.

> Add support for BYON
> --------------------
>
>                 Key: WHIRR-285
>                 URL: https://issues.apache.org/jira/browse/WHIRR-285
>             Project: Whirr
>          Issue Type: New Feature
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: WHIRR-285.patch
>
>
> jclouds now supports a "bring your own nodes" (BYON) provider (http://code.google.com/p/jclouds/issues/detail?id=452), which would be useful to take advantage of in Whirr. One use case is deploying Whirr services to local VMs during development and testing.

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

[jira] [Updated] (WHIRR-285) Add support for BYON

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

Tom White updated WHIRR-285:
----------------------------

    Attachment: WHIRR-285.patch

I got the ZooKeeper integration test working with this patch, running against two VMs.

Given that this is primarily for development, it's probably good enough to go in. It would be really nice to have some supporting scripts to control VMware or VirtualBox VMs, as it's pretty fiddly otherwise. Also, the Java installation phase is fairly slow; doing some work to improve this would help the dev feedback loop (WHIRR-88? WHIRR-266?).

Here was the config I used:

{code}
nodes:
    - id: ubuntu1
      hostname: 192.168.54.160
      os_arch: x86
      os_family: ubuntu
      os_description: ubuntu
      os_version: 10.04
      group: whirr
      username: tom
      credential: xxx
      sudo_password: xxx
    - id: ubuntu2
      hostname: 192.168.54.161
      os_arch: x86
      os_family: ubuntu
      os_description: ubuntu
      os_version: 10.04
      group: whirr
      username: tom
      credential: xxx
      sudo_password: xxx
{code}

{noformat}
mvn verify -Pintegration -DargLine="-Dwhirr.test.provider=byon -Dwhirr.test.identity=blah -Dwhirr.test.credential=blah -Dconfig=.whirr-test.properties"
{noformat}

And .whirr-test.properties contained the following:
{code}
whirr.service-name=byon
whirr.provider=byon
jclouds.byon.endpoint=file:///Users/tom/whirr-byon.yaml
{code}


> Add support for BYON
> --------------------
>
>                 Key: WHIRR-285
>                 URL: https://issues.apache.org/jira/browse/WHIRR-285
>             Project: Whirr
>          Issue Type: New Feature
>            Reporter: Tom White
>         Attachments: WHIRR-285.patch
>
>
> jclouds now supports a "bring your own nodes" (BYON) provider (http://code.google.com/p/jclouds/issues/detail?id=452), which would be useful to take advantage of in Whirr. One use case is deploying Whirr services to local VMs during development and testing.

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

[jira] [Updated] (WHIRR-285) Add support for BYON

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

Tom White updated WHIRR-285:
----------------------------

       Resolution: Fixed
    Fix Version/s: 0.5.0
           Status: Resolved  (was: Patch Available)

I've just committed this.

> Add support for BYON
> --------------------
>
>                 Key: WHIRR-285
>                 URL: https://issues.apache.org/jira/browse/WHIRR-285
>             Project: Whirr
>          Issue Type: New Feature
>            Reporter: Tom White
>            Assignee: Tom White
>             Fix For: 0.5.0
>
>         Attachments: WHIRR-285.patch
>
>
> jclouds now supports a "bring your own nodes" (BYON) provider (http://code.google.com/p/jclouds/issues/detail?id=452), which would be useful to take advantage of in Whirr. One use case is deploying Whirr services to local VMs during development and testing.

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

[jira] [Commented] (WHIRR-285) Add support for BYON

Posted by "Tom White (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019973#comment-13019973 ] 

Tom White commented on WHIRR-285:
---------------------------------

A lot of the code is in WHIRR-239 - it just needs some generalization to support both cases.

> Add support for BYON
> --------------------
>
>                 Key: WHIRR-285
>                 URL: https://issues.apache.org/jira/browse/WHIRR-285
>             Project: Whirr
>          Issue Type: New Feature
>            Reporter: Tom White
>
> jclouds now supports a "bring your own nodes" (BYON) provider (http://code.google.com/p/jclouds/issues/detail?id=452), which would be useful to take advantage of in Whirr. One use case is deploying Whirr services to local VMs during development and testing.

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

[jira] [Commented] (WHIRR-285) Add support for BYON

Posted by "Tom White (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025311#comment-13025311 ] 

Tom White commented on WHIRR-285:
---------------------------------

That would be a nice default, but I don't see a way of having a default sudo_password. Also, currently Whirr cannot clean up a clusters state except by destoying the node, which obviously doesn't apply in the localhost case. WHIRR-239 dealt with this by introducing destroy scripts to stop and uninstall services. So we could do this, but it's a bit more work, and perhaps left to the other JIRA.  

> Add support for BYON
> --------------------
>
>                 Key: WHIRR-285
>                 URL: https://issues.apache.org/jira/browse/WHIRR-285
>             Project: Whirr
>          Issue Type: New Feature
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: WHIRR-285.patch
>
>
> jclouds now supports a "bring your own nodes" (BYON) provider (http://code.google.com/p/jclouds/issues/detail?id=452), which would be useful to take advantage of in Whirr. One use case is deploying Whirr services to local VMs during development and testing.

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

[jira] [Commented] (WHIRR-285) Add support for BYON

Posted by "Adrian Cole (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025314#comment-13025314 ] 

Adrian Cole commented on WHIRR-285:
-----------------------------------

I see what you're saying.. prompting for a sudo_password could also get clunky.

+1 to commit and leave follow-up to other jiras

> Add support for BYON
> --------------------
>
>                 Key: WHIRR-285
>                 URL: https://issues.apache.org/jira/browse/WHIRR-285
>             Project: Whirr
>          Issue Type: New Feature
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: WHIRR-285.patch
>
>
> jclouds now supports a "bring your own nodes" (BYON) provider (http://code.google.com/p/jclouds/issues/detail?id=452), which would be useful to take advantage of in Whirr. One use case is deploying Whirr services to local VMs during development and testing.

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

[jira] [Updated] (WHIRR-285) Add support for BYON

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

Tom White updated WHIRR-285:
----------------------------

    Assignee: Tom White
      Status: Patch Available  (was: Open)

> Add support for BYON
> --------------------
>
>                 Key: WHIRR-285
>                 URL: https://issues.apache.org/jira/browse/WHIRR-285
>             Project: Whirr
>          Issue Type: New Feature
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: WHIRR-285.patch
>
>
> jclouds now supports a "bring your own nodes" (BYON) provider (http://code.google.com/p/jclouds/issues/detail?id=452), which would be useful to take advantage of in Whirr. One use case is deploying Whirr services to local VMs during development and testing.

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

[jira] [Commented] (WHIRR-285) Add support for BYON

Posted by "Andrei Savu (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13020019#comment-13020019 ] 

Andrei Savu commented on WHIRR-285:
-----------------------------------

This is going to be really useful when implementing new services. I'm thinking virtualbox + snapshotting + revert to clean state = easy & fast.  

> Add support for BYON
> --------------------
>
>                 Key: WHIRR-285
>                 URL: https://issues.apache.org/jira/browse/WHIRR-285
>             Project: Whirr
>          Issue Type: New Feature
>            Reporter: Tom White
>
> jclouds now supports a "bring your own nodes" (BYON) provider (http://code.google.com/p/jclouds/issues/detail?id=452), which would be useful to take advantage of in Whirr. One use case is deploying Whirr services to local VMs during development and testing.

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

[jira] [Commented] (WHIRR-285) Add support for BYON

Posted by "Adrian Cole (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WHIRR-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023593#comment-13023593 ] 

Adrian Cole commented on WHIRR-285:
-----------------------------------

Hi, Tom.

I think the default should indeed include trivial nodemetadata for localhost, using the assumption that you are on linux or osx and will login with the current username with default ssh keys from the home dir.  Otherwise, looks sensible!

-Adrian

> Add support for BYON
> --------------------
>
>                 Key: WHIRR-285
>                 URL: https://issues.apache.org/jira/browse/WHIRR-285
>             Project: Whirr
>          Issue Type: New Feature
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: WHIRR-285.patch
>
>
> jclouds now supports a "bring your own nodes" (BYON) provider (http://code.google.com/p/jclouds/issues/detail?id=452), which would be useful to take advantage of in Whirr. One use case is deploying Whirr services to local VMs during development and testing.

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