You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Andrei Savu (Created) (JIRA)" <ji...@apache.org> on 2012/02/05 08:49:54 UTC

[jira] [Created] (WHIRR-504) Upgrade to jclouds 1.4.0

Upgrade to jclouds 1.4.0
------------------------

                 Key: WHIRR-504
                 URL: https://issues.apache.org/jira/browse/WHIRR-504
             Project: Whirr
          Issue Type: Improvement
            Reporter: Andrei Savu
            Assignee: Andrei Savu
             Fix For: 0.8.0


At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

Re: [jira] [Commented] (WHIRR-504) Upgrade to jclouds 1.4.0

Posted by Karel Vervaeke <ka...@ngdata.com>.
I'll give it a try

On Tue, Mar 27, 2012 at 11:25 AM, Andrei Savu (Commented) (JIRA) <
jira@apache.org> wrote:

>
>    [
> https://issues.apache.org/jira/browse/WHIRR-504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239338#comment-13239338]
>
> Andrei Savu commented on WHIRR-504:
> -----------------------------------
>
> David, Karel do you have some time to review? This is quite a big and
> disruptive change.
>
> > Upgrade to jclouds 1.4.0
> > ------------------------
> >
> >                 Key: WHIRR-504
> >                 URL: https://issues.apache.org/jira/browse/WHIRR-504
> >             Project: Whirr
> >          Issue Type: Improvement
> >            Reporter: Andrei Savu
> >            Assignee: Adrian Cole
> >             Fix For: 0.8.0
> >
> >         Attachments: WHIRR-504-minimal.patch, WHIRR-504.patch,
> WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch,
> WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
> >
> >
> > At this time 1.4.0 RC1 is out and if no major bugs are discovered we
> should be able to have a final release pretty soon.
>
> --
> 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
>
>
>

[jira] [Commented] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Adrian Cole commented on WHIRR-504:
-----------------------------------

will test 1.4.0 from the following staging repositories:

jclouds: https://oss.sonatype.org/content/repositories/orgjclouds-394/
jclouds-karaf: https://oss.sonatype.org/content/repositories/orgjclouds-405/

                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504-minimal.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Commented] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Adrian Cole commented on WHIRR-504:
-----------------------------------

On clean checkout of whirr, I get the following error.  That said, maybe this patch will also correct this:

Tests in error: 
  testInstallation:WhirrInstallationTest.testInstallation:KarafTestContainer{mvn:org.apache.karaf\/apache-karaf\/2.2.5\/tar.gz}(org.apache.whirr.karaf.itest.WhirrInstallationTest): org/apache/whirr/karaf/itest/WhirrKarafTestSupport (wrong name: src/test/java/org/apache/whirr/karaf/itest/WhirrKarafTestSupport)
  testServices:WhirrServicesTest.testServices:KarafTestContainer{mvn:org.apache.karaf\/apache-karaf\/2.2.5\/tar.gz}(org.apache.whirr.karaf.itest.WhirrServicesTest): org/apache/whirr/karaf/itest/WhirrKarafTestSupport (wrong name: src/test/java/org/apache/whirr/karaf/itest/WhirrKarafTestSupport)
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504-minimal.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Assigned] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Adrian Cole reassigned WHIRR-504:
---------------------------------

    Assignee: Adrian Cole  (was: Andrei Savu)
    
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Updated] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Adrian Cole updated WHIRR-504:
------------------------------

    Attachment: WHIRR-504.patch
    
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Updated] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Adrian Cole updated WHIRR-504:
------------------------------

    Attachment:     (was: WHIRR-504.patch)
    
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Commented] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Andrei Savu commented on WHIRR-504:
-----------------------------------

David, Karel do you have some time to review? This is quite a big and disruptive change.
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504-minimal.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Commented] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Andrei Savu commented on WHIRR-504:
-----------------------------------

Ioannis can you explain the workaround you found for this one? 
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Updated] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Ioannis Canellos updated WHIRR-504:
-----------------------------------

    Attachment: WHIRR-504-minimal.patch

I am attaching a supplemental patch that is to be applied on top of the last patch.
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504-minimal.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Updated] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Adrian Cole updated WHIRR-504:
------------------------------

    Attachment: WHIRR-504.patch

This patch updates to latest jclouds and also addresses all deprecated usage and all compiler warnings I could get rid of (save apache commons config, which aren't resolvable unless they update to generic types)

                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Issue Comment Edited] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Adrian Cole edited comment on WHIRR-504 at 2/19/12 1:28 AM:
