VMware: waste of disk datastore when root disk size of instance is 0

Bug #1304593 reported by Gary Kotton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Gary Kotton
Icehouse
Fix Released
High
Gary Kotton
VMwareAPI-Team
New
Undecided
Unassigned

Bug Description

When an instance has 0 root disk size an extra image is created on the datastore (uuid.0.vmdk that is identical to uuid.vmdk). This is only in the case of a linked clone image and wastes space on the datastore. The original image that is cached can be used.

Gary Kotton (garyk)
Changed in nova:
assignee: nobody → Gary Kotton (garyk)
milestone: none → juno-1
importance: Undecided → High
tags: added: icehouse-backport-potential vmware
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/86115

Changed in nova:
status: New → In Progress
Jay Pipes (jaypipes)
summary: - VMware: waiste of disk datastore when root disk size of instance is 0
+ VMware: waste of disk datastore when root disk size of instance is 0
description: updated
Revision history for this message
John Garbutt (johngarbutt) wrote :

We use milestones only at the very end of the milestone to track bugs that should block the release of the milestone. Please use tags not milestones to track bugs, try things like: my_bug_topic_milestone_name

Changed in nova:
milestone: juno-1 → none
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/86115
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=9b14ae62a6396a2599c8a2ada1a50e3f69a2eddc
Submitter: Jenkins
Branch: master

commit 9b14ae62a6396a2599c8a2ada1a50e3f69a2eddc
Author: Gary Kotton <email address hidden>
Date: Tue Apr 8 11:28:27 2014 -0700

    VMware: do not cache image when root_gb is 0

    Save space on datastore when the instance size has root_gb of
    0. There is no need to cache the disk as it already exists on
    the datastore.

    TrivialFix

    Change-Id: Iac75d97f40a1a91b8fa2df7fb4318fc2965fd93a
    Closes-bug: #1304593

Changed in nova:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (stable/icehouse)

Fix proposed to branch: stable/icehouse
Review: https://review.openstack.org/111752

Thierry Carrez (ttx)
Changed in nova:
milestone: none → juno-3
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/icehouse)

Reviewed: https://review.openstack.org/111752
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=471e644199e0eecfd621baacbe7b0dba6d029387
Submitter: Jenkins
Branch: stable/icehouse

commit 471e644199e0eecfd621baacbe7b0dba6d029387
Author: Gary Kotton <email address hidden>
Date: Tue Apr 8 11:28:27 2014 -0700

    VMware: do not cache image when root_gb is 0

    Save space on datastore when the instance size has root_gb of
    0. There is no need to cache the disk as it already exists on
    the datastore.

    TrivialFix

    Closes-bug: #1304593
    (cherry picked from commit 9b14ae62a6396a2599c8a2ada1a50e3f69a2eddc)

    Conflicts:
     nova/tests/virt/vmwareapi/test_driver_api.py
     nova/virt/vmwareapi/vmops.py

    Change-Id: Iac75d97f40a1a91b8fa2df7fb4318fc2965fd93a

tags: added: in-stable-icehouse
Thierry Carrez (ttx)
Changed in nova:
milestone: juno-3 → 2014.2
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.