Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-511

Incorrect feature definition: jclouds-rackspace-cloudblockstorage-uk/us

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.7.1
    • Fix Version/s: 1.7.2, 1.8.0
    • Component/s: jclouds-karaf
    • Labels:
      None

      Description

      For example, uk feature has the following definition:

      <feature name='jclouds-rackspace-cloudblockstorage-uk' description='Racksapce Cloud Block Storage UK' version='${project.version}' resolver='(obr)'>
        <feature version='${project.version}'>jclouds-api-openstack-cinder</feature>
        <feature version='${project.version}'>jclouds-api-rackspace-cloudidentity</feature>
        <bundle>mvn:org.apache.jclouds.provider/rackspace-cloudblockstorage-uk/${jclouds.version}</bundle>
      </feature>
      

      and jclouds-api-rackspace-cloudidentity:

      <feature name="jclouds-api-rackspace-cloudidentity" description="Rackspace Cloud Identity API" version="${project.version}" resolver="(obr)">
        <feature version='${project.version}'>jclouds-compute</feature>
        <feature version='${project.version}'>jclouds-api-openstack-keystone</feature>
        <bundle dependency='true'>mvn:org.apache.jclouds.api/rackspace-cloudidentity/${jclouds.version}</bundle>
      </feature>
      

      However, with current Karaf there's no way the bundle "mvn:org.apache.jclouds.api/rackspace-cloudidentity/${jclouds.version}" will get installed. Bundles with

      {dependency="true"}

      are taken into account only during resolution of other bundles from the same feature - not of the upper feature which uses other features. In other words - <bundle dependency="true" /> doesn't bubble up.

        Attachments

        1. JCLOUDS-511.patch
          2 kB
          Andrew Phillips

          Activity

            People

            • Assignee:
              andrewp Andrew Phillips
              Reporter:
              ggrzybek Grzegorz Grzybek
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: