def cleanup_cgsnaps():
     from cinderclient.v2.cgsnapshots import CgsnapshotManager
     cgsm = CgsnapshotManager(get_cinder_v2_client())
     for snap in cgsm.list():
         snap.delete()