one icon indicating copy to clipboard operation
one copied to clipboard

Possible Race Condition in OneStor

Open rsmontero opened this issue 2 years ago • 0 comments

Description After instantiating an app just after downloading it, the VM may end in error state. Sometimes the VM is (randomly) is truncated

Error reported by the drivers:

Tue Jun 28 18:30:10 2022: Error executing image transfer script: INFO: clone.replica: Cloning /var/lib/one//datastores/106/8d4b9649baf243910582167a4bc6b828 via replica 13.40.121.194 in 13.40.31.72:/var/lib/one//datastores/107/139/disk.0 ERROR: clone.replica: Command " if [ -d "/var/lib/one//datastores/106/8d4b9649baf243910582167a4bc6b828.snap" ]; then SRC_SNAP="8d4b9649baf243910582167a4bc6b828.snap" fi cd /var/lib/one//datastores/106 tar --transform="flags=r;s|8d4b9649baf243910582167a4bc6b828|disk.0|" -cSf - 8d4b9649baf243910582167a4bc6b828 $SRC_SNAP | ssh -c [email protected] -m [email protected] 13…

To Reproduce Download and instantiate image from marketplace

Expected behavior

Details

  • Affected Component: Storage
  • Hypervisor: KVM
  • Version: 6.4.0

Additional context Add any other context about the problem here.

Progress Status

  • [ ] Code committed
  • [ ] Testing - QA
  • [ ] Documentation (Release notes - resolved issues, compatibility, known issues)

rsmontero avatar Jun 30 '22 14:06 rsmontero