114 Commits

Author SHA1 Message Date
Zuul
f7ef7a6ef0 Merge "Mount rabbitmq TLS secret" 2021-06-10 16:32:08 +00:00
Gupta, Sangeet (sg774j)
5028aa8de1 Mount rabbitmq TLS secret
Mount rabbitmq TLS secret to openstack services which support internal
TLS. Once internal TLS support is added to other service, the TLSed 
rabbitmq support should be added.

Depends-on: https://review.opendev.org/c/openstack/openstack-helm-infra/+/795188

Change-Id: I9aa272e365f846746f2e06aa7b7010db730e17df
2021-06-10 14:12:57 +00:00
Zuul
866aa3f379 Merge "Add openstack_enable_password_retrieve variable in horizon value" 2021-06-09 07:13:29 +00:00
Zuul
9bdd4fe96f Merge "Barbican: Add support for master KEK rotation" 2021-06-08 14:33:32 +00:00
Phil Sphicas
ce1b2630d2 Barbican: Add support for master KEK rotation
When using the simple_crypto_plugin (which is enabled by default),
secrets are encrypted with per-project keys, and those keys are
encrypted (or wrapped) with a master key encryption key (KEK, or MKEK).
The wrapped project keys are stored in the database. The KEK is stored
in the barbican configuration file.

If no KEK is specified, a well-known default is used. There is no native
Barbican support for rotating the KEK. Changing the KEK would cause loss
of access to all secrets, because Barbican would be unable to unwrap the
project keys.

This change adds support for upgrading the Helm chart while changing the
KEK. A script can be executed during the db-sync job that decrypts the
project keys with the old KEK, and rewraps them with the new KEK. Note
that no secrets are actually modified during this procedure, and the
project keys are not actually changed.

To use this feature, specify the following values:

    conf:
      barbican:
        simple_crypto_plugin:
          kek: # new KEK, 32-bytes of data, base64-encoded
      simple_crypto_kek_rewrap:
        old_kek: # old KEK, 32-bytes of data, base64-encoded

Change-Id: I462085b89ef80985b42149cccf865e6c5f0f5a53
2021-06-08 07:20:14 +00:00
Zuul
651369ecf3 Merge "Replace deprecated configuration" 2021-06-08 02:05:50 +00:00
okozachenko
6cd9a2339d Add openstack_enable_password_retrieve variable
in horizon value

Change-Id: Icc33228e06ecc71717aad39309f37986be3b46f2
2021-06-07 18:25:43 +03:00
Phil Sphicas
43f24adf57 Barbican: Add conditional wrapper to helm hook
The pre-install hooks for several of the barbican templates [0] cause
upgrade failures when using helm2. Similar to what was done for keystone
[1], this change wraps them in a conditional that can be toggled off for
anyone still using helm2.

0: https://review.opendev.org/c/openstack/openstack-helm/+/782710
1: https://review.opendev.org/c/openstack/openstack-helm/+/785517

Change-Id: I6a160916ec65d73eef1aaffb510c85ee7fb0d501
2021-06-06 02:52:11 +00:00
Zuul
4e8a843222 Merge "Changing all policies to yaml format" 2021-06-02 17:08:10 +00:00
Mohammed Naser
5ff0afcb0d Fix dnsPolicy for housekeeping service
The dnsPolicy not being set to "ClusterFirstWithHostNet" results in
the housekeeping service failing to connect to the database.

Change-Id: I23c9f0c561ea61695fbc7ce333a3f331cf31a7a4
2021-05-29 21:35:40 -04:00
zhen
5bb9b20112 Replace deprecated configuration
``[vnc]/vncserver_proxyclient_address`` was deprecated, so we replace it with ``server_proxyclient_address``

Change-Id: I142710ffab2aa407a09318e4b8517938ed28f3c8
2021-05-27 10:05:34 +08:00
Thiago Brito
8ab6013409 Changing all policies to yaml format
In the Victoria cycle oslo.policy decided to change all default policies
to yaml format. Today on openstack-helm we have a mix of json and yaml
on projects and, after having a bad time debugging policies that should
have beeing mounted somewhere but was being mounted elsewhere, I'm
proposing this change so we can unify the delivery method for all
policies across components on yaml (that is supported for quite some
time). This will also avoid having problems in the future as the
services move from json to yaml.

[1] https://specs.openstack.org/openstack/oslo-specs/specs/victoria/policy-json-to-yaml.html

Signed-off-by: Thiago Brito <thiago.brito@windriver.com>
Change-Id: Id170bf184e44fd77cd53929d474582022a5b6d4f
2021-05-26 18:15:41 -03:00
Zuul
43b3d86811 Merge "feat(tls): Make openstack services compatible with rabbitmq TLS" 2021-05-25 18:00:26 +00:00
Tin
dd55414d05 fix(pep8): makes python script pep8 compliant
Fixes horizon python script so it is pep8 compliant.

Change-Id: I704d3e83b0ee62173207559379e22d04aa96fcbf
Signed-off-by: Tin <tin@irrational.io>
2021-05-24 07:33:11 +00:00
Haider, Nafiz (nh532m)
c900712f30 feat(tls): Make openstack services compatible with rabbitmq TLS
Depends-on: https://review.opendev.org/c/openstack/openstack-helm-infra/+/770678

Co-authored-by: Sangeet Gupta <sg774j@att.com>

Change-Id: I11e9ad3f4079b0e12e498f9ed57e5b87ae9dc66a
2021-05-21 01:27:18 +00:00
Tin
26afeb4cb2 fix(pep8): makes python script pep8 compliant
Fixes keystone python script so it is pep8 compliant.

Change-Id: Ib94707996441f35e6ffb32a6d63ab6adbd17a87d
Signed-off-by: Tin <tin@irrational.io>
2021-05-19 22:55:35 +00:00
OpenStack Proposal Bot
d21b00d159 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I58c4d683a8b9de88793a3e5fe9f58d76988d8f63
2021-05-18 07:27:53 +00:00
Zuul
f9f686308d Merge "chore(charts): retires panko chart" 2021-05-18 02:02:49 +00:00
Tin
f5a70102b2 fix(perm): fixes template permission
Some nova gotpl files have +x permission. This changes it so they are
consistent with the other gotpl files.

Change-Id: Ifcd4c1032b41363ea8b1d43407315d68d7e9eec8
Signed-off-by: Tin <tin@irrational.io>
2021-05-17 11:26:01 -05:00
Tin
160529ef90 chore(charts): retires panko chart
This patch set retires the panko chart as it is being retired.
See [0].

[0] http://lists.openstack.org/pipermail/openstack-discuss/2021-May/022337.html

Change-Id: I3fb6aad84e5893f55ae9e9fca1150ad6e1930ddd
Signed-off-by: Tin <tin@irrational.io>
2021-05-17 07:11:43 +00:00
Gage Hugo
17eff06bb3 Remove keystone paste ini file
With keystone moving to flask back in Stein, the paste pipeline
configuration and file are no longer needed. With OSH no longer
supporting those older releases, this change removes the paste ini
settings and file mounts since they are no longer used.

Change-Id: Idacd973f090562eaee28567d9422eb761951096f
2021-05-05 16:42:28 -05:00
Chinasubbareddy Mallavarapu
2002b9368d [CEPH] Fix the ceph pool creations for openstack services
This is to fix the ceph version checks for enabling the applications
on newly created pools for openstack services like cinder and glance.

Change-Id: I2c007f728180cf7753255463ebf2f8dc5dc6fa5b
2021-05-05 13:14:07 +00:00
Gage Hugo
5233582991 Remove support for openstack releases older than T
This change bumps each openstack chart version up to the next
greatest minor version of 0.2.0, signifying that openstack-helm
will no longer support older, EOL releases for each chart.

Change-Id: I7ce80c7bdc779c1de4472079f18102f506bfbb90
2021-04-29 12:04:34 -05:00
Zuul
28d0a56e46 Merge "Update helm hook conditionals" 2021-04-29 16:45:46 +00:00
Gage Hugo
a3d26068ad Update helm hook conditionals
Updated the db job annotation hooks to be wrapped with
conditionals for helm v2 support.

Change-Id: I069fe3572b837714e263252646e56471c81745d5
2021-04-28 21:36:03 +00:00
OpenStack Proposal Bot
a56b007243 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: If256fbddf977ebdc779e93c0de07089dacd8cd60
2021-04-27 07:41:42 +00:00
Zuul
16098031c5 Merge "Keystone: Fix error - wrong number of args for set" 2021-04-23 00:03:22 +00:00
Gupta, Sangeet (sg774j)
f498f203cf Keystone: Fix error - wrong number of args for set
Change-Id: Ibc06d00f659c9ae7a1a14d1b2aa70607842b2f53
2021-04-22 13:19:46 +00:00
OpenStack Proposal Bot
5db968334d Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I02ba6c5a934a9b598e3cab0bddb86b2337e4337f
2021-04-21 07:45:20 +00:00
Zuul
64a7a9f421 Merge "Host resource scale adjustment about ironic" 2021-04-21 02:09:50 +00:00
Zuul
a4654b220d Merge "Fix the problem in hostNetwork mode" 2021-04-20 10:00:38 +00:00
Zuul
16c1c88e3c Merge "Add conditional wrapper to helm hook" 2021-04-20 08:11:50 +00:00
jinyuan
7137a71700 Host resource scale adjustment about ironic
Ironic does not need to reserve system resources, otherwise it will cause flavor to be unable to schedule.

Change-Id: I454d0468ae3424cc92d470c15a40ad96c01cf311
2021-04-20 14:32:12 +08:00
Zuul
153f19cc33 Merge "Fix the nova-compute-ironic label issue" 2021-04-20 05:43:18 +00:00
Gage Hugo
0f6f83dcdc Add conditional wrapper to helm hook
The pre-install hooks for several of the keystone templates
cause upgrade failures when using helm2. This change wraps them
in a conditional that can be toggled off for anyone still
using helm2.

Change-Id: I179583bd595bc8ed1e4c29eb7c2a744e3c6a5708
2021-04-19 20:29:22 +00:00
jinyuan
1fda67d9cd Fix the nova-compute-ironic label issue
The nova-compute-ironic label is "compute", but the label chosen by affinity is "compute-ironic", which results in multiple replicas on the same node.

Change-Id: If947be6cd400e32d3455f07a85f4263c4b17cb87
2021-04-19 15:21:37 +08:00
OpenStack Proposal Bot
72b1f2d9c0 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I03d38b0121915388aa3d88ec524d97343eee2ace
2021-04-17 07:34:45 +00:00
Kabanov, Dmitrii
46f4343f19 [Neutron] Update Rally tests
The PS updates Rally tests and removes "name" parameter. According to
Rally documentation [0] this parameter was always ignored. Latest version of Rally (2.1.0) is failing with a message: "Scenario plugin
'NeutronNetworks.<...>' doesn't pass restricted_parameters@default
validation. Details: You can't specify parameters 'name' in
'network_update_args/port_update_args/router_update_args/subnet_update_args'"

[0] https://github.com/openstack/rally-openstack/blob/2.1.0/CHANGELOG.rst

Change-Id: If4e80dfcb56a6e1daa1a055285329f9fc2d58332
2021-04-16 04:14:21 +00:00
jinyuan
3fee85324b Fix the problem in hostNetwork mode
If ClusterFirstWithHostNet does not exist, it will cause the communication between services to fail.

Change-Id: Iadac1d570e0aac1aee3361792319d825bcadc83c
2021-04-15 16:29:10 +08:00
Zuul
ba364c24b1 Merge "Add ISCSI Multipath support when enable_iscsi true" 2021-04-14 18:28:04 +00:00
Karl Kloppenborg
d2e2d58a5f Add ISCSI Multipath support when enable_iscsi true
When using iscsi in both cinder and nova multipath tooling access is not
currently available. This commit provides the host system access to
configure and control multipath.
This commit has been tested in our own production systems however this
is my first commit into Openstack-Helm so please review carefully and
provide me guidance on what I might be able to do better.

Change-Id: I4f017f67a5d80b9c931e2ee1653062aa503a7fd9
2021-04-12 08:28:56 +00:00
Gayathri Devi Kathiri
64cf176bef Implement "CSRF_COOKIE_HTTPONLY" option support in horizon
The HTTP only flag protects the session cookies from
cross-site scripting.

Change-Id: Iec07b3b447051726ce218e5f31c8bf583731a90c
2021-04-09 15:51:51 +00:00
OpenStack Proposal Bot
34c3cd4adf Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Iee5a173608a39ee351b41719208b934a4b8f3604
2021-04-02 07:44:08 +00:00
Zuul
9e64ccb5dc Merge "Added post-install and post-upgrade hook for jobs in magnum" 2021-03-30 22:22:12 +00:00
Zuul
8339fd4556 Merge "Added post-install and post-upgrade hook for Jobs on octavia" 2021-03-26 20:02:30 +00:00
Zuul
ff74d91b43 Merge "Added post-install and post-upgrade hook for jobs in mistral" 2021-03-26 20:02:01 +00:00
Zuul
0f31bd67cb Merge "Added post-install and post-upgrade hook on jobs in designate chart" 2021-03-26 19:32:27 +00:00
Zuul
49705027e9 Merge "Added post-install and post-upgrade hook in jobs for barbican" 2021-03-26 19:28:00 +00:00
Zuul
1ee177e65a Merge "Added post-install and post-upgrade hook for jobs in ironic" 2021-03-26 19:27:56 +00:00
guilhermesteinmuller
8f38a1c45f Update glance default policy values
Currently, when users try to navigate through horizon
panels or use the command-line interface that contains
calls to /api/glance/metadefs it will pop up insufficient
permission errors due to the fact we are disabling [1]
the metadef APIs in glance addressing OSSN-0088 [2].

As a side effect on how we address the OSSN, all API calls
to metadefs will be forbidden for any user, which is not recommended
in production environments. However, we have the current
recommendation of the OSSN which allows CRUD of metadef to
admin only and provide read access to all users.

[1] aab5ee7711
[2] https://wiki.openstack.org/wiki/OSSN/OSSN-0088

Story: 2008761
Task: 42128
Change-Id: Ib1415cadbbfab874a8d44ac6b5c6fba3c7502242
2021-03-25 19:32:08 -03:00