set_primary_roles is called later than roleresolver is within transaction manager
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Critical
|
Vladimir Kuklin | ||
Mitaka |
Fix Released
|
Critical
|
Vladimir Kuklin | ||
Newton |
Fix Committed
|
Critical
|
Vladimir Kuklin |
Bug Description
Nailgun version:
fuel-nailgun-
Steps to reproduce:
1. Delete node with some 'primary' role, or simply unassign primary role from it
2. Run the deployment
Expected result:
1. deployment works
Actual result:
1. deployment fails as tasks for primary roles are resolved to empty nodes set.
This will affect different cases when we delete/add nodes or apply some manipulations
to the cluster when primary roles can get unassigned, e.g for upgrade scenarios with octane.
nailgun=# update nodes set primary_roles = '{}';
fuel2 graph execute -d -e 1 -t default --force
nailgun/app.log
2016-09-12 16:47:24.549 DEBUG [7f15aacee880] (role_resolver) Role '[u'primary-
Changed in fuel: | |
status: | Confirmed → In Progress |
tags: | added: dev-to-verify |
tags: | removed: dev-to-verify |
tags: | added: on-verification |
https:/ /review. openstack. org/#/c/ 369308/