[Bug 1387002] [NEW] typo in maas-region-controller.postrm stops remove/purge from correctly calling dbconfig
Mike McCracken
1387002 at bugs.launchpad.net
Wed Oct 29 06:56:19 UTC 2014
Public bug reported:
line 9 of maas-region-controller.postrm tests for the existence of '/etc
/dbconfig-common/maas.conf', which will not exist. the file that gets
created is instead maas-region-controller.conf. since that test is never
true, the call to dbc_go to do the postrm.pgsql stuff never happens.
This appears to contribute to some flakiness involving purging and
reinstalling maas.
On one server that I'm currently having difficulty with, I had a /etc
/dbconfig-common/maas-region-controller.conf that was two months (and
several maas versions) old, despite having purged several times.
I think this is related to the error messages I was seeing when purging,
including errors about wrong password for user maas. The
local_settings.py I saw had a password of 'maas', but that .conf file
had a different password.
Unfortunately, while this appears to be a legitimate typo bug, manually
fixing it and re-running the purge did not fix my problems:
Setting up maas-region-controller (1.7.0~beta8+bzr3273-0ubuntu1~trusty1) ...
dpkg: error processing package maas-region-controller (--configure):
subprocess installed post-installation script returned error exit status 10
** Affects: maas (Ubuntu)
Importance: Undecided
Status: New
** Tags: cloud-installer
** Description changed:
-
- line 9 of maas-region-controller.postrm tests for the existence of '/etc/dbconfig-common/maas.conf', which will not exist. the file that gets created is instead maas-region-controller.conf. since that test is never true, the call to dbc_go to do the postrm.pgsql stuff never happens.
+ line 9 of maas-region-controller.postrm tests for the existence of '/etc
+ /dbconfig-common/maas.conf', which will not exist. the file that gets
+ created is instead maas-region-controller.conf. since that test is never
+ true, the call to dbc_go to do the postrm.pgsql stuff never happens.
This appears to contribute to some flakiness involving purging and
reinstalling maas.
On one server that I'm currently having difficulty with, I had a /etc
/dbconfig-common/maas-region-controller.conf that was two months (and
several maas versions) old, despite having purged several times.
I think this is related to the error messages I was seeing when purging,
including errors about wrong password for user maas. The
local_settings.py I saw had a password of 'maas', but that .conf file
had a different password.
+
+ Unfortunately, while this appears to be a legitimate typo bug, manually
+ fixing it and re-running the purge did not fix my problems.
** Description changed:
line 9 of maas-region-controller.postrm tests for the existence of '/etc
/dbconfig-common/maas.conf', which will not exist. the file that gets
created is instead maas-region-controller.conf. since that test is never
true, the call to dbc_go to do the postrm.pgsql stuff never happens.
This appears to contribute to some flakiness involving purging and
reinstalling maas.
On one server that I'm currently having difficulty with, I had a /etc
/dbconfig-common/maas-region-controller.conf that was two months (and
several maas versions) old, despite having purged several times.
I think this is related to the error messages I was seeing when purging,
including errors about wrong password for user maas. The
local_settings.py I saw had a password of 'maas', but that .conf file
had a different password.
Unfortunately, while this appears to be a legitimate typo bug, manually
- fixing it and re-running the purge did not fix my problems.
+ fixing it and re-running the purge did not fix my problems:
+
+ Setting up maas-region-controller (1.7.0~beta8+bzr3273-0ubuntu1~trusty1) ...
+ dpkg: error processing package maas-region-controller (--configure):
+ subprocess installed post-installation script returned error exit status 10
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to maas in Ubuntu.
https://bugs.launchpad.net/bugs/1387002
Title:
typo in maas-region-controller.postrm stops remove/purge from
correctly calling dbconfig
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/maas/+bug/1387002/+subscriptions
More information about the Ubuntu-server-bugs
mailing list