------------------------------------------------------------

Updates in latest patch:

  * employs new jclouds features such as submitScriptOnNode and its EventBus mechanisms for script notification.

  * refactored DryRunModule and showed an example test you can use to sanity check services offline, based on David's work: CassandraServiceDryRunTest
  
  * refactored StatementBuilder to use new InitScript in jclouds

  * shown an example of how to use jclouds InstallJDK function in ZooKeeperClusterActionHandler.

Results:

  * zookeeper passed on cloudservers-us, but when the zookeepers start on aws-ec2, the tests that actually connect to the ports fail.

  * I tried cassandra, but there seems to be an issue, even on rackspace where the default install_jdk script fails with "Package sun-java6-jdk has no installation candidate"  I'd suggest to move to InstallJDK statement like I did in zookeeper.

  * The itests seem to rely on guava 10.0.1, which is a problem, maybe Ioannis can have a look and see if this can be updated.

Note:
I know I've reorganized imports and I understand that this isn't nice, but I don't have any more time, so I figured I'd kick the patch out for folks to help progress. 
                
      was (Author: adrian@jclouds.org):
    Updates in latest patch:

  * employs new jclouds features such as submitScriptOnNode and its EventBus mechanisms for script notification.

  * refactored DryRunModule and showed an example test you can use to sanity check services offline, based on David's work: CassandraServiceDryRunTest

  * shown an example of how to use jclouds InstallJDK function in ZooKeeperClusterActionHandler.

Results:

  * zookeeper passed on cloudservers-us, but when the zookeepers start on aws-ec2, the tests that actually connect to the ports fail.

  * I tried cassandra, but there seems to be an issue, even on rackspace where the default install_jdk script fails with "Package sun-java6-jdk has no installation candidate"  I'd suggest to move to InstallJDK statement like I did in zookeeper.

  * The itests seem to rely on guava 10.0.1, which is a problem, maybe Ioannis can have a look and see if this can be updated.

Note:
I know I've reorganized imports and I understand that this isn't nice, but I don't have any more time, so I figured I'd kick the patch out for folks to help progress. 
                  
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Commented] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Karel Vervaeke commented on WHIRR-504:
--------------------------------------

Basic unit tests work (mvn install). Integration test for hadoop on ec2 works.
I'll have a closer look at the changes later.
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504-minimal.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Commented] (WHIRR-504) Upgrade to jclouds 1.4.0

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

David Alves commented on WHIRR-504:
-----------------------------------

+1

- applies cleanly to trunk
- unit tests pass
- i'm cloudless for the day so itested zookeeper with vbox (whirr-379) and runs fine.
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504-minimal.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Commented] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Adrian Cole commented on WHIRR-504:
-----------------------------------

+1 there aren't any api-related changes I'd expect between 1.4.0-rc.2 and final, and besides whirr feedback, I don't expect any bug related changes either.
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Updated] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Ioannis Canellos updated WHIRR-504:
-----------------------------------

    Attachment: WHIRR-504-updated.patch

I am attaching an updated version of 504 patch, which fixes the OSGi related issues.

Some comments about the nature of the problem. The maven bundle plugin normalizes the version when creating the bundles. The normalization it performs is something like splitting the version into major, minor, macro and classifier parts. It replaces character like '-' with '.' etc. Finally if the classifier part contains '.'s then it replaces them with _.

I have added some ant regexp magic in order to cleanup the jclouds version and have it match with what bundle plugin does, so that we can use them in the fragment definitions (this parts are not covered by the bundle plugin). However, the regex I added can't cover the case were the classifier part contains a '.' e.g. rc.3. 

As a work around I am explicitly specifying the jclouds version 1.4.0.rc_3 as it should be.

We could do 2 things in the future. Add some more regex goodness to properly convert the version or use a convention in the jclouds versioning that would keep us out of trouble: e.g. 1.4.0-rc3 (with no dots).

Since the problem occurs just for the rc version of jclouds I think that explicitly specifying it is a viable solution for now.
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504-updated.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Resolved] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Andrei Savu resolved WHIRR-504.
-------------------------------

    Resolution: Fixed

Committed to trunk. Thanks guys for reviewing and for all the help on the way! Thanks Adrian! 
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504-minimal.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Issue Comment Edited] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Adrian Cole edited comment on WHIRR-504 at 2/17/12 10:11 PM:
-------------------------------------------------------------

