[2.0a4] Permission error for boot-resources/cache

Bug #1563799 reported by Mark Shuttleworth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Undecided
Andres Rodriguez

Bug Description

After updateing to 2.0a4 I see a lot of this in maas.log:

Mar 30 12:16:37 maas maas.import-images: [INFO] Started importing boot images.
Mar 30 12:16:37 maas maas.boot_image_download_service: [ERROR] Failed to download images: [Errno 13] Permission denied: '/var/lib/maas/boot-resources/cache'

Related branches

Revision history for this message
Mark Shuttleworth (sabdfl) wrote :

I noticed that on this rack controller, /var/lib/maas/boot-resources was owned by root.root. Chowning that directory to maas.maas seemed to unblock the situation. So we need to make sure that the packaging scripts set the directory ownership appropriately.

Revision history for this message
Mark Shuttleworth (sabdfl) wrote :

Now I see this in maas.log which seems much healthier:

Mar 30 12:21:39 maas maas.bootsources: [INFO] Updated boot sources cache.
Mar 30 12:21:39 maas maas.bootresources: [INFO] Started importing of boot images from 1 source(s).
Mar 30 12:21:39 maas maas.bootresources: [INFO] Importing images from source: http://maas.ubuntu.com/images/ephemeral-v2/releases/
Mar 30 12:21:40 maas maas.bootresources: [INFO] Finished importing of boot images from 1 source(s).
Mar 30 12:21:40 maas maas.import-images: [INFO] Started importing boot images.
Mar 30 12:23:37 maas maas.import-images: [INFO] Writing boot image metadata and iSCSI targets.
Mar 30 12:23:37 maas maas.import-images: [INFO] Installing boot images snapshot /var/lib/maas/boot-resources/snapshot-20160330-112140
Mar 30 12:23:39 maas maas.import-images: [INFO] Updating boot image iSCSI targets.
Mar 30 12:23:39 maas maas.import-images: [INFO] Cleaning up old snapshots and cache.
Mar 30 12:23:39 maas maas.import-images: [INFO] Finished importing boot images.

Changed in maas:
assignee: nobody → Andres Rodriguez (andreserl)
Changed in maas:
status: New → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
milestone: none → 2.1.0
milestone: 2.1.0 → none
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.