org.eclipse.che.api.machine.server.exception.SnapshotException: Snapshot with id 'snapshot*****' or combination of workspace id 'workspace******' & environment 'default' & machine name 'default' already exists

GitHub | skryzhny | 3 months ago
  1. 0

    Snapshoting of machines failed if snapshot made second time for given machine

    GitHub | 3 months ago | skryzhny
    org.eclipse.che.api.machine.server.exception.SnapshotException: Snapshot with id 'snapshot*****' or combination of workspace id 'workspace******' & environment 'default' & machine name 'default' already exists

    Root Cause Analysis

    1. org.eclipse.che.api.machine.server.exception.SnapshotException

      Snapshot with id 'snapshot*****' or combination of workspace id 'workspace******' & environment 'default' & machine name 'default' already exists

      at com.codenvy.api.dao.mongo.SnapshotDaoImpl.saveSnapshot()
    2. com.codenvy.api
      SnapshotDaoImpl.saveSnapshot
      1. com.codenvy.api.dao.mongo.SnapshotDaoImpl.saveSnapshot(SnapshotDaoImpl.java:92)[codenvy-hosted-platform-api-impl-4.7.0.jar:4.7.0]
      1 frame
    3. org.eclipse.che
      WorkspaceManager.lambda$createSnapshot$0
      1. org.eclipse.che.api.workspace.server.WorkspaceManager.createSnapshotSync(WorkspaceManager.java:740)[che-core-api-workspace-4.7.0.jar:4.7.0]
      2. org.eclipse.che.api.workspace.server.WorkspaceManager.lambda$createSnapshot$0(WorkspaceManager.java:518)[che-core-api-workspace-4.7.0.jar:4.7.0]
      2 frames