XenAPI: specify block size for writing config drive.

Bug #1567857 reported by Jianghua Wang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Jianghua Wang

Bug Description

When writing config drive, dd by default uses 512B as the block size. It costs more than 3mins to write the 64M config drive. It's longer than expected: Some health checking(fuel's heat checking) on XenServer may failed due to timeout. So we need improve the performance via specifying a bigger block size with dd.

2016-04-07 11:19:19.342 4466 DEBUG nova.virt.xenapi.vmops [req-5e08213e-f8d1-4c59-83ea-3d1cd908a7d5 7456b72259f84038967e9befd72fc388 7fd724d3a16040f6a8f01e43b3c435f8 - - -] [instance: f24c72b3-593c-4f7f-b6ac-f79721f6268a] Updating progress to 40 _update_instance_progress /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py:962
2016-04-07 11:22:31.961 4466 DEBUG nova.virt.xenapi.vmops [req-5e08213e-f8d1-4c59-83ea-3d1cd908a7d5 7456b72259f84038967e9befd72fc388 7fd724d3a16040f6a8f01e43b3c435f8 - - -] [instance: f24c72b3-593c-4f7f-b6ac-f79721f6268a] Updating progress to 50 _update_instance_progress /usr/lib/python2.7/dist-packages/nova/virt/xenapi/vmops.py:962

Tags: xen
description: updated
Changed in nova:
assignee: nobody → Jianghua Wang (wjh-fresh)
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/303336

Changed in nova:
status: New → In Progress
Changed in nova:
importance: Undecided → Low
tags: added: xen
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

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

commit bc10d29e418bd998fe408ccb5e544d72e1e52dda
Author: Jianghua Wang <email address hidden>
Date: Fri Apr 8 11:14:23 2016 +0100

    XenAPI: specify block size for writing config drive.

    When writing config drive, dd by default uses 512B as the block
    size. It costs more than 3mins to write the 64M config drive.
    It's longer than expected: Some health checking(fuel's heat
    checking) on XenServer may failed due to timeout. So we need
    improve the performance via specifying a bigger block size
    with dd.

    Change-Id: I359e17d6d5838f4028df0bd47e4825de420eb383
    Closes-Bug: #1567857

Changed in nova:
status: In Progress → Fix Released
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/nova 14.0.0.0b1

This issue was fixed in the openstack/nova 14.0.0.0b1 development milestone.

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.