build/resize retry behavior not consistent
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Opinion
|
Wishlist
|
Unassigned |
Bug Description
nova/schedule/
Case1: when CONF.scheduler_
Case2:when CONF.scheduler_
I think this two case should keep consistent behavior even this may not cause something wrong, just for Strict code
def populate_
max_attempts = _max_attempts()
force_hosts = filter_
force_nodes = filter_
if max_attempts == 1 or force_hosts or force_nodes:
# re-scheduling is disabled.
return
# retry is enabled, update attempt count:
retry = filter_
'retry', {
})
retry[
_log_
if retry['
exc = retry.pop('exc', None)
msg = (_('Exceeded max scheduling attempts %(max_attempts)d '
% {'max_attempts': max_attempts,
raise exception.
tags: | added: nova |
Changed in nova: | |
assignee: | nobody → Tiago Rodrigues de Mello (timello) |
Changed in nova: | |
assignee: | Tiago Rodrigues de Mello (timello) → nobody |
Changed in nova: | |
status: | In Progress → Opinion |
importance: | Undecided → Wishlist |
Fix proposed to branch: master /review. openstack. org/109305
Review: https:/