Rescue is broken in rev 1514. Seems to be looking for admin_pass which was recently removed. Traceback:
2011-09-01 01:27:36,232 ERROR nova.exception [-] Uncaught exception
(nova.exception): TRACE: None
(nova.exception): TRACE:
2011-09-01 01:27:36,233 ERROR nova.rpc [-] Exception during message handling
(nova.rpc): TRACE: Traceback (most recent call last):
(nova.rpc): TRACE: File "/usr/lib/pymodules/python2.6/nova/rpc/impl_kombu.py", line 620, in _process_data
(nova.rpc): TRACE: rval = node_func(context=ctxt, **node_args)
(nova.rpc): TRACE: File "/usr/lib/pymodules/python2.6/nova/exception.py", line 129, in wrapped
(nova.rpc): TRACE: raise Error(str(e))
(nova.rpc): TRACE: Error: list index out of range
(nova.rpc): TRACE:
2011-09-01 01:27:43,103 INFO nova.virt.xenapi [-] Task [Async.host.call_plugin] OpaqueRef:dc997d4d-d8b4-2de7-94ed-0b086c3834ca status: success <value>{"message": "0.0.1.28", "returncode": "0"}</value>
2011-09-01 01:27:43,105 INFO nova.virt.xenapi.vmops [-] Instance agent version: 0.0.1.28
2011-09-01 01:27:43,105 WARNING nova.virt.xenapi.vmops [-] 'Instance' object has no attribute 'admin_pass'
2011-09-01 01:27:43,105 ERROR nova.virt.xenapi.vmops [-] Instance instance-00008702-rescue: failed to boot
(nova.virt.xenapi.vmops): TRACE: Traceback (most recent call last):
(nova.virt.xenapi.vmops): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/xenapi/vmops.py", line 377, in _wait_for_boot
(nova.virt.xenapi.vmops): TRACE: _set_admin_password()
(nova.virt.xenapi.vmops): TRACE: File "/usr/lib/pymodules/python2.6/nova/virt/xenapi/vmops.py", line 355, 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'
(nova.virt.xenapi.vmops): TRACE:
*sigh*. Looks like rebuild had the same bug after admin_pass was removed. lp:832096.
The merge comment was:
" - rebuilds are functional again
- OSAPI v1.1 rebuild will accept adminPass or generate a new one, returning it in a server entity
- OSAPI v1.0 will generate a new password, but it doesn't communicate it back to the user
"
I guess rescue needs the same fixes.