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

Fabric profile mq-replicated does not define ssl-broker.xml resource

    XMLWordPrintable

Details

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

      Start JBoss Fuse and create fabric and and group of master slave brokers:

      fabric:create --wait-for-provisioning
      mq-create --create-container broker --replicas 3 --parent-profile mq-replicated --group replicated-group hq-broker
      

      All brokers become masters now.

      Show
      Start JBoss Fuse and create fabric and and group of master slave brokers: fabric:create --wait- for -provisioning mq-create --create-container broker --replicas 3 --parent-profile mq-replicated --group replicated-group hq-broker All brokers become masters now.

    Description

      When you want to use replicated levelDB store and you configure it Fuse console:

      fabric:create --wait-for-provisioning
      mq-create --create-container broker --replicas 3 --parent-profile mq-replicated --group replicated-group hq-broker
      

      Then all brokers become masters since mq-create command creates profile which defines following properties in io.fabric8.mq.fabric.server-hq-broker.properties:

      ...
      config=profile\:ssl-broker.xml
      ssl=true
      ...
      

      But mq-replicated profile do not define resource ssl-broker.xml. So it uses ssl-broker.xml from parent profile which is mq-base so there is no replicated LevelDB. Hence all brokers become masters which is not intuitive.

      Workaround for now is to create own profile (which defines ssl-broker.xml) or make mq-create command not to use ssl by parameter:

      mq-create --no-ssl --create-container broker --replicas 3 --parent-profile mq-replicated --group replicated-group hq-broker
      

      Attachments

        Activity

          People

            hchirino Hiram Chirino
            knetl.j@gmail.com Jakub Knetl (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: