[nailgun][plugins][tech-debt] Storage for plugin calculated data

Bug #1569285 reported by Igor Zinovik
4
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Confirmed
High
Fuel Sustaining

Bug Description

Detailed bug description:

During deployment run plugin may need to calculate some data (e.g. translate
DNS names into IP addresses, convert vCenter cluster names to internal MoRef IDs, etc)
and store this data somewhere.

There is also a problem of repeating this conversion on each node, e.g. if we deploy 3
controllers and we need to resolve some DNS name to IP plugin will repeat this task
3 times instead of just fetch result from storage. More optimal way will be to make
conversion one time, e.g. on primary-controller, save result if fuel db and then fetch
it when plugin runs on second controllers.

Data should be tagged with some kind of marker lets call it 'deploy_id', so we can
determine the fact that data was updated.

Steps to reproduce:

N/A

Expected results:

No need to do some complex actions to determine which deployment run
is happening.

Actual result:

Ability to fetch data in puppet manifests.
Deployment run takes a bit longer time.

Reproducibility:

N/A

Workaround:

Dirty hacks like storing deployment run number in file on each node.

Igor Zinovik (izinovik)
description: updated
summary: - Storage for plugin calculated data
+ [nailgun][plugins][tech-debt] Storage for plugin calculated data
Changed in fuel:
status: New → Confirmed
tags: added: area-plugins area-python
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
assignee: Fuel Python (Deprecated) (fuel-python) → Fuel Sustaining (fuel-sustaining-team)
Dmitry Pyzhov (dpyzhov)
tags: added: feature
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.