Opened 2 years ago
Closed 2 years ago
#2788 closed task (fixed)
old-web won't start Instance snapshot record count doesn't match instance snapshot volume record count
Reported by: | robe | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | Sysadmin Contract 2022-II |
Component: | SysAdmin | Keywords: | |
Cc: |
Description
old-web is having the issue from past of bad snapshots and the newer lxd versions prevent containers from starting if they have them.
This issue I reported upstream and details were here - https://discuss.linuxcontainers.org/t/lxc-snapshot-and-lxc-start-error-instance-snapshot-record-count-doesnt-match-instance-snapshot-volume-record-count
The fix they implemented was to automatically fix these issues where there is no data loss (of backup snapshots). So for this one we have to do manually.
Affected sites are old.www.osgeo.org, fdo.osgeo.org, mapguide.osgeo.org.
Note:
See TracTickets
for help on using tickets.
I had deleted the links in nginx container /etc/nginx/sites-enabled/ (for these 3) so nginx wouldn't complain.
steps to fix, from osgeo7 host
Returned:
Then delete the orphan volume:
Then doing the below works
Once this is started:
I'm not going to bother with fdo.osgeo.org or old.www.osgeo.org unless someone complains. Those two should not be used anymore. At a glance last update for fdo.osgeo.org was in 2015 and osgeo.org and www.osgeo.org have been moved for a while.