One node glance object folder is full

asked 2020-06-21 19:12:19 -0500

RYN gravatar image

I have 3 controllers each has 300GB for glance
I created some snapshots of instances and then deleted them
But only one of my nodes disk is not freed
I checked the glance folders:

149G    /var/lib/glance/node/1
148G    /var/lib/glance/node/2

and all of it is in objects folder:

0   /var/lib/glance/node/1/async_pending
872K    /var/lib/glance/node/1/containers
149G    /var/lib/glance/node/1/objects
0   /var/lib/glance/node/1/tmp

I tried to check containers via Horizon and CLI and both return empty list

root@node-21:~# swift  list

and :

root@node-21:~# openstack container list


What is these files?
How can I free the glance space?
is it safe to delete /var/lib/glance/node/ folder?

edit retag flag offensive close merge delete


The fact that swift list returns nothing means that the Swift account defined by the OS_PROJECT_NAME variable has no containers or objects. Other accounts may have data in Swift.

The swift-object-info command tells you the account and other details of an object on disk.

Bernd Bausch gravatar imageBernd Bausch ( 2020-06-21 23:07:06 -0500 )edit