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

Bug #1430239 reported by Claudiu Belu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Dorin Paslaru
Juno
Fix Released
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)
description: updated
Dorin Paslaru (dpaslaru)
Changed in nova:
assignee: nobody → Dorin Paslaru (dpaslaru)
Changed in nova:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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)
Changed in nova:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/juno)

Fix proposed to branch: stable/juno
Review: https://review.openstack.org/175974

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/176418

Revision history for this message
Thierry Carrez (ttx) wrote :

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

3e42c7ae3f7a9353834c8c9c4dc79ee39dd0783b is included in RC1

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (stable/kilo)

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)
Changed in nova:
milestone: kilo-rc1 → 2015.1.0
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/juno)

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.