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

fabric join not allowing FQDN names throwing Container name 'abc.domain' is invalid. Container name must be: lower-case letters, numbers, and _ or - characters

    XMLWordPrintable

    Details

    • Steps to Reproduce:
      Hide

      1. on machine1 which IP is: 10.65.193.52

      modify:
      $Fuse_HOME/etc/user.properties

      uncomment the line
      admin=admin,admin,manager,viewer,Monitor, Operator, Maintainer, Deployer, Auditor, Administrator, SuperUser

      -$Fuse_HOME/etc/system.properties

      karaf name =xyz.domain

      start the fuse $Fuse_HOME/bin/fuse

      fabric:create --resolver manualip --manual-ip 10.65.193.52 --wait-for-provisioning

      2. on machine2, which IP is 10.74.133.137

      modify:
      -$Fuse_HOME/etc/user.properties

      uncomment the line
      admin=admin,admin,manager,viewer,Monitor, Operator, Maintainer, Deployer, Auditor, Administrator, SuperUser

      • $Fuse_HOME/etc/system.properties
        karaf.name=abc.domain

      start the fuse $Fuse_HOME/bin/fuse

      fabric:join --resolver manualip --manual-ip 10.74.133.137 10.65.193.52:2181
      Error executing command: Container name 'abc.domain' is invalid. Container name must be: lower-case letters, numbers, and _ or - characters

      Show
      1. on machine1 which IP is: 10.65.193.52 modify: $Fuse_HOME/etc/user.properties uncomment the line admin=admin,admin,manager,viewer,Monitor, Operator, Maintainer, Deployer, Auditor, Administrator, SuperUser -$Fuse_HOME/etc/system.properties karaf name =xyz.domain start the fuse $Fuse_HOME/bin/fuse fabric:create --resolver manualip --manual-ip 10.65.193.52 --wait-for-provisioning 2. on machine2, which IP is 10.74.133.137 modify: -$Fuse_HOME/etc/user.properties uncomment the line admin=admin,admin,manager,viewer,Monitor, Operator, Maintainer, Deployer, Auditor, Administrator, SuperUser $Fuse_HOME/etc/system.properties karaf.name=abc.domain start the fuse $Fuse_HOME/bin/fuse fabric:join --resolver manualip --manual-ip 10.74.133.137 10.65.193.52:2181 Error executing command: Container name 'abc.domain' is invalid. Container name must be: lower-case letters, numbers, and _ or - characters
    • Sprint:
      Sprint 7 - towards CR2

      Description

      fabric join not allowing FQDN names throwing Container name 'abc.domain' is invalid. Container name must be: lower-case letters, numbers, and _ or - characters

      Customer-comments:

      Just a small update on this from our side. On Fuse 6.1.0/6.2.0 we always used the FQDN of the host as the name of the container. We set that name using osgi:name or in the system.properties file.

      However, in Fuse 6.2.1 this "bug" was fixed:
      https://issues.jboss.org/browse/ENTESB-3617

      That basically trashes the way we are working and how we identify Fuse root containers. On Fuse < 6.2.1 you will notice that setting a root container name to my.fuse.container is allowed, while 6.2.1 refuses this. Also, official documentation never states we are not supposed to use a FQDN name as a root container name and many of our customers are doing that because it makes it easier to identify the containers.

      Therefore, I think we should loosen the validation of the name to allow dots in the container name

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  sonicaaaa Paolo Antinori
                  Reporter:
                  rhn-support-kkakarla Kodanda Ramu
                  Tester:
                  Roman Jakubco
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: