XenAPI: no such option: default_os_type

Bug #1253064 reported by Bob Ball
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
High
Bob Ball

Bug Description

Following trace occurs due to incomplete change I2e9f720ddce284fc112d6a5651fd277e6e31a17a

TRACE nova.compute.manager Traceback (most recent call last):
TRACE nova.compute.manager File "/opt/stack/nova/nova/compute/manager.py", line 310, in decorated_function
TRACE nova.compute.manager *args, **kwargs)
TRACE nova.compute.manager File "/opt/stack/nova/nova/compute/manager.py", line 2434, in snapshot_instance
TRACE nova.compute.manager task_states.IMAGE_SNAPSHOT)
TRACE nova.compute.manager File "/opt/stack/nova/nova/compute/manager.py", line 2465, in _snapshot_instance
TRACE nova.compute.manager update_task_state)
TRACE nova.compute.manager File "/opt/stack/nova/nova/virt/xenapi/driver.py", line 271, in snapshot
TRACE nova.compute.manager self._vmops.snapshot(context, instance, image_id, update_task_state)
TRACE nova.compute.manager File "/opt/stack/nova/nova/virt/xenapi/vmops.py", line 734, in snapshot
TRACE nova.compute.manager image_id)
TRACE nova.compute.manager File "/opt/stack/nova/nova/virt/xenapi/image/glance.py", line 62, in upload_image
TRACE nova.compute.manager props['os_type'] = instance['os_type'] or CONF.default_os_type
TRACE nova.compute.manager File "/opt/stack/oslo.config/oslo/config/cfg.py", line 1688, in __getattr__
TRACE nova.compute.manager raise NoSuchOptError(name)
TRACE nova.compute.manager NoSuchOptError: no such option: default_os_type

Revision history for this message
Bob Ball (bob-ball) wrote :

Impact is that much of XenAPI is broken in some configurations

Changed in nova:
importance: Undecided → High
status: New → In Progress
assignee: nobody → Bob Ball (bob-ball)
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/57431

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/57431
Committed: http://github.com/openstack/nova/commit/32f1b413ddfaf58703d9f6d69a1fc44e6c17d60d
Submitter: Jenkins
Branch: master

commit 32f1b413ddfaf58703d9f6d69a1fc44e6c17d60d
Author: Bob Ball <email address hidden>
Date: Fri Nov 22 16:32:11 2013 +0000

    XenAPI: Fix config section usage

    Change I2e9f720ddce284fc112d6a5651fd277e6e31a17a introduced xenserver
    sections but a couple of CONF variables were not updated to use the
    new sections.

    Fixed the few remaining options and add unit tests to ensure they are
    caught in future.

    The unit tests highlighted that the functions behaved strangely in
    the cases where the default was being provided - so updated to be
    clear about getting the default.

    Closes-bug: 1253064

    Change-Id: Ic538069cd087aa3cdc0a1f7fdb94820d5d3b22b1

Changed in nova:
status: In Progress → Fix Committed
Changed in nova:
milestone: none → icehouse-1
Thierry Carrez (ttx)
Changed in nova:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: icehouse-1 → 2014.1
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.