It is possible to set value on nonexistent level if env levels are empty
Bug #1624271 reported by
Alexander Kislitsky
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Alexander Kislitsky |
Bug Description
Steps to reproduce:
1. setup tuning-box
2. restart nailgun
3. configure keystone service for tuning-box
4. create ConfigDB component:
fuel2 config comp create -n comp -
5. create ConfigDB resource:
fuel2 config def create -i COMPONENT_ID -n res1 -p '{"a": "b"}' -t json
6. create ConfigDB environment:
fuel2 config env create -i COMPONENT_ID
7. set resource value for nonexistent level:
fuel2 config set -e 11 -r 7 -k a -v val_b -t str -l fake_level=xx
Expected result:
Error message about wrong level
Actual result:
Value is set without level.
tags: | added: on-verification |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/371527
Review: https:/