Opened 2 months ago

#3163 new task

remove_snapshots doesn't seem to work with instances that have numbers in name

Reported by: robe Owned by: sac-tickets@…
Priority: normal Milestone: Sysadmin Contract 2024-II
Component: SysAdmin Keywords:
Cc:

Description

I was trying to purge extra snapshots on download8 which is on osgeo8.

Running this command

 bash remove_snapshots.sh download8

Yields an awk error

download8
osgeo8_lxd/containers/download8  1.3T  1.2T   78G  94% /
awk: line 0: regular expression compile failed (missing operand)
|

Only thing I can think of that is special about download8 is it has a digit at the end. I ran into a similar issue way back with something like some-container-2.

Change History (0)

Note: See TracTickets for help on using tickets.