3527 Commits

Author SHA1 Message Date
Gage Hugo
fc680cf8c4 Update typo in subPath for volume mount
When using a chart with the flux operator and helm3, it fails
when encountering a volumeMount "subpath" instead of "subPath".

This change corrects the typo to the right camelcase entry.

Change-Id: Id2d9ea25445d84f89b299c7f0b24da1cc5aaf264
2021-01-28 22:51:59 +00:00
Zuul
2a9e91589d Merge "Revert "feat(tls): Change Issuer to ClusterIssuer"" 2021-01-28 19:55:35 +00:00
Tin Lam
2ec17153c6 Revert "feat(tls): Change Issuer to ClusterIssuer"
This reverts commit 43e75eaa83cc6958fa0a6af55783cbe2645cfde7.

Reason for revert: Doing this as part of the revert here - https://review.opendev.org/c/openstack/openstack-helm-infra/+/772733

Change-Id: I9c04a35c179d23ec1b7612b4f87d9d16352985cc
2021-01-27 17:09:42 -06:00
Zuul
ceb3b08428 Merge "Add reno job to Openstack-Helm" 2021-01-22 23:29:23 +00:00
Zuul
dff7745844 Merge "chore(make): updates Makefile" 2021-01-22 09:03:08 +00:00
Gage Hugo
6ea15a7f9d Add reno job to Openstack-Helm
With OSH now publishing charts regularly with each change, there
needs to be a way to track these changes in order to track the
changes between chart versions.

This proposed change adds in a reno check job to publish notes
based from the changes to each chart by version as a way to
track and document all the changes that get made to OSH
and published to tarballs.o.o.

Change-Id: Iff8681c697957e4711754fc20b07fa6b728eb584
2021-01-20 21:47:35 +00:00
sgupta
43e75eaa83 feat(tls): Change Issuer to ClusterIssuer
ClusterIssuer does not belong to a single namespace (unlike Issuer)
and can be referenced by Certificate resources from multiple different
namespaces. When internal TLS is added to multiple namespaces, same
ClusterIssuer can be used instead of one Issuer per namespace.

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

Change-Id: I6585d5a8c2ccb507a5c99784c0190502b55a5bcf
2021-01-19 13:47:09 +00:00
Tin Lam
fc726aa9c0 chore(make): updates Makefile
This patch set updates the Makefile to use a helm variable so it has
parity with OpenStack-Helm-Infra repository.

Change-Id: I6cdd599320103349d2fd2486670859a6ef970886
Signed-off-by: Tin Lam <tin@irrational.io>
2021-01-14 20:49:27 +00:00
Huang, Sophie (sh879n)
0a1d6aeb94 [cinder] Enable volume backup for iSCSI based volumes
This patchset added the necessary hostPath, hostIpc and
hostNetwork to enable the volume backup for iSCSI based
Cinder volumes.

Change-Id: Ief3cc723650a6c42e24dfd6159c0de6f81e56fce
2021-01-08 23:38:03 +00:00
Zuul
73f6f5695b Merge "Use HostToContainer mountPropagation" 2021-01-08 18:36:15 +00:00
Zuul
b1bfc93ac0 Merge "Add null check condition in placement deployment manifest" 2021-01-07 23:00:30 +00:00
Sphicas, Phil (ps3910)
c7c19e85c0 Use HostToContainer mountPropagation
For any host mounts that include /var/lib/kubelet, use HostToContainer
mountPropagation, which avoids creating extra references to mounts in
other containers.

Affects the following resources:
* neutron-lb-agent daemonset
* neutron-ovs-agent daemonset
* neutron-sriov-agent daemonset (unused mount removed)
* nova-compute daemeonset

Change-Id: I92f1700e56517a74b1fbcc8e3a68567045a593ee
2021-01-07 20:27:08 +00:00
Neely, Travis (tn720x)
f75208290f Resolves mount issue with termination-log
[0] introduced an error with the terminiation message path.
This patchset mimics the solution used elsewhere such as from [1].

[0] https://review.opendev.org/c/openstack/openstack-helm/+/769575
[1] https://review.opendev.org/plugins/gitiles/openstack/openstack-helm/+/refs/heads/master/nova/templates/daemonset-compute.yaml#95

Change-Id: I0fac4e4ba1cd643a75d5341b3d6a920f07cc3dde
2021-01-07 10:57:25 -06:00
intlabs
97187997e4 Cinder: Enable iscsi to work correctly in cinder volume
This PS enables iscsi actions to work correctly in cinder
volume - enabling things like conversion of glance images
to cinder volumes (required for nova-boot-from-volume)

Change-Id: I63521ff9609ad89485a843bc0fbddb00e38dccc8
Signed-off-by: Pete Birley <pete@port.direct>
2021-01-06 14:15:20 -06:00
Zuul
cdabba7e21 Merge "Swap SSH key names to reflect the correct key" 2021-01-06 00:36:48 +00:00
Hemachandra Reddy
35f55106c0 Swap SSH key names to reflect the correct key
Change-Id: Ic43f7b3113942d296728b06f1fcb82bd9fbd3e44
2021-01-04 15:15:38 -06:00
Gayathri Devi Kathiri
b65988fa5c Modify Password validator related settings in Horizon
Add "enable_pwd_validator" variable to apply password
validator settings when enabled in horizon values.

Modify "PASSWORD_VALIDATOR" so as to enforce password
requirements i.e., password must be at least eight
characters in length and must include characters from
at least two of these groupings: alpha, numeric, and
special characters when "enable_pwd_validator" is enabled.

Change-Id: Ia866feb875490d0bb40e820c6c32ee2cb6aa4c29
2021-01-04 02:25:53 +00:00
Zuul
6f9f7fb11c Merge "zuul.d: Adding multinode job" 2020-12-29 15:38:29 +00:00
Gupta, Sangeet (sg774j)
86c2196679 zuul.d: Adding multinode job
This new job deploys 5 node cluster and deploy train
openstack.

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

Change-Id: I9c946d5eab46d6603c9b8ff25dc482b543d236bf
2020-12-28 16:38:32 +00:00
Chris Wedgwood
097632ebbf [nova-compute] Enable hostIPC
IPC is used by the multipath processes, hostIPC should be set so
semaphore operations work between the nova-compute pod and the host.

Without this things like `multipath -f ...` stall until timeout.

Change-Id: Iaeb6dff2ae934eabf5faddf930ba2029c0698f90
2020-12-22 17:23:08 -06:00
Zuul
dda7276191 Merge "To avoid wrong version check for mysqlclient" 2020-12-16 20:56:55 +00:00
Gage Hugo
10642098f3 Update makefile for chart packaging
This change adds a new makefile target to be utilized by the
chart publishing job, specifically one that is compatible with
helm 3. This should fix the publish job not posting
tarballs.

Depends-On: https://review.opendev.org/765634

Change-Id: I3551f691e6c3221b8afb201d8030be538424161b
2020-12-04 23:39:52 +00:00
Zuul
23c51ce928 Merge "Add openstack-helm chart publish jobs" 2020-12-03 20:11:36 +00:00
okozachenko
49559f1a6d To avoid wrong version check for mysqlclient
- Seems horizon reqests mysqlclient binary version against the pymysql
- Plus, wsgi.py needs executable permission

Change-Id: Ibd5e6246804761085c9f43955cab2bff335c4245
2020-12-03 20:34:12 +02:00
okozachenko
d5882e97ff Add null check condition in placement deployment manifest
Checking log_config_append vaule is missing in deloyment template
for Placement.

Change-Id: I0f2a0ca7d26320d599fac69ee091ca34b455c481
2020-11-25 21:12:15 +02:00
Zuul
37e71b3652 Merge "Dep's should be restricted by tox-constraints" 2020-11-23 20:51:43 +00:00
Zuul
0319e9192a Merge "Add missing flags to nginx container in neutron chart" 2020-11-23 20:50:05 +00:00
wu.shiming
aac748ebd2 Dep's should be restricted by tox-constraints
Tox trying to install latest versions for building docs which may
not be supported by stable and lower branches, so should be
restricted by respective version's tox-constraints.txt

Change-Id: I92b67aa48834c00ad175a311744c36542692f292
2020-11-17 16:21:34 +08:00
Mohammed Naser
e9d00e7c17 Add openstack-helm chart publish jobs
Depends-On: https://review.opendev.org/762442
Change-Id: If4616b27a579c121972e8e12bdb0554ac584d7ed
2020-11-11 19:23:09 -05:00
okozachenko
0b1ed76014 Remove deprecated os_region_name for placement
Change-Id: I0ef2ac278ce2d6f7f05683f68c1541bae8013361
2020-11-09 23:14:49 +00:00
KHIYANI, RAHUL (rk0850)
e1fac0ba4d Add missing flags to nginx container in neutron chart
This adds readOnly-fs flag to nginx container

Change-Id: Ie75e460fe2f45f1ae908f1fe475461267251461f
2020-11-04 00:04:09 -06:00
Andrii Ostapenko
42712e1d36
Pass ovs agent config to dhcp agent
Since metadata server is accessed via dhcp namespace, dhcp relies on
conf.OVS.datapath_type for [0] logic to disable checksum offloading
that is not supported with ovs-dpdk, making metadata server not available.

[0] https://opendev.org/openstack/neutron/src/branch/stable/train/neutron/agent/linux/interface.py#L444-L446

Change-Id: I382af9d9e83b39fd9a616351e7cd5a752a603e77
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-10-30 15:21:34 -05:00
KHIYANI, RAHUL (rk0850)
32c72a08ea Update neutron to use Nginx apparmor profile
neutron-rpc-server container was removed and nginx container
was added here in this commit https://review.opendev.org/#/c/758919/4

