Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-1223

Information about workaround for installing JClouds features for Fuse 6.1

    XMLWordPrintable

Details

    • Documentation
    • Resolution: Done
    • Minor
    • M1
    • None
    • None
    • None
    • % %

    Description

      The issue is related with Karaf itself and the way it handles dependent features with <bundle dependency="true" /> - these are not considered when resolving bundles from requiring ("upper") features.
      (I've created https://issues.apache.org/jira/browse/KARAF-2764 for this problem and I'm working on it).

      And the error is:

      JBossFuse:karaf@root> features:install jclouds-rackspace-cloudblockstorage-us
      Error executing command: Can not resolve feature:
      Unsatisfied requirement(s):
      ---------------------------
         package:(&(package=org.jclouds.rackspace.cloudidentity.v2_0.config)(version>=1.6.2.incubating))
            jclouds Rackspace Next Generation Cloud Block Storage US provider
      
      JBossFuse:karaf@root> features:install jclouds-aws-sts
      Error executing command: Can not resolve feature:
      Unsatisfied requirement(s):
      ---------------------------
         package:(&(package=org.jclouds.sts)(version>=1.6.2.incubating))
            jclouds Amazon Identity and Access Management (STS) provider
      

      The workaround is to manually install required bundles.

      1) check the required features:

      JBossFuse:karaf@root> features:info -d jclouds-rackspace-cloudblockstorage-us
      Description of jclouds-rackspace-cloudblockstorage-us 1.6.2-incubating feature
       Racksapce Cloud Block Storage US
      ----------------------------------------------------------------
      Feature depends on:
        jclouds-api-openstack-cinder 1.6.2-incubating
        jclouds-api-rackspace-cloudidentity 1.6.2-incubating
      

      2) check what bundles do the required features contain:

      JBossFuse:karaf@root> features:info -b jclouds-api-rackspace-cloudidentity
      Description of jclouds-api-rackspace-cloudidentity 1.6.2-incubating feature
       Rackspace Cloud Identity API
      ----------------------------------------------------------------
      Feature contains followed bundles:
       mvn:org.apache.jclouds.api/rackspace-cloudidentity/1.6.2-incubating
      

      3) install the bundles (these have dependency="true" in the required feature definition):

      JBossFuse:karaf@root> osgi:install mvn:org.apache.jclouds.api/rackspace-cloudidentity/1.6.2-incubating
      Bundle ID: 265
      

      4) install the problematic feature:

      JBossFuse:karaf@root> features:install -v jclouds-rackspace-cloudblockstorage-us
      Installing feature jclouds-rackspace-cloudblockstorage-us 1.6.2-incubating
      Installing feature jclouds-api-openstack-cinder 1.6.2-incubating
      Installing feature jclouds-compute 1.6.2-incubating
      Installing feature jclouds 1.6.2-incubating
      Installing feature jclouds-guice 1.6.2-incubating
      Found installed bundle: com.google.inject [266]
      Found installed bundle: com.google.inject.assistedinject [267]
      Found installed bundle: rocoto [268]
      Found installed bundle: jclouds-core [270]
      Found installed bundle: jclouds-compute [272]
      Installing feature jclouds-api-openstack-keystone 1.6.2-incubating
      Found installed bundle: openstack-keystone [274]
      Found installed bundle: openstack-cinder [275]
      Installing feature jclouds-api-rackspace-cloudidentity 1.6.2-incubating
      Installing bundle mvn:org.apache.jclouds.provider/rackspace-cloudblockstorage-us/1.6.2-incubating
      JBossFuse:karaf@root> features:list|grep jclouds-rackspace-cloudblockstorage-us
      [installed  ] [1.6.2-incubating       ] jclouds-rackspace-cloudblockstorage-us  jclouds-1.6.2-incubating             Racksapce Cloud Block Storage US
      

      Attachments

        Issue Links

          Activity

            People

              mariel@redhat.com Mikey Ariel
              ggrzybek Grzegorz Grzybek
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: