(xenapi driver)instance creation fails if no guest agent is avaiable for admin password configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Armando Migliaccio |
Bug Description
I get this stacktrace
Jan 30 16:19:14 os-vpx-
Jan 30 16:19:14 os-vpx-
Jan 30 16:19:14 os-vpx-
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
(nova.compute.
if I try to spawn an instance whose image has no guest agent installed. This is because set_admin_password is bound to fail without an agent. Although configuring the admin password is highly desirable, putting the instance in error (in case the agent does not exist) feels a bit extreme. A better approach might be to skip password configuration if the agent is not installed, thus making the agent non-mandatory.
This occurs on Essex trunk.
Changed in nova: | |
assignee: | nobody → Armando Migliaccio (armando-migliaccio) |
status: | New → In Progress |
Changed in nova: | |
milestone: | none → essex-4 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-4 → 2012.1 |
Reviewed: https:/ /review. openstack. org/3551 github. com/openstack/ nova/commit/ 437ad5af25f8878 8c8678d7dbd0c88 26a145c884
Committed: http://
Submitter: Jenkins
Branch: master
commit 437ad5af25f8878 8c8678d7dbd0c88 26a145c884
Author: Armando Migliaccio <email address hidden>
Date: Mon Jan 30 18:21:30 2012 +0000
Bug #923865: (xenapi driver)instance creation fails if no guest agent is avaiable for admin password configuration
Ensure that if the guest agent is not installed, the admin password configuration is
skipped. The fact that either one of 'version' or 'agent_build' is None (or both)
should be an accurate indication of such a condition.
Change-Id: I90213ce28a900a 05d7357b8fa647f fbb0928571a