Change-Id: Ie7b3a23ea8d7a5d3b1788bce1c1419fe1f627b75
2020-10-23 10:18:10 -05:00
Zuul
d6c649db59 Merge "[keystone] Fix fernet secret reset" 2020-10-22 06:15:27 +00:00
Zuul
efd37ad882 Merge "fix(neutron): fixes tls issue" 2020-10-21 20:56:55 +00:00
Mohammed Naser
f5a757b106 [keystone] Fix fernet secret reset
This patch makes the fernet and credential secret something that gets
created only once when the deployment is first done, as when using Helm,
it's possible that it overrides it's values with an empty secret in the
runs afterwards.

By making it a hook, it will instead create it and leave an owner
reference in Helm 3 to delete it later if the release is deleted.  It
will not manage it afterwards as well.

Change-Id: I7c1c97f38877e0e54bea7fc09b37dd6f77c9dc8a
2020-10-21 16:12:56 -04:00
Tin Lam
6895a5ba7a fix(neutron): fixes tls issue
Updated neutron to use an Nginx sidecar to terminate internal TLS rather
than using Apache with a separate RPC servers. Multiple RPC servers (in
sidecar) causes communication issues with RabbitMQ causing expected
errors.

Change-Id: Iaa6d3d64b730a54b1b85a338517bcb5be1842bda
Signed-off-by: Tin Lam <tin@irrational.io>
2020-10-21 11:02:57 -05:00
Gage Hugo
fe53b5e559 Add blank access_rules file
When starting the keystone-api pod, the service checks for a
access_rules file for application credentials during startup.
If the file does not exist, keystone emits a warning saying the
file is not found:

WARNING keystone.access_rules_config.backends.json [-] No config
file found for access rules, application credential access rules
will be unavailable.: FileNotFoundError: [Errno 2] No such file
or directory: '/etc/keystone/access_rules.json'

This change adds in a blank access_rules.json file to the
keystone etc directory in order to surpress this message.

Change-Id: I63ac153cc91ac45b3fd223f8a54b933b5cbffac4
2020-10-15 21:13:34 +00:00
Zuul
0699a2c162 Merge "[Cinder] Updates for external ceph backend" 2020-10-08 20:30:53 +00:00
Zuul
f0bb7d294c Merge "[HEAT] Remove tls override for clients_heat" 2020-10-08 17:25:33 +00:00
Huang, Sophie (sh879n)
085a0dd1a9 [Cinder] Updates for external ceph backend
Example override yaml file is added to indicate how to
override the manifest for configure an additional externally
managed Ceph Cinder backend.

In ceph.conf, either "mon_host" or "mon host" can be used for
the same parameter. In order not to force the user to use it one
way or the other, "mon_host" is removed from default setting.

Change-Id: I179567d77196ab2fb82d7a78e3a08efb966ed68c
2020-10-08 16:44:17 +00:00
Zuul
91fdbcdf50 Merge "Use proper default placement image" 2020-10-08 04:39:16 +00:00
Zuul
725b5b8607 Merge "docs(typo): fixes misspelling and spaces" 2020-10-07 21:16:15 +00:00
Haider, Nafiz (nh532m)
68f0791f56 [HEAT] Remove tls override for clients_heat
Enable public endpoint for Heat Client for WaitCondition Functionality
by removing tls override for clients_heat section in heat.conf

Change-Id: I94e339a01e6dd4f82d4348805f02676190082a5d
2020-10-07 21:04:32 +00:00
Andrii Ostapenko
b50ea497b5 Use proper default placement image
Change-Id: Ia7404d29fd7353b75550e25859f3aa1897989671
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-10-05 19:23:36 +00:00
Zuul
cb7d30fadf Merge "[cinder] Support service tokens" 2020-10-05 17:46:21 +00:00
Hemachandra Reddy
766ce51ba9 Establish Nova/Placement dependencies
When a placement service endpoint is changed, nova-compute does not
refresh its cache and continue send requests to the old one:
https://bugs.launchpad.net/charm-nova-compute/+bug/1826382

Also, in Train release, nova services expect placement user be present
in keystone in advance. Without the dependency, the pod starts crash looping.

Change-Id: I6b1a70ec859805794bac2689b04f7eca47ad61b3
2020-09-30 16:41:54 +00:00
Tin Lam
653d082d2c docs(typo): fixes misspelling and spaces
This patch set fixes a small misspelling and spaces in docs.

Change-Id: I8d86c86ffa1766d533a79c9e98809f217d0c4eed
Signed-off-by: Tin Lam <tin@irrational.io>
2020-09-27 10:13:57 +00:00
okozachenko
74b119db35 Add nova-compute-ssh
Change-Id: Ia555bb69182441d5f17040504efc7d1d524e59ec
2020-09-25 17:39:05 +03:00
Michael Polenchuk
73b9629ea2 [cinder] Support service tokens
Bring in option to be able to create and send service
tokens to prevent long-running job failures (default is OFF).

Change-Id: I5e5707001687e464386696b9c8d80ad8b2977e97
2020-09-25 15:05:35 +04:00