Provide global cluster_id field in naigun serializer

Bug #1520175 reported by Ilya Kutukov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Ilya Kutukov

Bug Description

For now it is not possible to get destination cluster_id in many nailgun tasks.

Moreover there is many copy-pasted code that provides cluster_id for distinct tasks:
        self.task['parameters']['cmd'] = self.task['parameters']['cmd'].format(
            CLUSTER_ID=self.cluster.id)

The task is to inject cluster_id in task context more generic way.

Ilya Kutukov (ikutukov)
tags: added: area-python module-nailgun tech-debt
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/250461

Changed in fuel:
status: New → In Progress
tags: removed: tech-debt
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-web (master)

Change abandoned by Ilya Kutukov (<email address hidden>) on branch: master
Review: https://review.openstack.org/250461
Reason: Will be part of the upcoming serialisers refactoring

Revision history for this message
Ilya Kutukov (ikutukov) wrote :

Cluster id is already available as deployment_id param in astute.yaml

Changed in fuel:
status: In Progress → Invalid
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.