#2859 closed task (fixed)

osgeo4 is having issue snapshotting osgeo7 containers

Reported by: robe Owned by: sac@…
Priority: blocker Milestone: Sysadmin Contract 2022-II
Component: SysAdmin Keywords:


I'll investigate this later tonight. I think it's because lxd micro update happened recently.

Error is usual:

Error: Create instance snapshot (mount source): Failed to run: zfs set mountpoint=legacy canmount=noauto osgeo7/containers/wordpress: exit status 1 (umount: /var/snap/lxd/common/shmounts/storage-pools/default/containers/wordpress: no mount point specified.

Change History (1)

comment:1 by robe, 17 months ago

Resolution: fixed
Status: newclosed

at a glance seemed to be only wordpress and download with the backup issue.

Affected systems on osgeo7 were: wordpress, download, live

Fixed with:

rm  /var/snap/lxd/common/lxd/storage-pools/default/containers/download/backup.yaml
sudo zfs set mountpoint=/var/snap/lxd/common/lxd/storage-pools/default/containers/download canmount=noauto osgeo7/containers/download
sudo zfs umount osgeo7/containers/download
sudo zfs mount osgeo7/containers/download
sudo zfs set mountpoint=/var/snap/lxd/common/lxd/storage-pools/default/containers/live canmount=noauto osgeo7/containers/live
sudo zfs umount osgeo7/containers/live
sudo zfs mount osgeo7/containers/live
sudo zfs set mountpoint=/var/snap/lxd/common/lxd/storage-pools/default/containers/tracsvn canmount=noauto osgeo7/containers/tracsvn
sudo zfs mount osgeo7/containers/tracsvn
rm  /var/snap/lxd/common/lxd/storage-pools/default/containers/wordpress/backup.yaml
sudo zfs set mountpoint=/var/snap/lxd/common/lxd/storage-pools/default/containers/wordpress canmount=noauto osgeo7/containers/wordpress
sudo zfs umount osgeo7/containers/wordpress
sudo zfs mount osgeo7/containers/wordpress
sudo zfs set mountpoint=/var/snap/lxd/common/lxd/storage-pools/default/containers/pycsw canmount=noauto osgeo7/containers/pycsw
sudo zfs mount osgeo7/containers/pycsw

Once that was done, snapshotting worked again

lxc snapshot download
lxc snapshot live
lxc snapshot pycsw
lxc snapshot tracsvn
lxc snapshot wordpress 
Note: See TracTickets for help on using tickets.