[SAC] [OSGeo] #2813: copy_ldap_certs_to_secure.sh is failing on osgeo7
OSGeo
trac_osgeo at osgeo.org
Mon Sep 26 18:08:55 PDT 2022
#2813: copy_ldap_certs_to_secure.sh is failing on osgeo7
---------------------------+----------------------------------------
Reporter: robe | Owner: sac@…
Type: task | Status: closed
Priority: normal | Milestone: Sysadmin Contract 2022-II
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+----------------------------------------
Changes (by robe):
* status: new => closed
* resolution: => fixed
Comment:
to fix did:
{{{
sudo rm /var/snap/lxd/common/lxd/storage-
pools/default/containers/secure/backup.yaml
sudo zfs set mountpoint=/var/snap/lxd/common/lxd/storage-
pools/default/containers/secure canmount=noauto osgeo7/containers/secure
sudo zfs umount osgeo7/containers/secure
sudo zfs mount osgeo7/containers/secure
lxc snapshot secure
}}}
Then was able to run the job
{{{
sudo /usr/local/bin/copy_ldap_certs_to_secure.sh
}}}
Had same issue with tracsvn and wordpress in that snapshotting is not
working.
{{{
lxc stop tracsvn
sudo rm /var/snap/lxd/common/lxd/storage-
pools/default/containers/tracsvn/backup.yaml
sudo zfs set mountpoint=/var/snap/lxd/common/lxd/storage-
pools/default/containers/tracsvn canmount=noauto osgeo7/containers/tracsvn
sudo zfs umount osgeo7/containers/tracsvn
sudo zfs mount osgeo7/containers/tracsvn
lxc start tracsvn
lxc snapshot tracsvn
}}}
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2813#comment:1>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.
More information about the Sac
mailing list