Instance rebuild fails due to admin_pass AttributeError

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

Bug Description

I tried to rebuild an instance and got this traceback in the compute log:

2011-08-23 11:20:11,073 WARNING nova.virt.xenapi.vmops [-] 'Instance' object has no attribute 'admin_pass'
2011-08-23 11:20:11,074 ERROR nova.virt.xenapi.vmops [-] Instance instance-00000004: failed to boot
(nova.virt.xenapi.vmops): TRACE: Traceback (most recent call last):
(nova.virt.xenapi.vmops): TRACE: File "/usr/local/lib/python2.6/dist-packages/nova-2011.3-py2.6.egg/nova/virt/xenapi/vmops.py", line 378, in _wait_for_boot
(nova.virt.xenapi.vmops): TRACE: _set_admin_password()
(nova.virt.xenapi.vmops): TRACE: File "/usr/local/lib/python2.6/dist-packages/nova-2011.3-py2.6.egg/nova/virt/xenapi/vmops.py", line 356, in _set_admin_password
(nova.virt.xenapi.vmops): TRACE: admin_password = instance.admin_pass
(nova.virt.xenapi.vmops): TRACE: AttributeError: 'Instance' object has no attribute 'admin_pass'

Related branches

Revision history for this message
Brian Waldon (bcwaldon) wrote :

This was caused by removing admin_pass from the database in rev 1454

Changed in nova:
importance: Undecided → Medium
milestone: none → diablo-4
Brian Waldon (bcwaldon)
Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: diablo-4 → 2011.3
status: Fix Committed → 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.