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

list listeners display missing pretty output

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Duplicate
    • 2.3.19
    • N/A
    • maxctrl
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.