Comment 1 for bug 1985863

Revision history for this message
Koen Dierckx (dierckxk) wrote :

Found the issue, the /etc/apt/auth.conf.d/90ubuntu-advantage file had grown to 40Gb, causing ua to crash

What caused it to grow to 40Gb?
We automated the enabling of the ua services with puppet
We check the status to determine if we need to enable/disable a service

There seems to be something wrong there:

$ sudo ua enable esm-infra
One moment, checking your subscription first
Updating package lists
UA Infra: ESM enabled

$ ua status
SERVICE ENTITLED STATUS DESCRIPTION
esm-infra yes disabled UA Infra: Extended Security Maintenance (ESM)

Each time the enable runs, it will add line to /etc/apt/auth.conf.d/90ubuntu-advantage
But the status command keeps showing not enabled, so it keeps trying

So, we have 2 related bugs:
1) enable seems to work, but status does not pick this up
2) each enable appends to /etc/apt/auth.conf.d/90ubuntu-advantage, but I think it need to overwrite that file