Uploaded image for project: 'AMQ Interconnect'
  1. AMQ Interconnect
  2. ENTMQIC-2485

The VhostNamePatterns does not work in OCP env

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.9.0.GA
    • 1.6.0.GA
    • None
    • None
    • +

    Description

      I am using the AMQ Interconnect in OCP env.

      I am using vhost policy, but I found the below works: 

      hostname: saslinterconnect-saslinterconnect.apps.fusexiwu.lab.pnq2.cee.redhat.com

      VhostNamePatterns does not work. 

      hostname: #.cee.redhat.com not working, the pod cannot being started up, the logs as below:

       
      
      Waiting for IP address...
      cat /etc/qpid-dispatch-users/admin | saslpasswd2 -c -p -u amq-interconnect admin -f /opt/interconnect/etc/qdrouterd.sasldb
      cat /etc/qpid-dispatch-users/dev | saslpasswd2 -c -p -u amq-interconnect dev -f /opt/interconnect/etc/qdrouterd.sasldb
      cat /etc/qpid-dispatch-users/guest | saslpasswd2 -c -p -u amq-interconnect guest -f /opt/interconnect/etc/qdrouterd.sasldb
      2020-06-11 02:48:50.249124 +0000 ERROR (error) Python: Exception: Cannot load configuration file /opt/interconnect/etc/qdrouterd.conf: Expecting property name enclosed in double quotes: line 81 column 1 (char 1676)
      2020-06-11 02:48:50.251169 +0000 ERROR (error) Traceback (most recent call last):
       File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py", line 169, in configure_dispatch
       config = Config(filename)
       File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py", line 56, in __init__
       % (filename, e))
      Exception: Cannot load configuration file /opt/interconnect/etc/qdrouterd.conf: Expecting property name enclosed in double quotes: line 81 column 1 (char 1676)
      
      2020-06-11 02:48:50.251212 +0000 MAIN (critical) Router start-up failed: Python: Exception: Cannot load configuration file /opt/interconnect/etc/qdrouterd.conf: Expecting property name enclosed in double quotes: line 81 column 1 (char 1676)
      qdrouterd: Python: Exception: Cannot load configuration file /opt/interconnect/etc/qdrouterd.conf: Expecting property name enclosed in double quotes: line 81 column 1 (char 1676)
      
      

       

       

       

      Attachments

        Activity

          People

            crolke@redhat.com Chuck Rolke (Inactive)
            rhn-support-xiwu Xiaohui Wu
            Fernando Giorgetti Fernando Giorgetti
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: