Cron Job Fails to Run Daily for Local Apt-Mirror

Bug #1781502 reported by Michael Reed
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
maas-cert-server
Incomplete
Undecided
Unassigned

Bug Description

After installing a local archive for MAAS using maniacs-setup script, the archive fails to update on a nightly basis. This causes systems to fail commission and deploy. The workaround is to run apt mirror manually.

sudo /usr/bin/apt-mirror

Revision history for this message
Michael Reed (mreed8855) wrote :

at /etc/cron.d/apt-mirror
#
# Regular cron jobs for the apt-mirror package
#
0 4 * * * apt-mirror /usr/bin/apt-mirror > /srv/mirrors/archive/var/cron.log

ubuntu@massvm4:~$ cat /srv/mirrors/archive/var/cron.log
Downloading 424 index files using 20 threads...

Revision history for this message
Michael Reed (mreed8855) wrote :

~$ sudo apt-cache policy maas-cert-server
maas-cert-server:
  Installed: 0.3.4-0~201806080105~ubuntu16.04.1
  Candidate: 0.3.4-0~201806080105~ubuntu16.04.1
  Version table:
 *** 0.3.4-0~201806080105~ubuntu16.04.1 500
        500 http://ppa.launchpad.net/hardware-certification/public/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Michael Reed (mreed8855) wrote :

:~$ sudo apt-cache policy maas
maas:
  Installed: 2.3.0-6434-gd354690-0ubuntu1~16.04.1
  Candidate: 2.3.0-6434-gd354690-0ubuntu1~16.04.1
  Version table:
 *** 2.3.0-6434-gd354690-0ubuntu1~16.04.1 500
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.0.0~beta3+bzr4941-0ubuntu1 500
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages

Revision history for this message
Jeff Lane  (bladernr) wrote :

Is this still an issue, or was this resolved by updates to MAAS or Maniacs-setup?

Changed in maas-cert-server:
status: New → Incomplete
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.