Deployment process fails if user named node with non-ASCII chars and if plugin is enabled
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Fuel Plugins |
Fix Committed
|
High
|
Artem Savinov | |||
Fuel for OpenStack | ||||||
7.0.x |
Won't Fix
|
High
|
Fuel Plugins Bugs |
Bug Description
Problem description:
Fuel plugins are allowed to process and modify data that is supplied in astute.yaml
files. These .yaml files can carry non-ASCII chars, user can give a particulair node
some descriptive name and he or she can use national symbols. This descriptive
name passes unmodifed to /etc/astute.yaml file. network_metadata section
contains 'user_node_name' variable that hold descriptive name that where entered
on web UI.
During deployment phase plugin can access that data and try to modify it. E.g. if plugin
tries to use regsubst function on such data puppet apply run fails with following message:
https:/
Environment:
Fuel 7.0 GA (build 301) + fuel-plugin-nsxv (1.1.0)
Reproducable: 100%
Workaround:
rename node using only ASCII chars
This problem might also affect Fuel 8.0
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "7.0"
openstack_
api: "1.0"
build_number: "301"
build_id: "301"
nailgun_sha: "4162b0c15adb42
python-
fuel-agent_sha: "50e90af6e3d560
fuel-
astute_sha: "6c5b73f93e24cc
fuel-library_sha: "5d50055aeca1dd
fuel-ostf_sha: "2cd967dccd66cf
fuelmain_sha: "a65d453215edb0
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Fuel Python Team (fuel-python) |
assignee: | Fuel Python Team (fuel-python) → Fuel Library Team (fuel-library) |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Kyrylo Galanov (kgalanov) |
Changed in fuel: | |
status: | New → In Progress |
Changed in fuel: | |
assignee: | Fuel Plugins Bugs (fuel-plugins-bugs) → asavinov (asavinov) |
affects: | fuel → fuel-plugins |
Changed in fuel-plugins: | |
milestone: | 8.0 → none |
Changed in fuel-plugins: | |
status: | In Progress → Fix Committed |
fuel-plugin-nsxv fails because it tries to modify data that is /github. com/openstack/ fuel-plugin- nsxv/blob/ 7.0/deployment_ scripts/ puppet/ modules/ nsxv/manifests/ hiera_override. pp#L69
stored in 'network_metadata':
https:/