I looked over whirr for deprecation issues, as it uses things in guava that have replacements.  Also, I had a look at DryRunModule, which is very sensitive to internal details of jclouds.  I'm in the process of revamping this patch to get rid of all deprecated guava usage.  I'm also updating jclouds to publish statement execution events on an EventBus, which is much cleaner than the aop pattern currently used in DryRunModule.
                
      was (Author: adrian@jclouds.org):
    I looked over whirr for deprecation issues, as it uses things in guava that have replacements.  Also, I had a look at DryRunModule, which is very sensitive to internal details of jclouds.  I'm in the process of revamping this patch to get rid of all deprecated guava usage.  I'm also updating jclouds to public statement execution events on an EventBus, which is much cleaner than the aop pattern currently used in DryRunModule.
                  
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Updated] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Andrei Savu updated WHIRR-504:
------------------------------

    Attachment: WHIRR-504.patch

Attached same patch with not functional changes only conflict fixes for latest trunk.  I have also increased the SERVICE_TIMEOUT for the Karaf itests. Everything builds fine for me. 
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504-minimal.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Commented] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Andrei Savu commented on WHIRR-504:
-----------------------------------

Just took a quick look. Nice work! I will do more review tomorrow. I see jclouds 1.4.0-rc.2 is now on Maven Central. What do you think about updating the Whirr trunk to this version? We should be able to release 1.4.0 pretty soon. 
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Updated] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Andrei Savu updated WHIRR-504:
------------------------------

    Attachment: WHIRR-504.patch

Updated patch for the current trunk. Unfortunately the OSGi tests fail and I was unable to find a fix in a reasonable amount of time. I will try again later. 
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Commented] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Andrei Savu commented on WHIRR-504:
-----------------------------------

It seem like pax-exam 2.4.0-RC1 is also using guava r09. Ioannis can we remove the whirr-core dependency from karaf itests?
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Commented] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Andrei Savu commented on WHIRR-504:
-----------------------------------

Thanks Ioannis! Let's wait for the final 1.4.0 release before committing this change. 
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504-minimal.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Updated] (WHIRR-504) Upgrade to jclouds 1.4.0

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

David Alves updated WHIRR-504:
------------------------------

    Attachment: WHIRR-504.patch

Updated patch that applies cleanly to the latest trunk.
two Karaf itests are failing:
testInstallation:WhirrInstallationTest.testInstallation:KarafTestContainer{mvn:org.apache.karaf\/apache-karaf\/2.2.5\/tar.gz}(org.apache.whirr.karaf.itest.WhirrInstallationTest): Expected bundle to be started expected:<32> but was:<2>
  testServices:WhirrServicesTest.testServices:KarafTestContainer{mvn:org.apache.karaf\/apache-karaf\/2.2.5\/tar.gz}(org.apache.whirr.karaf.itest.WhirrServicesTest): Gave up waiting for service (&(objectClass=org.apache.whirr.ClusterController)(name=default))
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504-minimal.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Updated] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Adrian Cole updated WHIRR-504:
------------------------------

    Attachment: WHIRR-504.patch

tested on aws-ec2 and cloudservers-uk on cassandra and zookeeper
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504-minimal.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Commented] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Adrian Cole commented on WHIRR-504:
-----------------------------------

Updates in latest patch:

  * employs new jclouds features such as submitScriptOnNode and its EventBus mechanisms for script notification.

  * refactored DryRunModule and showed an example test you can use to sanity check services offline, based on David's work: CassandraServiceDryRunTest

  * shown an example of how to use jclouds InstallJDK function in ZooKeeperClusterActionHandler.

Results:

  * zookeeper passed on cloudservers-us, but when the zookeepers start on aws-ec2, the tests that actually connect to the ports fail.

  * I tried cassandra, but there seems to be an issue, even on rackspace where the default install_jdk script fails with "Package sun-java6-jdk has no installation candidate"  I'd suggest to move to InstallJDK statement like I did in zookeeper.

  * The itests seem to rely on guava 10.0.1, which is a problem, maybe Ioannis can have a look and see if this can be updated.

Note:
I know I've reorganized imports and I understand that this isn't nice, but I don't have any more time, so I figured I'd kick the patch out for folks to help progress. 
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Commented] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Andrei Savu commented on WHIRR-504:
-----------------------------------

