[2.0a1] Purging the maas-rack-controller package fails if maas user is gone

Bug #1553579 reported by Mark Shuttleworth
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Critical
Andres Rodriguez

Bug Description

In testing the maas packages I tried removing them all, and saw an error when maas-rack-controller tries to remove the maas user if that user already has been removed by other package removal scripts.

Changed in maas:
status: New → Confirmed
importance: Undecided → Critical
milestone: none → 2.0.0
assignee: nobody → Andres Rodriguez (andreserl)
Revision history for this message
Andres Rodriguez (andreserl) wrote :

This is strange. I've looked into this and the only place in package where we do actually remove the 'maas' user is in the maas-common package. This package has not changed in a while, and checks for the user before it actually attempts to remove it. I'll dig into this further.

Revision history for this message
Andres Rodriguez (andreserl) wrote :

Purging configuration files for maas-common (2.0.0~alpha1+bzr4736-0ubuntu1~xenial2) ...
Removing user `maas' ...
Warning: group `maas' has no more members.
Done.
The group `maas' does not exist.

summary: - Purging the maas-rack-controller package fails if maas user is gone
+ [2.0a1] Purging the maas-rack-controller package fails if maas user is
+ gone
Gavin Panella (allenap)
Changed in maas:
status: Confirmed → Triaged
Changed in maas:
milestone: 2.0.0 → 2.1.0
Changed in maas:
milestone: 2.1.0 → 2.1.1
Changed in maas:
milestone: 2.1.1 → 2.1.2
Changed in maas:
milestone: 2.1.2 → 2.1.3
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi!

**This is an automated message**

We believe this is may no longer be an issue in the latest MAAS release.
Due to the original date of the bug report, we are currently marking it
as Invalid. If you believe this bug report still valid against the
latest release of MAAS, or if you are still interested in this, please
re-open this bug report.

Thanks

Changed in maas:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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