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

Version 1.10.6 seem to break old configuration for vhost

XMLWordPrintable

      Old version of the qdrouted configuration file seems to be incompatible with version of qdrouterd 1.10.6. This works in older version

      vhost {
              hostname: $default
              maxConnectionsPerUser: 40
              allowUnknownUser: false
              groups: {
                  $admin: {
                      users: admin@test-interconnect-router
                      remoteHosts: *
                      sources: *
                      targets: *
                      allowAnonymousSender: true
                      allowDynamicSource: true
                  }
                  $default: {
                      remoteHosts: *
                  }
              }
          }
      

      But when upgrading to version 1.10.6 the qdrouterd fails to start with error:

      2022-03-10 12:57:07.035927 +0000 ERROR (error) Python: Exception: Cannot load configuration file /opt/interconnect/etc/qdrouterd.conf: Expecting property name enclosed in double quotes: line 88 column 1 (char 2165)
      2022-03-10 12:57:07.036272 +0000 ERROR (error) Traceback (most recent call last):
        File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py", line 279, in configure_dispatch
          config = Config(filename)
        File "/usr/lib/qpid-dispatch/python/qpid_dispatch_internal/management/config.py", line 64, in __init__
          % (filename, e))
      Exception: Cannot load configuration file /opt/interconnect/etc/qdrouterd.conf: Expecting property name enclosed in double quotes: line 88 column 1 (char 2165)
      
      2022-03-10 12:57:07.036293 +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 88 column 1 (char 2165)
      qdrouterd: Python: Exception: Cannot load configuration file /opt/interconnect/etc/qdrouterd.conf: Expecting property name enclosed in double quotes: line 88 column 1 (char 2165)
      

              pwright@redhat.com Paul Wright
              rhn-support-toross Tom Ross
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: