[RFE] Validation to ensure NeutronNetworkType and NeutronTunnelTypes are the same

Bug #1641210 reported by Dan Trainor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Expired
Undecided
Unassigned

Bug Description

Neutron Tunnel types that aren't specified in Neutron Network types will not be available and may fail a deployment.

Ensure that NeutronTunnelTypes is the value or in the list of allowed values for NeutronNetworkType prior to deployment.

Changed in tripleo:
status: New → Confirmed
status: Confirmed → Triaged
importance: Undecided → Medium
milestone: none → ocata-2
Revision history for this message
Katerina Pilatova (kpilatov) wrote :

How can one get the values of NeutronTunnelTypes and NeutronNetworkType?

Revision history for this message
Julie Pichon (jpichon) wrote :

I'm not sure if it's accessible from the validations but they are in the mistral environment for the plan (e.g. `mistral environment-get overcloud` for the default plan) in the parameter_defaults. They might not exist in the environment though if the user didn't override them. I'm not sure if there's a way to get to them besides hardcoding the default, lLooks like the defaults come from THT at the moment: https://github.com/openstack/tripleo-heat-templates/blob/master/puppet/services/neutron-plugin-ml2.yaml#L26 and #L60 too.

Revision history for this message
Jiri Tomasek (jtomasek) wrote :

We should probably be able to specify allowed_values constraint on NeutronTunnelTypes parameter (http://docs.openstack.org/developer/heat/template_guide/hot_spec.html#allowed-values) such as this:

NeutronTunnelTypes:
  ...
  constraints:
    allowed_values: {get_param: NeutronNetworkType}

In addition, GUI is able to leverage this and provide a multi-select input.

Julie Pichon (jpichon)
tags: added: tripleo-heat-templates
Changed in tripleo:
milestone: ocata-2 → ocata-3
Changed in tripleo:
milestone: ocata-3 → pike-1
Changed in tripleo:
milestone: pike-1 → pike-2
Changed in tripleo:
milestone: pike-2 → pike-3
Changed in tripleo:
milestone: pike-3 → pike-rc1
Changed in tripleo:
milestone: pike-rc1 → queens-1
Changed in tripleo:
milestone: queens-1 → queens-2
Changed in tripleo:
milestone: queens-2 → queens-3
Changed in tripleo:
milestone: queens-3 → queens-rc1
Changed in tripleo:
milestone: queens-rc1 → rocky-1
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Revision history for this message
Emilien Macchi (emilienm) wrote : Cleanup EOL bug report

This is an automated cleanup. This bug report has been closed because it
is older than 18 months and there is no open code change to fix this.
After this time it is unlikely that the circumstances which lead to
the observed issue can be reproduced.

If you can reproduce the bug, please:
* reopen the bug report (set to status "New")
* AND add the detailed steps to reproduce the issue (if applicable)
* AND leave a comment "CONFIRMED FOR: <RELEASE_NAME>"
  Only still supported release names are valid (FUTURE, PIKE, QUEENS, ROCKY, STEIN).
  Valid example: CONFIRMED FOR: FUTURE

Changed in tripleo:
importance: Medium → Undecided
status: Triaged → Expired
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.