OpenShift role specific variables cause warning due to missing tag

Bug #1801092 reported by Steven Hardy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
In Progress
Medium
Steven Hardy

Bug Description

From mcornea:

I am trying to set OpenShiftGlusterDisks as a role specific parameter(according to [1]) and the following warning shows up:

WARNING: Following parameter(s) are not supported as role-specific inputs.
  OpenShiftGlusterDisks

This is the Heat environment file that I am using:

parameter_defaults:
  OpenShiftInfraParameters:
    OpenShiftGlusterDisks:
      - /dev/vdb

[1] https://docs.openstack.org/tripleo-docs/latest/install/advanced_deployment/role_specific_parameters.html

Reported downstream at:

https://bugzilla.redhat.com/show_bug.cgi?id=1644070

I think the problem is we're missing the role-specific tag, e.g like:

 tags:
      - role_specific

Probably we should have a validation to catch where parameters are processed for role-specific values but not appropriately tagged.

Revision history for this message
Steven Hardy (shardy) wrote :

Hmm my initial idea is wrong, we do have the tags, digging further...

Changed in tripleo:
assignee: nobody → Steven Hardy (shardy)
status: New → In Progress
importance: Undecided → Medium
milestone: none → stein-2
tags: added: rocky-backport-potential
Revision history for this message
Steven Hardy (shardy) wrote :

This shows we do have the tags

https://github.com/openstack/tripleo-heat-templates/blob/master/extraconfig/services/openshift-cns.yaml#L45

We then check for user parameters to ensure they match the parameters tagged:

https://github.com/openstack/tripleo-common/blob/master/workbooks/plan_management.yaml#L612

https://github.com/openstack/tripleo-common/blob/master/workbooks/plan_management.yaml#L649

So something seems to be wrong - lets see if we can confirm the issue with a recent master build.

Changed in tripleo:
milestone: stein-2 → stein-3
Changed in tripleo:
milestone: stein-3 → train-1
Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Changed in tripleo:
milestone: train-3 → ussuri-1
Changed in tripleo:
milestone: ussuri-1 → ussuri-2
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
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.