Uploaded image for project: 'Cloud Enablement'
  1. Cloud Enablement
  2. CLOUD-2545

[AMQ7] AMQ_CLUSTERED=true "Host 0.0.0.0 is not valid for clustering, please provide a valid IP or hostname"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • AMQ71 1.0.0.GA
    • AMQ71 1.0.0.GA
    • AMQ7
    • CLOUD Maintenance Sprint 19

      When AMQ_CLUSTERED env is set to "true", the broker doesn't start (pod goes into CrashLoopBackOff )

      -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:+UseParallelOldGC -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=20 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MaxMetaspaceSize=100m -XX:+ExitOnOutOfMemoryError
      Broker will be clustered
      Creating Broker with args --user username --password password --role admin --name broker --allow-anonymous --http-host 10.129.1.6 --host 0.0.0.0   --queues fooBar --clustered --cluster-user=cluster_user --cluster-password=cluster_password --replicated
      Creating ActiveMQ Artemis instance at: /home/jboss/broker
      
      --host: is a mandatory property!
      Host 0.0.0.0 is not valid for clustering, please provide a valid IP or hostname
      No line found
      
      usage: artemis <command> [<args>]
      
      The most commonly used artemis commands are:
          address     Address tools group (create|delete|update|show) (example ./artemis address create)
          browser     It will browse messages on an instance
          consumer    It will consume messages from an instance
          create      creates a new broker instance
          data        data tools group (print) (example ./artemis data print)
          help        Display help information
          mask        mask a password and print it out
          migrate1x   Migrates the configuration of a 1.x Artemis Broker
          producer    It will send messages to an instance
          queue       Queue tools group (create|delete|update|stat) (example ./artemis queue create)
      
      See 'artemis help <command>' for more information on a specific command.
      
      keystorepassword 
      sed: can't read /home/jboss/broker/etc/jolokia-access.xml: No such file or directory
      keystore filepath: 
      sed: can't read /home/jboss/broker/etc/broker.xml: No such file or directory
      Copying Config files from S2I build
      cp: cannot stat '/opt/amq/conf/*': No such file or directory
      Custom Configuration file 'BROKER_XML' is disabled
      sed: can't read /home/jboss/broker/etc/broker.xml: No such file or directory
      /opt/amq/bin/launch.sh: line 174: /home/jboss/broker/bin/artemis: No such file or directory
      Running Broker
      

            buschv Vanessa Busch
            maschmid@redhat.com Marek Schmidt
            David Simansky David Simansky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: