microstack/snap-overlay/templates
Corey Bryant eae1b81ec6 Add TLS OpenStack API endpoints
A new config.tls.generate-cert option is added that defaults to true.
When true, a self-signed certificate will be generated and OpenStack
API endpoints will be configured to use TLS with that self-signed
certificate. The following config options are added:

snap get microstack config.tls.generate-self-signed
snap get microstack config.tls.cacert-path
snap get microstack config.tls.cert-path
snap get microstack config.tls.key-path

Users can provide their own certificate by setting generate-cert to
false and storing their own certificates/key at the paths specified
by cacert-path, cert-path, and key-path. 'snap set' can also be used
to change the cert/key file names.

If using clustering, the certificates/key will be copied from the
control node to the compute nodes. The config for cacert-path,
cert-path, and key-path will be set to the same values as on the
control node.

Other notable changes:
* The existing generate_selfsigned() function is modified to change
  the subject alternative name to be made up of the hostname and
  optionally an IP. The controller hostname and IP are used when
  generating the certificate for self-signed TLS endpoints. The
  hostname is now used instead of 'microstack.run' when generating
  the clustering certificate.
* This change also aligns logging for nginx and corresponding sites
  and moves all nginx sites to {snap_common}/etc/nginx/sites-enabled.

Change-Id: Iceea3127822404a3275fcf8a221cbedc4b52c217
2021-05-07 15:02:20 -04:00
..
05_snap_tweaks.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
cinder-api.ini.j2 Fix snapcraft build issues 2021-04-26 22:20:33 -07:00
cinder-nginx.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
cinder-rootwrap.conf.j2 Use focal/core20/Ussuri/OVN & enable confinement 2020-09-25 13:20:12 +00:00
cinder-snap.conf.j2 Add debug logging and individual OpenStack log files 2021-03-29 14:24:39 +03:00
cinder.database.conf.j2 Generate random passwords instead of hard-coding 2020-10-08 11:25:25 +03:00
cinder.keystone.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
cinder.rabbitmq.conf.j2 Generate random passwords instead of hard-coding 2020-10-08 11:25:25 +03:00
cluster-api.ini.j2 Fix snapcraft build issues 2021-04-26 22:20:33 -07:00
cluster-nginx.conf.j2 Add Secure Clustering 2020-10-15 01:37:33 +03:00
filebeat.yaml.j2 Added Filebeat, NRPE and Telegraf to Microstack 2020-02-11 14:33:26 +00:00
glance-nginx.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
glance-snap.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
glance.conf.d.keystone.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
glance.database.conf.j2 Generate random passwords instead of hard-coding 2020-10-08 11:25:25 +03:00
horizon-nginx.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
horizon-snap.conf.j2 Add debug logging and individual OpenStack log files 2021-03-29 14:24:39 +03:00
horizon.ini.j2 Fix snapcraft build issues 2021-04-26 22:20:33 -07:00
iscsid.conf.j2 Use focal/core20/Ussuri/OVN & enable confinement 2020-09-25 13:20:12 +00:00
keystone-api.ini.j2 Fix snapcraft build issues 2021-04-26 22:20:33 -07:00
keystone-nginx.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
keystone-snap.conf.j2 Add debug logging and individual OpenStack log files 2021-03-29 14:24:39 +03:00
keystone.database.conf.j2 Generate random passwords instead of hard-coding 2020-10-08 11:25:25 +03:00
libvirtd.conf.j2 Enable libvirt daemon to listen for remote connections 2021-04-27 14:47:47 -07:00
lvm.conf.j2 Only include loop devices in LVM global_filter 2021-03-17 17:01:29 -04:00
microstack.json.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
microstack.rc.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
neutron-nginx.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
neutron-snap.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
neutron.conf.d.rabbitmq.conf.j2 Generate random passwords instead of hard-coding 2020-10-08 11:25:25 +03:00
neutron.database.conf.j2 Generate random passwords instead of hard-coding 2020-10-08 11:25:25 +03:00
neutron.keystone.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
neutron.nova.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
neutron.placement.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
neutron_ovn_metadata_agent.ini.j2 Fix the Neutron OVN metadata service setup 2020-10-10 08:32:11 +03:00
nginx.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
nova-nginx.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
nova-snap.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
nova.conf.d.cinder.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
nova.conf.d.console.conf.j2 Use focal/core20/Ussuri/OVN & enable confinement 2020-09-25 13:20:12 +00:00
nova.conf.d.database.conf.j2 Generate random passwords instead of hard-coding 2020-10-08 11:25:25 +03:00
nova.conf.d.glance.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
nova.conf.d.keystone.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
nova.conf.d.neutron.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
nova.conf.d.placement.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
nova.conf.d.rabbitmq.conf.j2 Generate random passwords instead of hard-coding 2020-10-08 11:25:25 +03:00
nrpe.cfg.j2 Add Secure Clustering 2020-10-15 01:37:33 +03:00
placement-api.ini.j2 Fix snapcraft build issues 2021-04-26 22:20:33 -07:00
placement-nginx.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
placement-snap.conf.j2 Add debug logging and individual OpenStack log files 2021-03-29 14:24:39 +03:00
placement.conf.d.database.conf.j2 Generate random passwords instead of hard-coding 2020-10-08 11:25:25 +03:00
placement.conf.d.keystone.conf.j2 Add TLS OpenStack API endpoints 2021-05-07 15:02:20 -04:00
placement.conf.d.placement-api.conf.j2 Use focal/core20/Ussuri/OVN & enable confinement 2020-09-25 13:20:12 +00:00
qemu.conf.j2 Rework the test framework & the clustering test 2021-01-15 15:58:03 +03:00
rabbitmq.conf.j2 Made horizon, rabbit and mysql ports configurable 2019-11-27 15:27:54 +00:00
targets.conf.j2 Use focal/core20/Ussuri/OVN & enable confinement 2020-09-25 13:20:12 +00:00
telegraf.conf.j2 Added Filebeat, NRPE and Telegraf to Microstack 2020-02-11 14:33:26 +00:00
virtlogd.conf.j2 Make logging better 2019-10-08 13:13:23 +00:00