Activity log for bug #1620341

Date Who What changed Old value New value Message
2016-09-05 14:52:42 Jacolex bug added bug
2016-09-05 14:53:50 Jacolex description I've been experiencing dangerous issue that my backing files located on shared storage in _base folder are being removed by nova-compute. It's being happen on Juno, Kilo and Liberty releases. The shared storage mount /var/lib/nova/instances are configured on NFSv3. Backing image ids exists in /var/lib/nova/instances/locks/ folder for affected files. I don't know for sure, how the mechanism preventing _base files from deletion works - if it depends on locks folder or if it depends on locking files on shared storage, but from my point of view this is bug by design and the mechanism should be redesigned to not rely on client which is actually compute node. It causes many impacts on stability and security of users data! I want to ask for considering some new cleaning system, because current cleaning worker is designed for indepenent compute nodes without shared storage and it looks like it was not well adapted to configurations with shared storage. Maybe developers should consider some central mechanism and fetching data about used and unused _base files from database, not relying what is running on not on compute node locally. I can't reproduce this problem anymore because I had to disable cleaning unused base images and deploy own, secure worker. I've been experiencing dangerous issue that my backing files located on shared storage in _base folder are being removed by nova-compute. It's being happen on Juno, Kilo and Liberty releases. The shared storage mount /var/lib/nova/instances are configured on NFSv3. Backing image ids exists in /var/lib/nova/instances/locks/ folder for affected files. I don't know for sure, how the mechanism preventing _base files from deletion works - if it depends on locks folder or if it depends on locking files on shared storage, but from my point of view this is bug by design and the mechanism should be redesigned to not rely on client which is actually compute node. It causes many impacts on stability and security of users data! I want to ask for considering some new cleaning system, because current cleaning worker is designed for indepenent compute nodes without shared storage and it looks like it was not well adapted for configurations with shared storage. Maybe developers should consider some central mechanism and fetching data about used and unused _base files from database, not relying what is running on not on compute node locally. I can't reproduce this problem anymore because I had to disable cleaning unused base images and deploy own, secure worker.
2016-09-06 14:54:09 Matt Riedemann tags compute image-cache libvirt nfs
2016-09-06 15:01:29 Kashyap Chamarthy bug added subscriber Kashyap Chamarthy
2016-09-07 10:14:17 Sylvain Bauza nova: status New Incomplete
2016-11-07 04:17:28 Launchpad Janitor nova: status Incomplete Expired