Bug #4269

context iso symlink broken after VM migration to another SYSTEM_DS

Added by Anton Todorov over 5 years ago. Updated over 5 years ago.

Status:ClosedStart date:12/29/2015
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Drivers - Storage
Target version:Release 5.0
Resolution:fixed Pull request:79
Affected Versions:OpenNebula 4.14

Description

Hi,

While digging another issue(https://forum.opennebula.org/t/boot-migrate-failure-during-datastore-migration-with-opennebula-4-14-0-bug), I've spot that when there is SYSTEM_DS migration (at least on the shared TM_MAD) the symlink `disk.X.iso` became broken because it is pointing to the absolute path, which is not available after the migration.

The proposed patch is creating the symlink relative so there is no issue when the absolute path is changed.

The patch is against current master branch but the issue exists in the current stable (4.14.2) too.

pull request: https://github.com/OpenNebula/one/pull/79

Kind Regards,
Anton Todorov

History

#1 Updated by Ruben S. Montero over 5 years ago

  • Target version set to Release 5.0

#2 Updated by Ruben S. Montero over 5 years ago

  • Status changed from Pending to Closed
  • Resolution set to fixed

Merged to master and one-4.14 branches.

Also available in: Atom PDF