DEFAULT_MAAS_URL is lost on package upgrade

Bug #984309 reported by Francis J. Lacoste on 2012-04-17
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maas (Ubuntu)
Critical
Andres Rodriguez

Bug Description

When I upgraded to the latest package in testing, it prompted me about changes to maas_local_settings.py. I said to replace the file because we regenerate the password on all upgrade.

Unfortunately, the DEFAULT_MAAS_URL value which was set automatically on first install wasn't updated and was left at the maas.internal.example.com one.

Two things:

a) Given all the changes that the package do to that file, we should probably not mark it as a config change? As the upgrade becomes very confusing to the user. Should they install the new file? or not?

b) If we persist in keeping it as a config file, we should make sure that the DEFAULT_MAAS_URL settings is preserved.

Related branches

Changed in maas (Ubuntu):
assignee: nobody → Andres Rodriguez (andreserl)
status: New → Confirmed
importance: Undecided → High
importance: High → Critical
Changed in maas (Ubuntu):
status: Confirmed → Fix Committed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package maas - 0.1+bzr482+dfsg-0ubuntu1

---------------
maas (0.1+bzr482+dfsg-0ubuntu1) precise-proposed; urgency=low

  * New upstream release (Fixes LP: #981103)
  * debian/maas.postinst:
    - Make sure rabbitmq and postgresql are started on upgrade (LP: #981282)
    - Handle upgrades from any lower than 0.1+bzr462+dfsg-0ubuntu1 to
      correctly re-generate passwords, and not have db sync/migrate issues
      as config has changed upstream.
    - Correctly set Passwords for PSERV, otherwise it won't set new passwords.
  * Allow MAAS_DEFAULT_URL reconfiguration. (LP: #980970)
    - debian/maas.config: Add reconfigure validation to correctly allow it,
      and ask a question.
    - debian/maas.postinst: Reconfigure DEFAULT_MAAS_URL as well as cobbler
      server and next_server for PXE/Provisioning.
    - debian/maas.templates: Add debconf question and update info.
  * Do not lose MAAS_DEFAULT_URL settings on upgrade (LP: #984309)
  * debian/maas.postinst:
    - Set cobbler password in between quotes (LP: #984427)
    - Do not change permissions to maas.log (LP: #980915)
  * no longer use maas-cloudimg2ephemeral, but rather use premade images
    at http://maas.ubuntu.com
 -- Andres Rodriguez <email address hidden> Tue, 17 Apr 2012 23:44:46 -0700

Changed in maas (Ubuntu):
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