when downloading glance image to vmware datastore, it cost too much time

Bug #1390111 reported by xhzhf
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Medium
Radoslav Gerganov
oslo.vmware
Confirmed
Medium
Unassigned

Bug Description

When creating vm with VMware dirver, nova compute first download image from glance to datastore. It is very slowly. Because nova compute interactive with vCenter to put file, not ESX.

We compare performance. Interactiving with ESX is faster at least six times.

Fix: at first, we get esx cookies from vCenter, then we use cookies to put files to esx datastore.

Tags: vmware
xhzhf (guoyongxhzhf)
tags: added: vmware
Changed in nova:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Arnaud Legendre (arnaudleg)
Changed in oslo.vmware:
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Arnaud Legendre (arnaudleg)
xhzhf (guoyongxhzhf)
Changed in nova:
assignee: Arnaud Legendre (arnaudleg) → xhzhf (guoyongxhzhf)
Changed in oslo.vmware:
assignee: Arnaud Legendre (arnaudleg) → xhzhf (guoyongxhzhf)
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/134965

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

Change abandoned by xhzhf (guoyongxhzhf@163.com) on branch: stable/juno
Review: https://review.openstack.org/134965

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/135625

Changed in nova:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (stable/juno)

Change abandoned by Alan Pevec (<email address hidden>) on branch: stable/juno
Review: https://review.openstack.org/134965
Reason: Cherry pick from master when merged.
NB when doing that, make sure to keep the change-id
 https://wiki.openstack.org/wiki/StableBranch#Proposing_Fixes
 https://wiki.openstack.org/wiki/StableBranch#Change-Ids

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

Fix proposed in https://review.openstack.org/#/c/135625/ is still in progress.

Changed in nova:
assignee: xhzhf (guoyongxhzhf) → Radoslav Gerganov (rgerganov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit b0e5fe33b7d7cba3c0a0e0af417aa8128b477011
Author: xhzhf <guoyongxhzhf@163.com>
Date: Sun Feb 8 08:48:30 2015 +0800

    VMware driver: Increasing speed of downloading image

    When creating a vm, VMware driver download image from glance to vCenter.
    Then vCenter will forward to ESXi. It cost too much time.
    This patch downloads the image to ESXi directly rather than vCenter
    in order to increase speed

    Co-Authored-By: Radoslav Gerganov <email address hidden>

    Closes-Bug: 1390111

    Change-Id: I9d52d4b992a431e28d841629d0240aa949e9e31f

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → liberty-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: liberty-3 → 12.0.0
Changed in oslo.vmware:
assignee: xhzhf (guoyongxhzhf) → nobody
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.