xenapi: add support for auto_disk_config=disabled

Bug #1214816 reported by OpenStack Infra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Fix Released
Medium
Tom Fifield

Bug Description

https://review.openstack.org/38621
commit 0504a35d818da0ca236aa57f0119818be0497f76
Author: John Garbutt <email address hidden>
Date: Thu Jul 25 12:01:03 2013 +0100

    xenapi: add support for auto_disk_config=disabled

    Previously, only True and False were supported. This change allows an
    administrator to specify which images should reject any user requests
    for DiskConfig=AUTO, i.e. reject the request to automatically resize
    that instance's root disk.

    To specify that an image's disk can't be resized, add the following
    property to the image:
    auto_disk_config=disabled

    In addition, when uploading a snapshot we need to ensure that if
    auto_disk_config is "disabled", that property is inherited by any
    snapshot. Currently, the disk_config from the database, which is always
    False in the case of "disabled", would be persisted instead. When
    auto_disk_config is not "disabled", then the current True or False value
    for that server should continue to be persisted in any snapshot, and not
    the value stored in the source image for that server.

    DocImpact
    Implements blueprint auto-disk-config-disabled
    Change-Id: Ifd41886b9bc7dff01cdf741a833946bed1bdddc3

Tags: nova xen
Tom Fifield (fifieldt)
Changed in openstack-manuals:
milestone: none → havana
Tom Fifield (fifieldt)
Changed in openstack-manuals:
status: New → Confirmed
importance: Undecided → Medium
Tom Fifield (fifieldt)
tags: added: xen
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-manuals (master)

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

Changed in openstack-manuals:
assignee: nobody → Tom Fifield (fifieldt)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-manuals (master)

Reviewed: https://review.openstack.org/48984
Committed: http://github.com/openstack/openstack-manuals/commit/09685f57a68b0cc883045211481c14bf25485ab8
Submitter: Jenkins
Branch: master

commit 09685f57a68b0cc883045211481c14bf25485ab8
Author: Tom Fifield <email address hidden>
Date: Mon Sep 30 19:10:39 2013 +0400

    doc xen support for auto_disk_config=disabled

    Previously, only True and False were supported. Havana changed to
    allows an administrator to specify which images should reject
    any user requests for auto config.

    Also fix an incorrect statement that auto_disk_config was a nova.conf
    variable - it is instead a property set on an image in glance.

    Change-Id: I32a09ce1258893388d31ca2c1704e57d23ceff97
    Closes-Bug: 1214816

Changed in openstack-manuals:
status: In Progress → Fix Released
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.