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

Profile import in fabric results in Container 'root' does not exist

    XMLWordPrintable

Details

    • % %
    • Workaround Exists
    • Hide

      using URL "env:FABRIC8_IMPORT_PROFILE_URLS" while importing

      Show
      using URL "env:FABRIC8_IMPORT_PROFILE_URLS" while importing
    • Hide

      1. Create a folder com/jda/flex/base/profile/9.0.0.0 and keep the attached "profile-9.0.0.0-profile.zip" inside it
      2. Edit the "io.fabric8.import.profiles.properties" and appended the below line
      ------------------------------------------------------------------------------------------------------------------------------------------------

      importProfileURLs = ${env:FABRIC8_IMPORT_PROFILE_URLS?:mvn:io.fabric8.quickstarts/fabric8-quickstarts-parent/$
      {version:fabric}
      /zip/profile,mvn:org.jboss.quickstarts.fuse/quickstarts-
      parent/6.2.0.redhat-133/zip/profile,mvn:com.jda.flex.base/profile/9.0.0.0/zip/profile}
      

      ------------------------------------------------------------------------------------------------------------------------------------------------
      3. Start Fuse
      4. Run the fabric create command as below
      ------------------------------------------------------------------------------------------------------------------------------------------------
      JBossFuse:karaf@root> fabric:create --clean --new-user admin --new-user-password admin --zookeeper-password zoopass --resolver manualip --manual-ip 127.0.0.1
      --wait-for-provisioning --verbose root
      ------------------------------------------------------------------------------------------------------------------------------------------------
      5. I could see that the profile : "jda-flex-base" is present.
      ------------------------------------------------------------------------------------------------------------------------------------------------
      6. Now in step 2 if we edit the file as below
      ------------------------------------------------------------------------------------------------------------------------------------------------
      importProfileURLs = mvn:com.jda.flex.base/profile/9.0.0.0/zip/profile
      ------------------------------------------------------------------------------------------------------------------------------------------------
      and execute the steps 3 and 4, then we would see the error "Container 'root' does not exist"

      Show
      1. Create a folder com/jda/flex/base/profile/9.0.0.0 and keep the attached "profile-9.0.0.0-profile.zip" inside it 2. Edit the "io.fabric8.import.profiles.properties" and appended the below line ------------------------------------------------------------------------------------------------------------------------------------------------ importProfileURLs = ${env:FABRIC8_IMPORT_PROFILE_URLS?:mvn:io.fabric8.quickstarts/fabric8-quickstarts-parent/$ {version:fabric} /zip/profile,mvn:org.jboss.quickstarts.fuse/quickstarts- parent/6.2.0.redhat-133/zip/profile,mvn:com.jda.flex.base/profile/9.0.0.0/zip/profile} ------------------------------------------------------------------------------------------------------------------------------------------------ 3. Start Fuse 4. Run the fabric create command as below ------------------------------------------------------------------------------------------------------------------------------------------------ JBossFuse:karaf@root> fabric:create --clean --new-user admin --new-user-password admin --zookeeper-password zoopass --resolver manualip --manual-ip 127.0.0.1 --wait-for-provisioning --verbose root ------------------------------------------------------------------------------------------------------------------------------------------------ 5. I could see that the profile : "jda-flex-base" is present. ------------------------------------------------------------------------------------------------------------------------------------------------ 6. Now in step 2 if we edit the file as below ------------------------------------------------------------------------------------------------------------------------------------------------ importProfileURLs = mvn:com.jda.flex.base/profile/9.0.0.0/zip/profile ------------------------------------------------------------------------------------------------------------------------------------------------ and execute the steps 3 and 4, then we would see the error "Container 'root' does not exist"
    • Sprint 5 - towards ER2

    Description

      Requirement is to load custom profile. For this the procedure implemented is the one suggested in : http://fabric8.io/gitbook/profiles.html (Importing initial profiles)
      The issue is that the URL of the custom profile in "io.fabric8.import.profiles.properties" needs to be appended with "env:FABRIC8_IMPORT_PROFILE_URLS"
      If not then while creating fabric it throws the error "Container 'root' does not exist"

      Attachments

        Activity

          People

            ggrzybek Grzegorz Grzybek
            rhn-support-hnaram Herambh Naram (Inactive)
            Emil Cervenan Emil Cervenan
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: