Hiera nodes is out of date after post_deployment stage when ip addresses are modified before deployment, plugins impacted
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel Plugins |
Confirmed
|
High
|
Fuel Python (Deprecated) | ||
Fuel for OpenStack |
Confirmed
|
High
|
Fuel Sustaining | ||
6.1.x |
Won't Fix
|
High
|
Fuel Python (Deprecated) | ||
7.0.x |
Won't Fix
|
High
|
Fuel Python (Deprecated) | ||
8.0.x |
Won't Fix
|
High
|
Fuel Python (Deprecated) | ||
Mitaka |
Won't Fix
|
High
|
Fuel Python (Deprecated) |
Bug Description
Steps to reproduce:
1/ .. create and configure a new cluster via Fuel UI (roles assignement, network config, plugins settings ..) BUT not "deploy changes"
2/ # fuel --env 1 deployment default
3/ .. update IP addresses for some/all nodes (sections nodes and endpoints) ..
4/ # fuel --env 1 deployment upload
5/ # fuel deploy-changes (or via Fuel UI)
Expected results:
After the OSt deployment the "hiera('nodes')" from puppet manifests returns correct information (with ip addresses configured)
Actual results:
after the OSt deployment the "hiera('nodes')" from puppet manifests returns outdated data (with ip addresses by default).
Impacts:
All Fuel plugins using hiera('nodes') will fail to configure its stuff with bad IP addresses.
Since Fuel allows to update IP addresses before deployment, (potentially) users will do it. Fuel must update the same way it does for astute.yaml the nodes.yaml with the modified data.
Environement:
Fuel 6.1 / Ubuntu (surely the same result with CentOS)
Plugins LMA collector 0.7.2
Other informations / pre diagnostic :
* OpenStack and others services (rabbitmq, haproxy ..) are correctly configured with good IPs (those updated before deployment), fortunately because the /etc/hiera/
* the hiera hierarchy cannot be updated (ie move down 'nodes' after 'astute') because this will break a whole lot of stuff
Workaround:
on the plugin manifests side, instead using "hiera('nodes')", use the old school way 'parseyaml(
but this workaround is not acceptable.
description: | updated |
Changed in fuel: | |
milestone: | none → 7.0 |
assignee: | nobody → Fuel Library Team (fuel-library) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in fuel: | |
importance: | Medium → High |
Changed in fuel-plugins: | |
status: | New → Confirmed |
assignee: | nobody → Fuel Python Team (fuel-python) |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Andriy Popovych (popovych-andrey) |
Changed in fuel: | |
assignee: | Andriy Popovych (popovych-andrey) → Fuel Python Team (fuel-python) |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Fedor Zhadaev (fzhadaev) |
assignee: | Fedor Zhadaev (fzhadaev) → nobody |
assignee: | nobody → Fuel Python Team (fuel-python) |
Changed in fuel: | |
status: | Confirmed → Triaged |
tags: | added: area-python |
Changed in fuel: | |
milestone: | 8.0 → 9.0 |
status: | Triaged → New |
Changed in fuel-plugins: | |
importance: | Undecided → High |
Changed in fuel-plugins: | |
milestone: | none → 8.0 |
Changed in fuel: | |
status: | New → Confirmed |
tags: | removed: need-info |
no longer affects: | fuel/future |
Changed in fuel: | |
milestone: | 9.0 → 10.0 |
Changed in fuel: | |
assignee: | Fuel Python (Deprecated) (fuel-python) → Fuel Sustaining (fuel-sustaining-team) |
Swann, I suppose we could move this to Fuel Plugins project in LP (or mark the bug as impacting Fuel Plugins project as well).