Provision as a graph failed as $ can't be modified on-the-fly anymore
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
Stanislaw Bogatkin | ||
Mitaka |
Fix Released
|
High
|
Stanislaw Bogatkin | ||
Newton |
In Progress
|
High
|
Stanislaw Bogatkin | ||
Ocata |
Fix Committed
|
High
|
Stanislaw Bogatkin |
Bug Description
When run provision as a graph, it doesn't work anymore because context is not modifiable object anymore. We need to change $.provision.
Steps to reproduce:
1. Install master node
2. Create cluster
3. Create custom graph with task which can modify '$'. In my case it was a task with yaql_exp: "($.provision.
4. Upload this graph to nailgun
5. Run this graph on created cluster
Expected behavior:
Graph will work flawlessly
Actual behavior:
Graph will fail with error
How to solve this problem:
Change yaql expression to not to modify root context.
Changed in fuel: | |
assignee: | Bulat Gaifullin (bgaifullin) → Maksim Malchuk (mmalchuk) |
Changed in fuel: | |
assignee: | Maksim Malchuk (mmalchuk) → Bulat Gaifullin (bgaifullin) |
Changed in fuel: | |
assignee: | Bulat Gaifullin (bgaifullin) → Stanislaw Bogatkin (sbogatkin) |
tags: | added: hard-to-verify |
description: | updated |
tags: | added: on-verification |
Changed in fuel: | |
status: | Fix Committed → In Progress |
tags: | added: on-verification |
Fix proposed to branch: master /review. openstack. org/381911
Review: https:/