Uploaded image for project: 'JBoss A-MQ'
  1. JBoss A-MQ
  2. ENTMQ-1138

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • JBoss A-MQ 6.2
    • fabric8
    • None
    • 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"

      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"

            Unassigned Unassigned
            rhn-support-hnaram Herambh Naram (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: