3104 Commits

Author SHA1 Message Date
Mingyuan Qi
1fd5ec6595 Check return value of get subnets before iterate for ironic
With the update of openstack clients:
openstack client >= 4.0.0
neutron client >= 6.14.0
neturon lib >= 1.29.1

The command 'openstack network show ${network} -f value -c subnets'
returns '[]' instead of null string if no subnets found in the
specific network. This commit adds a check logic to avoid subsequent
command returns error by using '[]' as subnet input.

Change-Id: I7e7d5209227b0e34131b7715dbd3faa6066a94b7
Signed-off-by: Mingyuan Qi <mingyuan.qi@intel.com>
2019-12-31 19:02:45 +00:00
Steve Wilkerson
f6fe35d452 Disable kubeadm-aio jobs while issues addressed
This disables the keystone-auth single node job and all multinode
periodic and experimental jobs while standing issues with the
kubeadm-aio image deployment are sorted out

Change-Id: I4e1de001ddf17b3c035ca174b7ef8acec8f2bf2c
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-12-18 09:55:50 -06:00
Zuul
942fa475cf Merge "Support the Nautilus release for Ceph" 2019-12-17 18:17:59 +00:00
Zuul
bea2073200 Merge "Add capability to wait on compute nodes" 2019-12-17 17:32:42 +00:00
Chinasubbareddy Mallavarapu
d03a8a1a22 Support the Nautilus release for Ceph
- Change all tests to support Nautilus,Mimic and Luminous releases
- Update ceph-config-helper image

Change-Id: I557b1efa12529d0ee51d4c5b9d4beb4abf1b0574
2019-12-17 16:23:15 +00:00
Tin Lam
5057052c70 Fix feature gate envvar overriding
Currently using envsubst to perform substitution of value overrides in
the feature gate caused conflicts as gotpl gets templated into those
overrides. This adds in '%%%REPLACE_${var}%%%' and uses sed to perform
the substitution instead to address the issue.

This is to achieve parity with OSH-infra patch in [0].

[0] https://review.opendev.org/#/c/697749/

Depends-On: https://review.opendev.org/#/c/697749

Change-Id: I3ed504c65900e7b84728019f3acdf706a40c0427
Signed-off-by: Tin Lam <tlam@omegaprime.dev>
2019-12-17 09:49:38 +00:00
Cliff Parsons
58291db1a6 Add capability to wait on compute nodes
This patchset adds the capability to the Nova chart to be able to wait
for a percentage of the compute nodes/hypervisors to become ready/available
before continuing on with the deployment. It will be disabled by default,
because this is a feature that may or may not be needed in production
deployments.

Change-Id: I971151a663afc87e7d62efa4ab3723c5472a3736
2019-12-17 02:48:49 +00:00
Roy Tang
97ac0575ba Update neutron ovs agent for ovs-dpdk
This ps update neutron ovs agent to support properly:
- setting mtu on dpdk bond and nic interface port
- setting vhost-iommu-support on dpdk bond and nic interface port
- setting n_txq values on dpdk bond and nic interface port

Change-Id: I422fa21a622642ecb7c49914fef04073e4f984bc
2019-12-13 10:37:10 -06:00
Zuul
52c132b935 Merge "Octavia: fix developer cert generation script" 2019-12-03 03:15:50 +00:00
Zuul
f09e805abf Merge "Implement Security Context for Nova" 2019-12-02 23:40:13 +00:00
Pete Birley
d7dda5d5e9 Octavia: fix developer cert generation script
This PS fixes the developer script for generating certs for use with
octavia.

Change-Id: I2dae5bc32dbbaa9055884a568cebeb27fe13ac74
Signed-off-by: Pete Birley <pete@port.direct>
2019-12-02 22:31:41 +00:00
Zuul
5e422fa641 Merge "Add Stein barbican overrides" 2019-12-02 17:09:58 +00:00
Gage Hugo
f2bc128a0b Remove netpol and fix missing ldap config override
This change removes the netpol values from the keystone/ldap script,
those are now part of the appropriate chart and can be deployed as such.

This also fixes the path to the ldap domain config override that was
pointing to a file that no longer exists.

Change-Id: Id01af23c5308edabf635ccd321721ff104fd58e3
2019-11-29 04:20:34 +00:00
Prateek Dodda
4fdbf3c07a Implement Security Context for Nova
Implement container security context for the following Nova resources:
 - Nova server deployment

Change-Id: Ide4f413d4b27bfbffd4e941ff4f87aefe5a319a8
2019-11-27 15:30:32 -06:00
Zuul
2e0588929b Merge "Adding missing readOnlyRootFilesystem flag for container security context" 2019-11-27 02:00:36 +00:00
Zuul
ffc398c037 Merge "Implement Security Context for Neutron" 2019-11-26 23:54:14 +00:00
Pete Birley
b4248a51b6 Nova: Update compute start script to accomodate multiple default routes
This PS udpates the nova compute start script to account for cases where
there may be multiple default routes to the outside world.

Change-Id: Ibd051c2577a0ab67aa2a5284fc9ccab799c28953
Signed-off-by: Pete Birley <pete@port.direct>
2019-11-26 15:09:16 -06:00
Prateek Dodda
c2bd947787 Adding missing readOnlyRootFilesystem flag for container security context
Change-Id: Id11292ec0a76dbf659e918833859b9109c07cc18
2019-11-26 20:33:02 +00:00
Prateek Dodda
bea5c63d4d Implement Security Context for Neutron
Implement container security context for the following Nova resources:
 - Neutron metadata_agent
 - Neutron ovs_agent

Change-Id: If8246450f8ebd62a0c5999f832ec59796355ee78
2019-11-26 20:32:28 +00:00
OpenStack Proposal Bot
efe3d3cf19 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: I88ca917c9a73a5218f8c549275eacca170ac2c59
2019-11-22 07:45:39 +00:00
Tin Lam
a25eccb7cb Implements egress network policy
This patch set adds in the egress policy for core OpenStack Services.

Depends-On: https://review.opendev.org/#/c/679853/

Change-Id: I585ddabcbd640db784520c913af8eddecaee3843
Signed-off-by: Tin Lam <tlam@omegaprime.dev>
2019-11-22 01:16:49 +00:00
Zuul
f396b038f7 Merge "Clean up stale values overrides" 2019-11-21 13:42:33 +00:00
Andrii Ostapenko
3820b63725 Add Stein barbican overrides
Add ubuntu bionic barbican images for Stein.
Also policy rules changes due to https://review.opendev.org/#/c/609606

Change-Id: I36957c859bf065541ac4ce07e03c01fc020ff4af
2019-11-20 21:13:07 -06:00
Tin Lam
f9575748e2 Remove netpol from default scripts
As network policy jobs in zuul are moved to be run by the feature gate,
usage of them in old scripts should be taken out to avoid confusion and
potential problem where netpol cause unexpected connection failure. This
patch set removes the remanant of these netpol's.

Change-Id: I1ce86d27ca4f708b17d848d742ba840156d4ef6c
Signed-off-by: Tin Lam <tin@irrational.io>
2019-11-14 14:33:33 +00:00
Tin Lam
565418e572 Clean up stale values overrides
As all feature specific value overrides are moved into the component's
values_overrides folder to be used by zuul's feature gate, the old
overrides should be removed to reduce confusion as they are unused.

Change-Id: Ieaf35a8147061da356fdfa46c73673457af1f3d1
Signed-off-by: Tin Lam <tin@irrational.io>
2019-11-13 00:03:29 +00:00
Zuul
ab0058c1a3 Merge "Add Barbican ingress Network Policy" 2019-11-12 18:37:17 +00:00
Zuul
bd4f67f3b1 Merge "Merge component, developer and multinode ingress deployment scripts" 2019-11-12 17:33:39 +00:00
Evgeny L
cb1feb46e2 Add Barbican ingress Network Policy
Move Barbican Network Policies into a dedicated
override. Configure magnum to have the access to
Barbican.

Change-Id: Iad0f69666a28fabedd49b266c8a9de1ec3410dd6
2019-11-12 16:49:42 +00:00
Zuul
259f9b3998 Merge "Update apiversion" 2019-11-11 07:37:32 +00:00
Zuul
b15482f64b Merge "Add missing pod labels for CronJobs" 2019-11-05 04:16:25 +00:00
Tin Lam
853f321f7b Update apiversion
For k8s 1.16+, the extensions/v1beta1 has been replaced by
apps/v1 for DaemonSet. This patch set updates documents in
the OpenStack-Helm repository.

Change-Id: I8512b9f3202b2bf56b77408aca8d239daab32add
Signed-off-by: Tin Lam <tin@irrational.io>
2019-11-01 15:10:49 +00:00
Zuul
3784a3fe2f Merge "Fix readiness probe of neutron-ovs-agent for OVS<2.10.0" 2019-10-29 16:06:46 +00:00
Evgeny L
91f87c21dc Add missing pod labels for CronJobs
Pods for some of the CronJobs do not have correct
application and component labels applied, they are
unable to start if Network Policies are enabled.

Change-Id: Ie4eed0e9829419b4b2e40e9b712b73a86d6fc3d2
2019-10-28 19:57:08 +00:00
Sphicas, Phil (ps3910)
e83f50633d neutron-ovs-agent-init: remove neutron-sanity-check
This change removes neutron-sanity-check from neutron-ovs-agent-init.
Proper dependencies now exist, as outlined in the original issue [0],
and the check is no longer required.

[0] https://github.com/att-comdev/openstack-helm/issues/88#issuecomment-270829530]

