[1.9,2.x] doesn't let you set a database port
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Critical
|
Unassigned | ||
1.9 |
Won't Fix
|
Critical
|
Unassigned | ||
2.0 |
Fix Released
|
Critical
|
Unassigned |
Bug Description
I have a situation where I need MAAS to talk to postgresql on port 5433 instead of the default 5432.
In MAAS 1.8, this was exposed in the django settings file in /etc/maas.
In MAAS 1.9, the closest setting file is /etc/maas/
atabase_host: localhost
database_name: maasdb
database_pass: secret
database_user: maas
maas_url: http://
maas/settings.py has an empty setting for it:
DATABASES = {
'default': {
'NAME': config.
'USER': config.
'HOST': config.
'PORT': '',
}
And maasserver/
Related branches
- Gavin Panella (community): Approve
-
Diff: 124 lines (+28/-10)4 files modifiedsrc/maas/settings.py (+1/-1)
src/maasserver/config.py (+5/-1)
src/maasserver/management/commands/tests/test_config.py (+17/-7)
src/maasserver/tests/test_config.py (+5/-1)
- Lee Trager (community): Approve
-
Diff: 193 lines (+72/-14)5 files modifiedsrc/maas/settings.py (+1/-1)
src/maasserver/config.py (+5/-1)
src/maasserver/management/commands/_config.py (+11/-2)
src/maasserver/management/commands/tests/test_config.py (+47/-8)
src/maasserver/tests/test_config.py (+8/-2)
tags: | removed: kanban-cross-team |
summary: |
- MAAS 1.9 doesn't let you set a database port + [1.9,2.x] doesn't let you set a database port |
Changed in maas: | |
milestone: | 2.1.0 → 2.1.1 |
Changed in maas: | |
milestone: | 2.1.1 → 2.1.2 |
Changed in maas: | |
status: | Fix Committed → Fix Released |