Commit Graph

3741 Commits

Author SHA1 Message Date
DeJaeger, Darren (dd118r)
9a8a476d9f Nova bootstrap job efficiency
This PS attempts to make the Nova bootstrap job a little speedier.
It's been noticed that flavor check/creation on initial deployment
are rather slow, so this backgrounds the creation of each flavor,
so that the defined flavors can be checked/create in parallel,
rather than one at a time. Waits for the jobs to finish at the end.

Change-Id: Ib9ab345e5aee697a41414e927910335dd286072f
2021-08-02 21:19:30 -04:00
Andrii Ostapenko
3ac3caa013 Add support for Victoria and Wallaby
Defines compute kit and cinder jobs for new releases with
corresponding values overrides.

Disables compute agent list test for Wallaby since related API
is removed [0].

Since Wallaby with switch of osc to sdk '--id auto' is no longer
treated specially in 'openstack flavor create'. The same behavior
can be achieved w/o specifying --id flag for flavor creation [1].

Starting Wallaby 'nova-manage api_db version' returns init version
for empty database greater than 0 [2]. _db-sync.sh.tpl logic prior to
this commit does not work due to this. We need to either remove
(done in current commit) or justify and alter previous logic.

[0] https://review.opendev.org/749309
[1] https://review.opendev.org/750151
[2] https://opendev.org/openstack/nova/src/branch/stable/wallaby/nova/db/sqlalchemy/migration.py#L32

Change-Id: I361431d9aa8c1a06c5d59f479fb161ecd87e2ee2
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2021-08-02 15:46:07 +00:00
Zuul
a6cc4f7194 Merge "Remove member bootstrap logic" 2021-07-29 03:48:35 +00:00
Zuul
b4afdcdd9e Merge "Added post-install and post-upgrade hook for jobs." 2021-07-29 03:48:34 +00:00
Zuul
dc4e0d7cda Merge "[OSH] Add make utlity to list of required tools" 2021-07-28 19:33:24 +00:00
Chinasubbareddy Mallavarapu
7e276b8eca [OSH] Add make utlity to list of required tools
This is to add "make" to list of required utilities.

Change-Id: I4b9a0bc61b6351b8deeedd5924884e75ecc0622c
2021-07-28 18:36:08 +00:00
Haider, Nafiz (nh532m)
2065ccd523 Mount rabbitmq tls cert for nova-novnc communication
Change-Id: I80b2515c2f36d0167ee9ef8049bf6b167a5e399d
2021-07-28 17:07:29 +00:00
Gage Hugo
9c89c32bd3 Remove indonesian translations
The lastest upgrade to sphinx 4.1.1 brings in a newer version of
docutils which caused an issue with the docs build since indonesia
is not a supported language. This change removes the id directory
in the list of locals to unblock the gate.

http://lists.openstack.org/pipermail/openstack-discuss/2021-July/023884.html

Change-Id: Ic2e92dcfadab95eb1b1845fd5ab9383909bc84e1
2021-07-28 16:29:44 +00:00
Susanta Gautam
3c9cf1539b Added post-install and post-upgrade hook for jobs.
Chart upgrading was failing due to some immutable fields are needed to upgrade before the jobs can be upgraded. For solving this issue, we
have added the helm.sh/hook annotations with post-install and post-upgrade values.
As for hook-weight annotations, we have added these to control the flow of the jobs with hook creation as the jobs are dependent. Like,
db-init jobs need to run before db-sync and so on.
helm3_hook values is added so that hook can be disabled from the values files.

Change-Id: Idfcc0479d152286ecd144502d80732094c9e43ea
2021-07-20 17:58:46 +05:45
Zuul
13ec697a4a Merge "Made dnsmasq.conf overridable in configmap-etc secret" 2021-07-19 22:13:34 +00:00
Gage Hugo
87b39c553d Remove member bootstrap logic
As of Rocky, keystone creates the member role by default. Since
our removal of pre-Train support, the logic we have in the
bootstrap script is no longer needed.

This change removes the member user and role logic.

Change-Id: Ide3af5c47c6b45c013b4dee08076d11bcfe87c53
2021-07-19 03:11:25 +00:00
Zuul
38a90d4282 Merge "Add volume QoS support" 2021-07-17 00:04:38 +00:00
Sophie Huang
a711de8195 Add volume QoS support
In this patchset, volume QoS creation and association are added
to the bootstrap if configured.

Change-Id: I8c4bd4909f06e9db4fbc6a6daad0932babe94bcf
2021-07-16 13:59:16 +00:00
xuxant02@gmail.com
ee0c142748 Made dnsmasq.conf overridable in configmap-etc secret
As dnsmasq.conf data in configmap-etc secret was empty, there was no option
to override it. Added the section in the values.yaml file where the dnsmasq.conf
config can be added which will be reflected in dhcp-agent.

Change-Id: If11c33f6f837dbf0d16e54cc92cabf399e773968
2021-07-14 14:24:05 +05:45
MirgDenis
27e12b88ad Fix neutron-openvswitch-agent-init script
Using local variables outside of function is not allowed
in bash. During adding route it tries to delete cached
route and fails with "Not found" because it can delete only
user created routes, so we need to omit Cached routes
in ovs/route/show listing.

Change-Id: Ifc8da7fc36206f7ebd2e6198dbf192a5a40261af
2021-07-13 14:48:40 +03:00
Mohammed Naser
44be41440c Wire up rootwrap daemon
This patch allow Neutron to start taking advantage of the rootwrap
daemon which should significantly increase performance.

Change-Id: I9d4f8dd8f9d36dc558e5e280b8f8193212345f34
2021-07-07 19:18:19 +05:45
Zuul
9c7f716bb0 Merge "Fix conductor reload" 2021-07-06 21:57:36 +00:00
Gupta, Sangeet (sg774j)
7d3cd164ab nova: Add image clean up to rally test
Clean any images created by rally after the test is complete.

Change-Id: I266d0c94959971d259742958802ffce25448eaa7
2021-07-06 12:20:17 +00:00
Mohammed Naser
8a54acc7b0 Fix conductor reload
We didn't have an annotation label, so there's no way for things
to automatically reload when config changes.

Change-Id: I5d142c8d3c2bb11b955d4c4e2fd2e95e3a1e522a
2021-07-03 16:16:10 -04:00
xuxant02@gmail.com
c050456bdb Fix for the values in archive_delete_rows script
There was a mistake in the script for the archive_delete_rows cron for
rendering the values from the values files. Fix for taking the values
from the values file for --max-rows and --before options when enabled
using the values.yaml file.

Change-Id: Ib63920c497bbf9ac74e41bdfd0b2e580b95bebb0
2021-07-02 19:12:04 +05:45
Kabanov, Dmitrii
b1abce9a75 Add Ussuri release support
The PS adds the set of overrides for Ussuri release.

Change-Id: I6b3055e376aa14d0c2ecbea638e6e9ba3b03bde5
2021-06-30 16:47:22 -07:00
Zuul
7c6c615bcf Merge "Modify default probe timings" 2021-06-28 17:44:22 +00:00
Zuul
b2816a87b0 Merge "Added cronjob for nova which will be cleaning the databases." 2021-06-28 17:42:55 +00:00
Zuul
96aca9b706 Merge "Imported Translations from Zanata" 2021-06-26 07:18:21 +00:00
Mohammed Naser
947aac114f Fix multidomain support selector
At the moment, the multidomain support selector is broken because
it always puts the value of a boolean inside a string which always
evaluates to true, which means setting it to false does nothing.

This patch drops the quotes around the templated configuration,
that way, it is taken for the literal boolean value.

Change-Id: I02c0a0ece680ecb55e83f3da5a992398c3ab6390
2021-06-25 13:16:31 -04:00
OpenStack Proposal Bot
6c8afcc2e5 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I6044afe777bc70c58a73502c9327e96a3bac9891
2021-06-25 07:43:48 +00:00
xuxant02@gmail.com
f3d361d2f7 Added cronjob for nova which will be cleaning the databases.
Script has been created with archve_deleted_rows which will run as
cronjob to move the deleted rows from production table to shadow table.

Change-Id: I1cd3e523301b1aaeb3366288d128e23aae5e0780
2021-06-24 15:49:35 +05:45
jinyuanliu
33efbaeb27 fix(yaml): add end symbol
This patch set fixes end symbol to update the yaml format specification.

Change-Id: I4e3e0fe4e7afeedb78679a4d4dfa37f93f459072
2021-06-22 19:57:48 +08:00
Zuul
ad25e5cf13 Merge "Set reasonable default probe timeouts" 2021-06-22 03:12:34 +00:00
Gage Hugo
c1c6cb8300 Modify default probe timings
This change modifies the keystone probe timings to be less
aggressive. This should prevent the probes from restarting any
keystone-api pods that are under a high volume of traffic as well
as reduce the amount of log spam.

Change-Id: Icce06bf2247591a7b603aa32ded254ce7b6cc67a
2021-06-18 19:14:55 -05:00
Gage Hugo
c775184bdd Set reasonable default probe timeouts
This change modifies the default values for all of the readiness
and liveness probes to something a bit less aggressive, namely
the default timeout of 1 second.

Change-Id: Ib389aebb2450f8ed134ef8f75110b559d1a4f2ee
2021-06-18 19:12:15 -05:00
Parsons, Cliff (cp769u)
48738f5426 Update gate scripts for Ceph CSI RBD Provisioner
This patch updates the gate scripts so that the Ceph CSI RBD Provisioner
will be tested appropriately and is documented properly.

Change-Id: I0ad86c9d53db3533b65a41387bbd426c9023d6ee
2021-06-11 14:27:53 +00:00
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
92dfcbb7c1 Merge "doc(ovs): fixes doc" 2021-06-08 02:05:54 +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
87011eb8d7 Merge "docs: Update Freenode to OFTC" 2021-06-03 11:46:40 +00:00
Zuul
4e8a843222 Merge "Changing all policies to yaml format" 2021-06-02 17:08:10 +00:00
jinyuanliu
5c7c7cbcc3 docs: Update Freenode to OFTC
http://lists.openstack.org/pipermail/openstack-discuss/2021-May/022780.html

Change-Id: Ib10ac6a60550581878fb73e9fdb1c77c1fb713b6
2021-06-02 17:03:10 +08:00
Tin
7319518f2c doc(ovs): fixes doc
This fixes trivial error in the documentation.

Change-Id: I6586d25963b453fa6440426c8fc09e07a101f3b6
Signed-off-by: Tin <tin@irrational.io>
2021-06-02 08:50:35 +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
Zuul
0792d0469e Merge "Remove misleading section from upgrade docs" 2021-05-24 22:05:13 +00:00