Depends-On: https://review.opendev.org/691035/
Change-Id: I6f8849ea519da76ac5289e86dbc7beb57cc9baba
Related-Bug: #1842517
2019-10-24 14:49:09 -07:00
OpenStack Proposal Bot
3fa1771779 Imported Translations from Zanata
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html

Change-Id: Iac98fdac67987eb1a21df31160476d1561def738
2019-10-23 09:47:12 +00:00
Steven Fitzpatrick
5c6811503f Update Horizon Helm test to use python3
This change updates the tests container image
to one which installs python3.

The selenium-test.py template file has been refactored
to match the structure of the selenium tests in
openstack-helm-infra/tools/gate/selenium

Change-Id: I568bea8d715ea28b8e750215d166ba1b04e4172d
2019-10-21 12:53:09 -05:00
Georg Kunz
dddbf37c0e Fix readiness probe of neutron-ovs-agent for OVS<2.10.0
A recently introduced readiness probe for neutron-ovs-agent makes use of
an OVSDB table entry 'dpdk_initialized' which does not exist in OVS
versions preceeding v2.10.0. This patch changes the readiness probe to
exit successfully if this table entry does not exit. Thereby it does not
give any guarantees for older versions of OVS, but at least allows the
readiness probe to pass.

Change-Id: Ic77c6bdd60730c1a7c5e55fdb4afc6db938f0ddb
2019-10-21 16:16:21 +02:00
Steve Wilkerson
9736f5f544 Update kubernetes-entrypoint image reference
This updates the kubernetes-entrypoint image reference to consume
the publicly available kubernetes-entrypoint image that is built
and maintained under the airshipit namespace, as the stackanetes
image is no longer actively maintainedy

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

Change-Id: I8e76cdcc9d4db8975b330e97169754a2a407341f
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-10-21 13:58:22 +00:00
Deepak Tiwari
adee9c4fe4 Include additional filters_path in rootwrap.conf
Neutron plugins (for ex. TaaS) using their own rootwrap filters install
those filter files in /var/lib/openstack/etc/neutron/rootwrap.d directory.
Therefore this path should be added to neutron values.conf file to let
these plugins function correctly.

Change-Id: Ia76153b50e2e22cb606b8c0f811119b3f71217d2
2019-10-19 16:00:56 +00:00
NarlaSandeepNarlaSaibaba
243f74f10d Horizon – API Handling – HTTP Security Headers Not Present
Added new X-Content-Type-Options: nosniff header to make sure the browser
does not try to detect a different Content-Type than what is actually
sent (can lead to XSS)

Added new Header and set X-Permitted-Cross-Domain-Policies: "none"

Change-Id: I6f89ffb44ad805039c4074889a7c15fbef6fc95e
2019-10-18 15:31:14 +00:00
Steve Wilkerson
6e4ab4aa0c Update ceph-config-helper image
This updates the ceph-config-helper image for the ubuntu distro
based jobs to use an image that includes kubernetes 1.16.2

Change-Id: If063db5e6f0abfab10cd0195b3633c41d8ed560f
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-10-18 08:36:26 -05:00
Chris Wedgwood
be3a4f65de [horizon] enable the Apache "Header" module by default
Some configuration when enable will explicitly set headers, for this
to work the header module should be enabled.

Change-Id: If549d4c6924c990d1a48bca193935ed9a2ed6864
2019-10-16 21:45:35 +00:00
Zuul
6e7b7bcdac Merge "Add horizon ingress override" 2019-10-16 21:19:26 +00:00
Zuul
083ae1d515 Merge "Remove need to configure VF during DPDK deployment" 2019-10-16 12:48:04 +00:00
Tin Lam
feb97a2dc3 Add horizon ingress override
This patch set adds in default horizon ingress overrides.

Change-Id: I5a7e8197b84bc5f1ad94d5d6a1d0662257404994
Signed-off-by: Tin Lam <tin@irrational.io>
2019-10-16 02:46:28 +00:00
Zuul
b226026504 Merge "Adding deployment guide for Openstack Helm with OVS-DPDK" 2019-10-15 16:34:48 +00:00
erihban
289feb7f7f Adding deployment guide for Openstack Helm with OVS-DPDK
This patch adds a deployment guide for installing Openstack Helm
with OVS-DPDK

Co-Authored-By: Georg Kunz <georg.kunz@ericsson.com>

Change-Id: Ic8078537a7317c4132e4b11494e0d827365109d9
2019-10-15 09:53:13 +02:00
Zuul
db2637fb20 Merge "Ensure python scripts are py3 compatible" 2019-10-14 16:45:04 +00:00
Zuul
399d355d46 Merge "Octavia: add octavia chart and deployment scripts" 2019-10-14 13:53:34 +00:00
Zuul
2d8acb9396 Merge "Apply network policy to all services" 2019-10-14 13:53:25 +00:00