From debugging this, sqlalchemy does not handle this exception if it tries to update an empty row.
This means that volume_create did not added volume_glance_metadata data when creating a base volume and, when trying to delete it, it didn't handle the returned exception.
Proposing a patch to change this at the cinder manager level.
From debugging this, sqlalchemy does not handle this exception if it tries to update an empty row.
This means that volume_create did not added volume_ glance_ metadata data when creating a base volume and, when trying to delete it, it didn't handle the returned exception.
Proposing a patch to change this at the cinder manager level.