[RFE]: Provide a GUI to set --ntp-server, --neutron-network-type etc

Bug #1640821 reported by Udi Kalifon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Expired
Undecided
Unassigned

Bug Description

When deploying from the CLI the user can pass several important parameters such as --libvirt-type, --ntp-server clock.redhat.com, --neutron-network-type, --neutron-tunnel-types... and maybe more.

Finding those parameters in the GUI is very difficult, and another problem is that if you use the CLI and the GUI together - you won't see what was set with the other interface.

We need to better expose these parameters in the GUI and make sure it integrates well so that there won't be a duplication with the CLI.

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

Current workarounds, for reference:

- NTP can be defined in a few places, when clicking on the "Edit" pencil for some of the roles, e.g. Controller card - > Services tab -> OS::TripleO::Services::Ntp

- Neutron network type, same thing: "Edit" pencil, Controller node -> Services tab -> OS::TripleO::Services::NeutronCorePlugin -> NeutronNetworkType

- Neutron tunnel type, probably NeutronTypeDrivers in that same Services tab

Revision history for this message
Udi Kalifon (ukalifon) wrote :

We also need a GUI for the SSLKey and SSLCertificate fields, otherwise it's impossible to deploy an ssl-ized overcloud. I can't find these parameters even in the services configuration of the roles.

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

Udi, would you mind filing the missing SSL parameters as a separate issue? If they don't exist at all this is quite bad and more urgent to fix in my opinion, than the other parameters which are hard to find but do exist somewhere.

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

These requriements should be covered by this Ocata spec https://review.openstack.org/#/c/393365/

SSLKey and SSLCertificate parameters are enabled by Enable TLS environment and reside in NestedParameters > Controller > NestedParameters > 0 > NestedParameters > NodeTLSData resource in a resource tree which we get from heat. We don't show parameters of this resource anywhere, but GUI is aware of them.

This problem is going to get resolved by environment parameters listing part of mentioned spec.

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

The SSL parameters need to be set by the user (with their own key and certificate) in order to deploy a SSL overcloud successfully though. Is there some kind of workaround we could apply that would be backportable to Newton, until we get the proper fix in Ocata with this spec?

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

A workaround is to fill in the parameter values manually in enable-tls.yaml environment file and update the plan with that change

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

As far as I know, there isn't really a way to update a plan at the moment. So, create a new plan? Delete and recreate the overcloud plan? Switching back to the CLI isn't ideal in general. I wonder if maybe we could temporarily do something horrible, like hardcoding the two parameters in the Overall Settings so they are configurable from the UI?

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

Quite probably just as ugly, I wonder if folks would be open to temporarily make these parameters visible in the default templates, so the UI could pick them up automatically.

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

The CLI works around not being able to update a plan by recreating the plan every deploy, since the user needs to specify each option every time anyway.

It looks like an --update-plan-only switch was added as a stopgap to the deploy command recently [1], to avoid having to redeploy. However from the "switching between CLI and web UI" perspective that'd mean making sure to have all the CLI switches set to match whatever was configured in the UI first, so perhaps it is better to simply start with a new plan that has the correct SSL options in, for the workaround in #6.

[1] https://review.openstack.org/#/c/389830/

Revision history for this message
Jason E. Rist (jason-rist) wrote :

My understanding is that the --update-plan-only was not meant to be a long term solution.

Changed in tripleo:
status: New → Triaged
importance: Undecided → Medium
milestone: none → ocata-2
Changed in tripleo:
milestone: ocata-2 → ocata-3
Changed in tripleo:
milestone: ocata-3 → pike-1
Changed in tripleo:
milestone: pike-1 → pike-2
Revision history for this message
Julie Pichon (jpichon) wrote :

I think this can probably be marked as resolved? It's possible to set the parameters including things like the SSL certificate now, without workarounds.

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
Revision history for this message
Liz Blanchard (lblanchard) wrote :
tags: added: ux
Revision history for this message
Udi Kalifon (ukalifon) wrote :

Certainly a step in the right direction.

A few comments:

1) I'm not sure where in the templates the ntp is configured. What I'm afraid of is that the user might not fill in a value, and the GUI will replace the default value in the templates with a blank value. We need to check what happens in this case.

2) The base network configuration is selected when the user chooses it from the configuration dialog. We shouldn't duplicate the selection in this dialog as well.

3) I'm not sure in "neutron tunnel types" and "neutron network type" are still relevant. They have been removed from the CLI.

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.