changing the IP address of the maas server requires a reinstall

Bug #994779 reported by LaMont Jones
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Undecided
Unassigned
maas (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

For a variety of reasons, I wound up needing to change the IP address of a MAAS server. Doing what it said to do at install time (dpkg --reconfigure maas) was insufficient, and I eventually just reinstalled the machine as the final fallback solution to fixing the config to the new IP address.

Changing the IP address is not a common thing, but it happens often enough (due to moves, etc) that it should be made trivial to do.

Revision history for this message
Julian Edwards (julian-edwards) wrote :

Invalidating trunk task since I think this is just a packaging problem. Feel free to re-open it if discovered otherwise.

Changed in maas:
status: New → Invalid
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi Lamont,

Could you please specify what is it that it didn't work after changing the MAAS IP address? I'm assuming that was PXE booting?

Changed in maas (Ubuntu):
assignee: nobody → Andres Rodriguez (andreserl)
Revision history for this message
John Kroll (jek0004) wrote :

I also experienced this. I didn't try to reinstall,but the next time I started maas my router gave it a new ip. It still showed the old config ip in dpkg --reconfigure maas. Had to do an if config to even find the new address. The system dashboard came up fine from this new ip but this is an undesired result for me.

James Page (james-page)
Changed in maas (Ubuntu):
status: New → Incomplete
Revision history for this message
John Kroll (jek0004) wrote :

     I realize in my case it is a case of the primary dns not wanting to give up mac address lease of machine. If the maas could initiate a clean lease with dns at middle to end of available ip addresses it would be much more desirable.

Revision history for this message
David Fischer (david-fischer-ch) wrote :

I do no if this is the right answer to your question but I faced the same kind of problem : The MaaS web user interface became unrecheable after changing the IP address of my controller.

The solution was to reconfigure a lot of MaaS related packages :

    dpkg --get-selections | grep maas

Here is the output :

    maas install
    maas-cli install
    maas-cluster-controller install
    maas-common install
    maas-region-controller install
    python-django-maas install
    python-maas-client install
    python-maas-provisioningserver install

I reconfigured the packages :

    $ sudo dpkg-reconfigure maas-region-controller
    $ sudo dpkg-reconfigure maas-cluster-controller
    $ sudo ...
    $ sudo reboot

... All works fine now !

Hope it helps.

Changed in maas (Ubuntu):
assignee: Andres Rodriguez (andreserl) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for maas (Ubuntu) because there has been no activity for 60 days.]

Changed in maas (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.