vm_vdi_cleaner.py broken

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

Bug Description

Virt driver initialization now requires a VirtAPI implementation, so when attempting to run vm_vdi_cleaner.py the follow error is displayed:

$ /usr/share/nova/tools/xenserver/vm_vdi_cleaner.py test
Traceback (most recent call last):
  File "/usr/share/nova/tools/xenserver/vm_vdi_cleaner.py", line 314, in <module>
    main()
  File "/usr/share/nova/tools/xenserver/vm_vdi_cleaner.py", line 288, in main
    xenapi = xenapi_driver.XenAPIDriver()
TypeError: __init__() takes at least 2 arguments (1 given)

Brian Lamar (blamar)
Changed in nova:
assignee: nobody → Brian Lamar (blamar)
status: New → In Progress
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/17800

Dan Prince (dan-prince)
Changed in nova:
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/17800
Committed: http://github.com/openstack/nova/commit/ee1b598ef1fe2435bc98411ff1403fade735475a
Submitter: Jenkins
Branch: master

commit ee1b598ef1fe2435bc98411ff1403fade735475a
Author: Brian Lamar <email address hidden>
Date: Mon Dec 10 14:29:34 2012 -0500

    Correctly init XenAPIDriver in vm_vdi_cleaner.py

    Fixes bug 1088615

    Change-Id: Iaf0569fd45ed180d141dc0367c547f014b7502e1

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