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

Command fabric:join can join container with wrong name to fabric

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • jboss-fuse-6.2.1
    • jboss-fuse-6.2
    • Fabric8 v1
    • None
    • % %

      Using fabric:join command it is possible to join container to fabric with wrong name like testContainer. This format is not allowed in container-create-child command. This results in container that cannot be manipulated because it doesn't have a correct format.

      JBossFuse:karaf@root> container-create-child root testContainer
      Error executing command: Container name 'testContainer' is invalid. Container name must be: lower-case letters, numbers, and _ or - characters
      
      JBossFuse:karaf@root> fabric:join -r localip rjakubco-fuseqe5:2181 testContainer
      Ensemble password: 
      You are about to change the container name. This action will restart the container.
      The local shell will automatically restart, but ssh connections will be terminated.
      The container will automatically join: rjakubco-fuseqe5:2181 the cluster after it restarts.
      Do you wish to proceed (yes/no): yes
      JBossFuse:karaf@root> 
      Please wait while JBoss Fuse is loading...
      

            yfang@redhat.com Freeman(Yue) Fang
            rjakubco Roman Jakubco (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: