Opened 4 years ago

Closed 4 years ago

#2425 closed task (fixed)

snapshots failing on osgeo7

Reported by: robe Owned by: sac@…
Priority: normal Milestone: Sysadmin Contract 2020-I
Component: SysAdmin Keywords:
Cc:

Description (last modified by robe)

As mentioned in my other ticket. Other issue with osgeo7 is the lxd snapshots process is failing.

For completeness the error before the fix was

UNIQUE constraint failed: storage_volumes_snapshots.id lxc snapshot

Sounds like the same issue as described here

https://github.com/lxc/lxd/issues/7024

So I'm going to try the fix mentioned in that thread

Change History (1)

comment:1 by robe, 4 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

okay I applied the fix as described in that ticket and seems to have fixed the snapshot error

-- returned 4360
lxd sql global "SELECT MAX(id) FROM storage_volumes_all LIMIT 1;"

lxd sql global "UPDATE sqlite_sequence SET seq = 4360 WHERE name = 'storage_volumes'"

Note: See TracTickets for help on using tickets.