product_version is missing from software_version on xcp-xapi
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Mate Lakat |
Bug Description
Using devstack with on an XCP-XAPI enabled Precise, nova-compute fails to start. I am using xenapi.
stack@DevStackO
compute_
stack@DevStackO
...
2012-08-07 11:12:21 TRACE nova Traceback (most recent call last):
2012-08-07 11:12:21 TRACE nova File "/opt/stack/
2012-08-07 11:12:21 TRACE nova server = service.
2012-08-07 11:12:21 TRACE nova File "/opt/stack/
2012-08-07 11:12:21 TRACE nova periodic_
2012-08-07 11:12:21 TRACE nova File "/opt/stack/
2012-08-07 11:12:21 TRACE nova self.manager = manager_
2012-08-07 11:12:21 TRACE nova File "/opt/stack/
2012-08-07 11:12:21 TRACE nova importutils.
2012-08-07 11:12:21 TRACE nova File "/opt/stack/
2012-08-07 11:12:21 TRACE nova return import_
2012-08-07 11:12:21 TRACE nova File "/opt/stack/
2012-08-07 11:12:21 TRACE nova self._session = XenAPISession(url, username, password)
2012-08-07 11:12:21 TRACE nova File "/opt/stack/
2012-08-07 11:12:21 TRACE nova self._get_
2012-08-07 11:12:21 TRACE nova File "/opt/stack/
2012-08-07 11:12:21 TRACE nova software_
2012-08-07 11:12:21 TRACE nova KeyError: 'product_version'
2012-08-07 11:12:21 TRACE nova
The problem is, that the software_version dictionary does not contain the product_version key.
Here is the dumped software_version reported by xcp-xapi:
{'build_number': '0',
'date': '2012-08-03',
'hostname': 'komainu',
'linux': '3.2.0-27-generic',
'network_backend': 'bridge',
'platform_name': 'XCP_Kronos',
'platform_
'xapi': '1.3',
'xen': '4.1.2',
'xencenter_max': '1.10',
'xencenter_min': '1.10'}
A more generic solution would be to implement bug 1025216.
Changed in nova: | |
assignee: | nobody → Mate Lakat (mate-lakat) |
tags: | added: xcp-xapi xenserver |
Changed in nova: | |
status: | New → In Progress |
description: | updated |
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
milestone: | none → folsom-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-rc1 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/11337
Review: https:/