Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-3205

list listeners display missing pretty output

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.3.19
    • Fix Version/s: N/A
    • Component/s: maxctrl
    • Labels:
      None
    • Environment:
      CentOS Linux release 7.7.1908

      Description

      maxctrl list liteners shows raw output in each of four horizontal columns resulting in a not-very-legible, redundant display 520 characters wide:

      ~# maxctrl list listeners Read-Write-Service
      ┌──────────────────────────────────────────┬──────────────────────────────────────────┬──────────────────────────────────────────┬──────────────────────────────────────────┐
      │ Name                                     │ Port                                     │ Host                                     │ State                                    │
      ├──────────────────────────────────────────┼──────────────────────────────────────────┼──────────────────────────────────────────┼──────────────────────────────────────────┤
      │ {                                        │ {                                        │ {                                        │ {                                        │
      │     "id": "Read-Write-Listener",         │     "id": "Read-Write-Listener",         │     "id": "Read-Write-Listener",         │     "id": "Read-Write-Listener",         │
      │     "type": "listeners",                 │     "type": "listeners",                 │     "type": "listeners",                 │     "type": "listeners",                 │
      │     "attributes": {                      │     "attributes": {                      │     "attributes": {                      │     "attributes": {                      │
      │         "state": "Running",              │         "state": "Running",              │         "state": "Running",              │         "state": "Running",              │
      │         "parameters": {                  │         "parameters": {                  │         "parameters": {                  │         "parameters": {                  │
      │             "address": "::",             │             "address": "::",             │             "address": "::",             │             "address": "::",             │
      │             "port": 3306,                │             "port": 3306,                │             "port": 3306,                │             "port": 3306,                │
      │             "protocol": "MariaDBClient", │             "protocol": "MariaDBClient", │             "protocol": "MariaDBClient", │             "protocol": "MariaDBClient", │
      │             "authenticator": "MySQLAuth" │             "authenticator": "MySQLAuth" │             "authenticator": "MySQLAuth" │             "authenticator": "MySQLAuth" │
      │         },                               │         },                               │         },                               │         },                               │
      │         "authenticator_diagnostics": [   │         "authenticator_diagnostics": [   │         "authenticator_diagnostics": [   │         "authenticator_diagnostics": [   │
      │             {                            │             {                            │             {                            │             {                            │
      │                 "user": "max",           │                 "user": "max",           │                 "user": "max",           │                 "user": "max",           │
      │                 "host": "%"              │                 "host": "%"              │                 "host": "%"              │                 "host": "%"              │
      │             },                           │             },                           │             },                           │             },                           │
      │             {                            │             {                            │             {                            │             {                            │
      │                 "user": "max",           │                 "user": "max",           │                 "user": "max",           │                 "user": "max",           │
      │                 "host": "localhost"      │                 "host": "localhost"      │                 "host": "localhost"      │                 "host": "localhost"      │
      │             }                            │             }                            │             }                            │             }                            │
      │         ]                                │         ]                                │         ]                                │         ]                                │
      │     }                                    │     }                                    │     }                                    │     }                                    │
      │ }                                        │ }                                        │ }                                        │ }                                        │
      └──────────────────────────────────────────┴──────────────────────────────────────────┴──────────────────────────────────────────┴──────────────────────────────────────────┘
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              markus makela markus makela
              Reporter:
              juan.vera Juan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: