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

When Creating a A Fabric with External Repo Configuration is Lost Unless Manually Edited in Files

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: jboss-fuse-6.2.1
    • Fix Version/s: None
    • Component/s: Fabric8 v1
    • Labels:
      None
    • Steps to Reproduce:
      Hide
      • Extract and install the Fuse (6.2.1) distribution
      • install and configure a git repository accessible to the fuse installation
      • Create a fabric instance with fabric:create --wait-for-provisioning --external-git-url http://<giturl>/<fabricuser>/<fabric-repo>.git --external-git-user <fabricuser> --external-git-password <fabricpassword> with arguments matching the url and authentication information for the external repo / project
      • Verify that the fabric is created
      • Verify that the external url is in use with config:list | grep <url>
      • Restart the container
      • The git url is no longer found by config:list | grep <url>
      Show
      Extract and install the Fuse (6.2.1) distribution install and configure a git repository accessible to the fuse installation Create a fabric instance with fabric:create --wait-for-provisioning --external-git-url http://<giturl>/<fabricuser>/<fabric-repo>.git --external-git-user <fabricuser> --external-git-password <fabricpassword> with arguments matching the url and authentication information for the external repo / project Verify that the fabric is created Verify that the external url is in use with config:list | grep <url> Restart the container The git url is no longer found by config:list | grep <url>
    • Workaround Description:
      Hide

      Storing the external git URL, user and password information in each ensemble member $FUSE_HOME/etc/io.fabric8.datastore.cfg appears to persist the information past ensemble creation and container restarts.

      Show
      Storing the external git URL, user and password information in each ensemble member $FUSE_HOME/etc/io.fabric8.datastore.cfg appears to persist the information past ensemble creation and container restarts.

      Description

      When creating a fabric with --external-git-url --external-git-user --external-git-password, the values given are not persisted past a container restart and the ensemble reverts to using the internal repo, unless the repository information is pre-configured in $FUSE_HOME/etc/io.fabric8.datastore.cfg.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                kearls Kevin Earls
                Reporter:
                hawkinsds Duane Hawkins
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: