Hyper-V: *DataRoot paths are not set for instances

Bug #1430239 reported by Claudiu Belu on 2015-03-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
High
Dorin Paslaru
Juno
Undecided
Unassigned

Bug Description

The Nova Hyper-V Driver does not set the Data Root path locations for the newly created instances to the same location as the instances. By default. Hyper-V sets the location on C:\. This can cause issues for small C:\ partitions, as some of these files can be large.

The path locations that needs to be set are: ConfigurationDataRoot, LogDataRoot, SnapshotDataRoot, SuspendDataRoot, SwapFileDataRoot.

Claudiu Belu (cbelu) on 2015-03-10
description: updated
Dorin Paslaru (dpaslaru) on 2015-03-10
Changed in nova:
assignee: nobody → Dorin Paslaru (dpaslaru)
Changed in nova:
status: New → Confirmed
importance: Undecided → Low

Fix proposed to branch: master
Review: https://review.openstack.org/162999

Changed in nova:
status: Confirmed → In Progress
Changed in nova:
assignee: Dorin Paslaru (dpaslaru) → Claudiu Belu (cbelu)
Changed in nova:
importance: Low → High

Fix proposed to branch: master
Review: https://review.openstack.org/165129

Change abandoned by Claudiu Belu (<email address hidden>) on branch: master
Review: https://review.openstack.org/165129
Reason: commit already exists - made by mistake

Changed in nova:
assignee: Claudiu Belu (cbelu) → Dorin Paslaru (dpaslaru)
Changed in nova:
milestone: none → kilo-rc1
tags: added: hyper-v

Reviewed: https://review.openstack.org/162999
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=3e42c7ae3f7a9353834c8c9c4dc79ee39dd0783b
Submitter: Jenkins
Branch: master

commit 3e42c7ae3f7a9353834c8c9c4dc79ee39dd0783b
Author: Dorin Paslaru <email address hidden>
Date: Tue Mar 10 18:55:27 2015 +0545

    Hyper-V: Sets *DataRoot paths for instances

    Sets the path for the instance's ConfigurationDataRoot,
    LogDataRoot, SnapshotDataRoot, SuspendDataRoot and
    SwapFileDataRoot for vmutilsv2 instances and
    ExternalDataRoot and SnapshotDataRoot for vmutils
    to the instance's location.

    Closes-Bug: #1430239

    Change-Id: I3c9e2dece00df06cafdcd164ece6269337feda71

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx) on 2015-04-10
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx) wrote :

I don't think this needs to be backported to kilo.

3e42c7ae3f7a9353834c8c9c4dc79ee39dd0783b is included in RC1

Change abandoned by Claudiu Belu (<email address hidden>) on branch: stable/kilo
Review: https://review.openstack.org/176418
Reason: Already exists in Kilo.

Thierry Carrez (ttx) on 2015-04-30
Changed in nova:
milestone: kilo-rc1 → 2015.1.0

Reviewed: https://review.openstack.org/175974
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=6db38233eef5b19e7c54655a6ad194373a863382
Submitter: Jenkins
Branch: stable/juno

commit 6db38233eef5b19e7c54655a6ad194373a863382
Author: Dorin Paslaru <email address hidden>
Date: Tue Mar 10 18:55:27 2015 +0545

    Hyper-V: Sets *DataRoot paths for instances

    Sets the path for the instance's ConfigurationDataRoot,
    LogDataRoot, SnapshotDataRoot, SuspendDataRoot and
    SwapFileDataRoot for vmutilsv2 instances and
    ExternalDataRoot and SnapshotDataRoot for vmutils
    to the instance's location.

    Closes-Bug: #1430239

    (cherry picked from commit 3e42c7ae3f7a9353834c8c9c4dc79ee39dd0783b)

    Conflicts:
     nova/tests/unit/virt/hyperv/test_hypervapi.py
     nova/tests/unit/virt/hyperv/test_vmops.py
     nova/tests/unit/virt/hyperv/test_vmutils.py
     nova/tests/unit/virt/hyperv/test_vmutilsv2.py
     nova/virt/hyperv/vmops.py
     nova/virt/hyperv/vmutils.py
     nova/virt/hyperv/vmutilsv2.py

    Change-Id: I3c9e2dece00df06cafdcd164ece6269337feda71

tags: added: in-stable-juno
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers