|
|
楼主 |
发表于 2021-5-19 15:13:17
|
显示全部楼层
delete from `cinder`.`snapshots` where `id`='5ca0b248-ac38-4d82-98c4-d12c4d940906'$ O: _% x7 `3 Q, n v" l- V$ w
Cannot delete or update a parent row: a foreign key constraint fails (`cinder`.`volume_glance_metadata`, CONSTRAINT `volume_glance_metadata_ibfk_2` FOREIGN KEY (`snapshot_id`) REFERENCES `snapshots` (`id`))2 m8 L7 o' B9 t9 c
, K0 R5 B5 J6 {在这个表中volume_glance_metadata查找snapshot_id=5ca0b248-ac38-4d82-98c4-d12c4d940906
q' b8 a. \/ H8 e D* r' p" v
, o: C3 [# {9 f5 T9 O9 S |
|