Karaf itests are failing for me and that's because PAX-EXAM needs guava 10.0.1. We may need to revert some changes to make things work. Ioannis any ideas? Is there a newer version of PAX-EXAM that works with Guava 11.0.1? 
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Commented] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Andrei Savu commented on WHIRR-504:
-----------------------------------

Now that WHIRR-536 is in and 1.4.0-rc.3 available from maven central we need to update this patch. I will look into this later today. 
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Commented] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Adrian Cole commented on WHIRR-504:
-----------------------------------

p.s. the two errors I noted above on itests are are still present regardless of this patch
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504-minimal.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Updated] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Andrei Savu updated WHIRR-504:
------------------------------

    Attachment: WHIRR-504.patch

Patch to upgrade to jclouds 1.4.0-rc.1. Seems to be working fine on cloudservers but fails to authenticate against aws-ec2 VMs.  
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Andrei Savu
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Commented] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Andrei Savu commented on WHIRR-504:
-----------------------------------

Note: before commit we need to update BootstrapTemplate to use addUserAndAuthorizeSudo (renamed to ensureUserExistsAndAthorizeSudo). 
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504-minimal.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Commented] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Ioannis Canellos commented on WHIRR-504:
----------------------------------------

Sorry for the delay.

Ok, the problem is that itests require guava 11.x for compile and guava 10.x for test scope.
The workaround I found is to remove the compile-time dependency from guava and let the test use guava 10.x.

A secondary issue, was that the patch was using a snapshot version of jclouds and the current whirr setup did not support it.

For the last I have created a new jira: WHIRR-536. It also fixes the guava thing, so if you apply it I think that all issues will be solved. Note: that when upgrading jclouds version, the osgi itests might fail if you don't also upgrade the jclouds.karaf.version. 
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Commented] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Adrian Cole commented on WHIRR-504:
-----------------------------------

@ioannis I updated the patch, as we are no longer in a staging repo, yet still fails starting with the following:
org.ops4j.pax.exam.TestContainerException: [testInstallation(org.apache.whirr.karaf.itest.WhirrInstallationTest): Bundle org.apache.whirr.karaf.commands does not exist]
can you have another look?
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Commented] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Adrian Cole commented on WHIRR-504:
-----------------------------------

I looked over whirr for deprecation issues, as it uses things in guava that have replacements.  Also, I had a look at DryRunModule, which is very sensitive to internal details of jclouds.  I'm in the process of revamping this patch to get rid of all deprecated guava usage.  I'm also updating jclouds to public statement execution events on an EventBus, which is much cleaner than the aop pattern currently used in DryRunModule.
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Updated] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Adrian Cole updated WHIRR-504:
------------------------------

    Attachment: WHIRR-504.patch

slight update w/cleaner syntax to get the EventBus:

          context.utils().eventBus().register(ComputeCache.this);

                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Updated] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Andrei Savu updated WHIRR-504:
------------------------------

    Attachment: WHIRR-504.patch

Here is an updated version for current trunk. Seems to be working fine on aws-ec2 and cloudservers-uk. Please review! 

Changes:
* updated BootstrapTemplate
* removed whirr.hardware-min-ram=512 - I had some issue with t1.micro
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504-minimal.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Updated] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Andrei Savu updated WHIRR-504:
------------------------------

    Attachment: WHIRR-504.patch

Update patch to build with 1.4.0-SNAPSHOT. Integration tests work fine on aws-ec2 & cloudservers-uk. 
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Andrei Savu
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Updated] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Ioannis Canellos updated WHIRR-504:
-----------------------------------

    Attachment:     (was: WHIRR-504-updated.patch)
    
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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

        

[jira] [Commented] (WHIRR-504) Upgrade to jclouds 1.4.0

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

Karel Vervaeke commented on WHIRR-504:
--------------------------------------

+1 looks great
                
> Upgrade to jclouds 1.4.0
> ------------------------
>
>                 Key: WHIRR-504
>                 URL: https://issues.apache.org/jira/browse/WHIRR-504
>             Project: Whirr
>          Issue Type: Improvement
>            Reporter: Andrei Savu
>            Assignee: Adrian Cole
>             Fix For: 0.8.0
>
>         Attachments: WHIRR-504-minimal.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch, WHIRR-504.patch
>
>
> At this time 1.4.0 RC1 is out and if no major bugs are discovered we should be able to have a final release pretty soon. 

--
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