[2.5, snap] No support for 'config --database-port' in the snap

Bug #1809321 reported by Andres Rodriguez
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Andres Rodriguez

Bug Description

The snap doesn't support setting the database port:

2 roaksoax@rivals:~/project/maas$ sudo maas config --help
usage: maas config [-h] [--show] [--show-database-password] [--show-secret]
                   [--mode {all,region+rack,region,rack,none}]
                   [--maas-url MAAS_URL] [--database-host DATABASE_HOST]
                   [--database-name DATABASE_NAME]
                   [--database-user DATABASE_USER]
                   [--database-pass DATABASE_PASS] [--secret SECRET] [--force]

View or change controller configuration.

optional arguments:
  -h, --help show this help message and exit
  --show Show the current configuration. Default when no
                        parameters are provided.
                        Show the hidden database password.
  --show-secret Show the hidden secret.
  --mode {all,region+rack,region,rack,none}
                        Set the mode of the MAAS snap (all, region+rack,
                        region, rack, or none).
  --maas-url MAAS_URL URL that MAAS should use for communicate from the
                        nodes to MAAS and other controllers of MAAS.
  --database-host DATABASE_HOST
                        Hostname or IP address that should be used to
                        communicate to the database. Only used when in
                        'region+rack' or 'region' mode.
  --database-name DATABASE_NAME
                        Database name for MAAS to use. Only used when in
                        'region+rack' or 'region' mode.
  --database-user DATABASE_USER
                        Database username to authenticate to the database.
                        Only used when in 'region+rack' or 'region' mode.
  --database-pass DATABASE_PASS
                        Database password to authenticate to the database.
                        Only used when in 'region+rack' or 'region' mode.
  --secret SECRET Secret token required for the rack controller to talk
                        to the region controller(s). Only used when in 'rack'
  --force Force leaving 'all' mode and cause loss of database.
  --parsable Output the current configuration in a parsable format.

Related branches

Changed in maas:
importance: Undecided → High
status: New → Triaged
milestone: none → 2.5.1
Changed in maas:
milestone: 2.5.1 → 2.5.2
Changed in maas:
assignee: nobody → Andres Rodriguez (andreserl)
Changed in maas:
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
milestone: 2.5.2 → 2.6.0
Changed in maas:
milestone: 2.6.0 → 2.6.0alpha1
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers