fuel plugin builder fails validation for upload_file task using YAQL
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Won't Fix
|
Medium
|
Fuel Sustaining | ||
Mitaka |
Confirmed
|
Medium
|
Fuel Sustaining |
Bug Description
Detailed bug description:
Fuel Plugin Builder v4.1 wont' build a plugin with deployment_
a upload_file task with a YAQL expression for content. This same construct is used in
the standard fuel-library task.
Steps to reproduce:
1. Install FPB v4.1
2. Build an empty plugin as instructed in plugin dev guide: 'fpb --create fuel-plugin-test'
3. Update deployment_
# create astute.yaml on the node
- id: fuel-plugin-
type: upload_file
version: 2.1.0
groups: ['master', '/.*/']
requires: [fuel-plugin-
required_for: [deploy_end]
refresh_on: ['*']
parameters:
path: /etc/fuel/
permissions: '0640'
dir_
timeout: 180
data:
yaql_exp: '$.toYaml()'
4. Build plugin via 'fpb --build fuel-plugin-test --debug'
Expected results:
Successful build of plugin because fuel-library/
Actual result:
Validation failed
File 'fuel-plugin-
Reproducibility:
Consistently reproducible.
Workaround:
None
Impact:
Unable to build a plugin using this apparently valid task.
Description of the environment:
Operation system: CentOS Linux release 7.2.1511 (Core)
Versions of components: FPB 4.1, Fuel 9.0/kilo branch
Additional information:
I did validate in the fuel-plugins/
Changed in fuel: | |
milestone: | none → 9.2 |
assignee: | nobody → Fuel Sustaining (fuel-sustaining-team) |
importance: | Undecided → High |
status: | New → Confirmed |
importance: | High → Medium |
tags: | added: area-python |
Changed in fuel: | |
status: | Confirmed → Won't Fix |