[jira] [Issue Comment Edited] (WHIRR-379) Provide a local cloud for testing

2011-09-02 Thread David Alves (JIRA)
[ https://issues.apache.org/jira/browse/WHIRR-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096559#comment-13096559 ] David Alves edited comment on WHIRR-379 at 9/3/11 2:35 AM: --- Ok, s

Re: Some help in service bootstrap

2011-09-02 Thread David Alves
Will have to look a bit deeper into this. As it turns out I have my own service with is using chef to install java and postrgresql and it works fine. Its might be something with the testservice itself: Andrei: Maybe the execution of a recipe might not mean the service was actually up in some ca

[jira] [Commented] (WHIRR-379) Provide a local cloud for testing

2011-09-02 Thread David Alves (JIRA)
[ https://issues.apache.org/jira/browse/WHIRR-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096559#comment-13096559 ] David Alves commented on WHIRR-379: --- Ok, so apparently the download/registration of the i

[jira] [Updated] (WHIRR-379) Provide a local cloud for testing

2011-09-02 Thread Adrian Cole (JIRA)
[ https://issues.apache.org/jira/browse/WHIRR-379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Adrian Cole updated WHIRR-379: -- Attachment: solo.txt test results > Provide a local cloud for testing > ---

[jira] [Commented] (WHIRR-379) Provide a local cloud for testing

2011-09-02 Thread Adrian Cole (JIRA)
[ https://issues.apache.org/jira/browse/WHIRR-379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096529#comment-13096529 ] Adrian Cole commented on WHIRR-379: --- I setup my osx lion env like the following and got a

[jira] [Updated] (WHIRR-325) Reduce cloud provider-specific code in scripts

2011-09-02 Thread Tom White (JIRA)
[ https://issues.apache.org/jira/browse/WHIRR-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tom White updated WHIRR-325: Attachment: WHIRR-325.patch Updated version of the patch with an update to ZooKeeper, which removes some co

Re: Some help in service bootstrap

2011-09-02 Thread Adrian Cole
jclouds has a class RetryablePredicate you can consider using for this. -A On Sep 2, 2011 10:10 AM, "Andrei Savu" wrote: > On Fri, Sep 2, 2011 at 6:24 AM, David Alves wrote: >> So is this a timing problem? Is the test method being executed before TestService completely installed the recipes? > >

[jira] [Commented] (WHIRR-381) Race in jclouds authorizeGroupToItself and node launch

2011-09-02 Thread Tom White (JIRA)
[ https://issues.apache.org/jira/browse/WHIRR-381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096207#comment-13096207 ] Tom White commented on WHIRR-381: - Another way to fix this in Whirr would be to do WHIRR-33

[jira] [Updated] (WHIRR-381) Race in jclouds authorizeGroupToItself and node launch

2011-09-02 Thread Tom White (JIRA)
[ https://issues.apache.org/jira/browse/WHIRR-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tom White updated WHIRR-381: Attachment: WHIRR-381.patch > Race in jclouds authorizeGroupToItself and node launch > -

[jira] [Created] (WHIRR-381) Race in jclouds authorizeGroupToItself and node launch

2011-09-02 Thread Tom White (JIRA)
Race in jclouds authorizeGroupToItself and node launch -- Key: WHIRR-381 URL: https://issues.apache.org/jira/browse/WHIRR-381 Project: Whirr Issue Type: Bug Reporter: Tom White

[jira] [Commented] (WHIRR-49) Allow Whirr to use Chef for configuration management

2011-09-02 Thread Andrei Savu (JIRA)
[ https://issues.apache.org/jira/browse/WHIRR-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096142#comment-13096142 ] Andrei Savu commented on WHIRR-49: -- I'm glad to see this working. I will review the code to

Re: Question about running tests on already started clusters

2011-09-02 Thread Andrei Savu
It should work if you reload the Cluster state info from the disk before running the configure phase. -- Andrei Savu On Fri, Sep 2, 2011 at 6:36 AM, David Alves wrote: > If I run a test that launches a cluster (say "test-cluster") and on another > run, execute the same test but with "launchClus

Re: Some help in service bootstrap

2011-09-02 Thread Andrei Savu
On Fri, Sep 2, 2011 at 6:24 AM, David Alves wrote: > So is this a timing problem? Is the test method being executed before > TestService completely installed the recipes? Looks like a timing problem. I guess that a successful chef recipe execution does not also mean the service is available to a

Question about running tests on already started clusters

2011-09-02 Thread David Alves
If I run a test that launches a cluster (say "test-cluster") and on another run, execute the same test but with "launchCluster" commented there is an authentication failure. Why is that? Shouldn't it simply pickup all the metadata from the previous cluster launch? -david

[jira] [Updated] (WHIRR-49) Allow Whirr to use Chef for configuration management

2011-09-02 Thread David Alves (JIRA)
[ https://issues.apache.org/jira/browse/WHIRR-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Alves updated WHIRR-49: - Attachment: WHIRR-49-cc.patch WHIRR-49-pom.patch WHIRR-49.patch Corrected a

Some help in service bootstrap

2011-09-02 Thread David Alves
From my prespective Ithe main use case for chef will be to use it from other services. I was testing the service poorly because I did not test the execution of recipes within other services bootstrap (which had a bug but is now fixed). So in order to test it correctly I added a test service th