nova service-list for new compute service causes TypeError with servicegroup_driver mc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Zhenyu Zheng | ||
Pike |
Fix Committed
|
Medium
|
s10 | ||
Queens |
Fix Committed
|
Medium
|
s10 | ||
Rocky |
Fix Committed
|
Medium
|
Zhenyu Zheng |
Bug Description
Description
===========
nova service-list for new compute service causes TypeError.
Related commit: https:/
Steps to reproduce
==================
1. Set servicegroup_
2. Add new compute host, start nova-compute service. Service becomes disabled, and field updated_at is NULL in nova.services table in DB.
3. Execute nova service-list.
Expected result
===============
List of the nova services
Actual result
=============
ERROR (ClientException): Unexpected API Error. Please report this at http://
<type 'exceptions.
Environment
===========
OpenStack Pike
Logs
==============
Trace in the nova-api-os-compute logs:
ERROR nova.api.
TRACE nova.api.
TRACE nova.api.
TRACE nova.api.
TRACE nova.api.
TRACE nova.api.
TRACE nova.api.
TRACE nova.api.
TRACE nova.api.
TRACE nova.api.
TRACE nova.api.
TRACE nova.api.
TRACE nova.api.
TRACE nova.api.
TRACE nova.api.
TRACE nova.api.
2018-07-16 11:40:16,437.437 2096 INFO nova.api.
<type 'exceptions.
description: | updated |
description: | updated |
Changed in nova: | |
status: | New → Confirmed |
description: | updated |
tags: | added: low-hanging-fruit |
Changed in nova: | |
assignee: | nobody → Zhenyu Zheng (zhengzhenyu) |
Looks like the correct analysis of the bug. We don't test the MC server group driver or enable_new_services config option very well, or together (obviously).