Commit Graph

584 Commits

Author SHA1 Message Date
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
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
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
bd4f67f3b1 Merge "Merge component, developer and multinode ingress deployment scripts" 2019-11-12 17:33:39 +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
399d355d46 Merge "Octavia: add octavia chart and deployment scripts" 2019-10-14 13:53:34 +00:00
Zuul
5116e615a4 Merge "Add keystone ingress netpol" 2019-10-14 13:49:28 +00:00
Huang, Sophie (sh879n)
313fe0ca3e Add keystone ingress netpol
Change-Id: I75874b475039c1f7469f11e02e2231254cc9d8ca
Signed-off-by: Huang, Sophie (sh879n) <sh879n@att.com>
2019-10-08 10:41:38 -05:00
Jiří Suchomel
d893eadfbc Merge component, developer and multinode ingress deployment scripts
For simplification of deployment and maintenance, reduce the number
of scripts that do usually the same.
The important part is that when user wants to do multinode deployment,
OSH_DEPLOY_MULTINODE variable must be set before executing the script.

For now multinone script still stays, only to invoke the common one,
but in future it would be better to remove multinode scripts completely
and let user call the common script with the right argument.

Change-Id: I4dca159827581cbe8d6ded3be85e732acbf60ed1
2019-10-07 16:11:31 +02:00
hagun.kim
aac8345c4c Octavia: add octavia chart and deployment scripts
This PS adds octavia chart and its deployment scripts.

Blueprint name : openstack-helm-octavia

- Deployments : api, worker, housekeeping
- Daemonset : health-manager
- health-manager daemonset creates o-hm device on each controller node.
- This is for multi node deployment.
- 180-create-resource-for-octavia.sh : Create openstack resources
    (network, sec groups, flavor, keypair, image for development)
- 190-create-octavia-certs.sh : Create certificates to use Octavia
    (the certs is passed into pod using secret and volume for development)
- 200-octavia.sh : Deploy Octavia chart

Note: This chart doesn't include amphora image itself and its build.

Change-Id: I0bb7dfc7c15d77287c05a8542347e19fc269aba4
Signed-off-by: hagun.kim <hagun.kim@samsung.com>
2019-10-07 17:46:47 +09:00
Manuel Buil
21ad4a9fdb Remove "--show-all" from scripts
The --show-all flag is deprecated since k8s 1.10 and removed since 1.14

https://github.com/kubernetes/kubernetes/pull/69255

This patch removes it

Change-Id: I666343f3c82c1ddb0b64342af0369b80b87a8419
Signed-off-by: Manuel Buil <mbuil@suse.com>
2019-10-02 20:38:51 +02:00
Zuul
d2abe39d49 Merge "Remove kolla novncproxy image dependency" 2019-09-29 23:06:57 +00:00
Zuul
24f9b2322a Merge "Add network policy nonvoting checks" 2019-09-27 14:06:26 +00:00
Zuul
7337936687 Merge "Use configurable constraints to install clients" 2019-09-27 10:42:22 +00:00
Gage Hugo
c3e085b800 Add network policy nonvoting checks
This change adds two network policy zuul checks, one for the compute-kit,
and one for cinder/ceph, to test network policy for each OpenStack
service. These checks will be non-voting initially.

The network policy rules for each service will initially allow all
traffic. These ingress/egress rules will be defined in future changes
to only explicitly allow traffic between services that are explicitly
allowed to communicate, other traffic will be denied.

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

Change-Id: Ide2998ebb2af2832f24ca7abc398a82e4a6d70e3
2019-09-26 11:57:15 -05:00
Zuul
3d913447c8 Merge "Simplify code for value overrides for ceph" 2019-09-25 08:22:48 +00:00
Tin Lam
249d98fc19 Remove kolla novncproxy image dependency
Current nova loci image build should account for the nova-novncproxy
image. We can and should reduce the number of images and just use
the loci image instead for the loci build. This applies only to the
Ocata release as newer releases already took this approach.

Change-Id: I01f85a957c3bfdd9f54515de4b02305bde5ead8c
Signed-off-by: Tin Lam <tin@irrational.io>
2019-09-24 03:32:52 +00:00
Q.hongtao
ef9936232d Update invalid link
Change-Id: Ia92eff3af741f891f7ebd7cd94ce8953869cc795
2019-09-18 20:20:04 +08:00
Andrii Ostapenko
11f02edc43 Simplify code for value overrides for ceph
Change-Id: I50cbd0b11b55711dc484c0a4c382301a4680edb3
2019-09-17 12:14:55 -05:00
Andrii Ostapenko
09e1f524d4 Use configurable constraints to install clients
Change-Id: Ieb397a688907cc20b8fffafec01416ff9fb68515
2019-09-16 16:39:54 -05:00
Zuul
8d293c8c4e Merge "Remove extra note in AIO script" 2019-09-13 18:46:05 +00:00
Zuul
8b1d5016e8 Merge "Remove network policy override from memcache script" 2019-09-13 18:44:17 +00:00
Zuul
a4f84ad8fb Merge "Extending Neutron chart with support for OVS DPDK" 2019-09-10 17:16:25 +00:00
Gage Hugo
de5c413b6d Remove extra note in AIO script
This change removes an extra NOTE that was included as part
of a previous change.

Change-Id: Ifde5343d5489556c9b2fc5ca6e3d9fe18ea68331
2019-09-05 14:20:39 -05:00
Georg Kunz
1f8933da46 Extending Neutron chart with support for OVS DPDK
Extending the Neutron with configuration parameters and scripts for
deploying OVS with DPDK support enabled. The new functionality takes
care of binding NICs to DPDK and adding those to OVS bridges of type
'netdev'.

Co-Authored-By: Rihab Banday <rihab.banday@ericsson.com>

Change-Id: I9932123986a0b723d7523136940d325bcfde983d
2019-09-04 16:19:07 +02:00
Gage Hugo
fc5be700a3 Remove network policy override from memcache script
This change removes the network policy overrides that are set in
the common memcache setup script. These override will be implemented
in a future change as part of the rest of the network policy work.

Change-Id: I8954b6d88a650a576208e33b6e6e6ef00bdbef66
2019-09-03 15:12:10 -05:00
Andrii Ostapenko
10ef2bf27a Add components overrides retrieval to developer scripts
Change-Id: Id48c4a920f9463cd0b0283a13b0389e0927851a2
2019-08-30 14:54:56 +00:00
Zuul
c5c791cd69 Merge "Add rabbitmq statefulset name to Armada chart overrides" 2019-08-29 01:10:33 +00:00
Zuul
5840bde430 Merge "Allow to configure dnsmasq image in developer installation" 2019-08-27 18:31:12 +00:00
Zuul
864d7ab8c7 Merge "Override OSH_EXTRA_HELM_ARGS_CEPH for each chart" 2019-08-27 17:37:08 +00:00
Zuul
c04b033ff9 Merge "Add bc to developer installation" 2019-08-27 17:37:06 +00:00
Steve Wilkerson
2f89afa384 Add rabbitmq statefulset name to Armada chart overrides
This adds the rabbitmq statefulset name override to the values
for each openstack service chart in the Armada manifest, as this
is required to support communicating with the rabbitmq backends
directly

Change-Id: I4a2fabf491c6607bec80f37a8d1236c55ec8430a
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-08-27 10:04:39 -05:00
Zuul
bca8e352b7 Merge "Disable cephfs provisioner in multinode jobs" 2019-08-22 04:21:30 +00:00
Zuul
1d5b298d14 Merge "Allow the user to modify the external network ips" 2019-08-19 15:13:04 +00:00
Andrii Ostapenko
57ae9f859e Add bc to developer installation
Required by tools/deployment/common/get-values-overrides.sh

Change-Id: Ie5a3c918c05cdcc07c1bf037018e6047ff30f6f4
2019-08-15 15:55:35 -05:00
Steve Wilkerson
955edfdb28 Disable cephfs provisioner in multinode jobs
This disables the cephfs provisioner in the multinode
periodic jobs. It seems the helm tests for the ceph
provisioner chart that test cephfs fail more often than
not in the multinode jobs while passing reliably in the
single node check and gate jobs. As cephfs is still
gated, disabling the cephfs provisioner in the periodic
jobs allows for further investigation into this issue
without causing potential regressions

Change-Id: Id4cf7d6571855413be4b67a440423445af3270e3
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-08-14 10:13:48 -05:00
Andrii Ostapenko
6bfa7d01d9 Allow to configure dnsmasq image in developer installation
Change-Id: Ie39a5f306674a68c8663f9c9e598229bb9fbad50
2019-08-13 20:49:30 -05:00
Andrii Ostapenko
7904edf818 Override OSH_EXTRA_HELM_ARGS_CEPH for each chart
Currently OSH_EXTRA_HELM_ARGS_CEPH is calculated for ceph-mon only and
the same value is used for other charts from loop.

Change-Id: Ia014310ab675e4f58c224aae1139dfb3a065766b
2019-08-14 01:03:07 +00:00
Andrii Ostapenko
a66ecbf7ad Fix env var name for memcached
Change-Id: I5c5d401b2773e81d11126b695d94a198bda6e879
2019-08-11 17:57:57 -05:00
Manuel Buil
4ecf5af8df Allow the user to modify the external network ips
In the 900-use-it.sh script, the user can define the gateway
(OSH_BR_EX_ADDR) and the subnet of the external network
(OSH_EXT_SUBNET). However, in the script that configures the gateway
correctly in br-ex, these values are hardcoded.

This patch allows the user to modify them by a env. variable, same as
the 900-use-it.sh script does

Change-Id: I25124024ebb72ff5fea8903fb393b71a052d0f93
Signed-off-by: Manuel Buil <mbuil@suse.com>
2019-08-05 20:11:39 +02:00
Zuul
777e5994e8 Merge "Cinder support multiple Ceph volume backends" 2019-07-29 15:16:14 +00:00
sg774j
5925b7c3cb Gate: Deploy default number of rabbit replicas
This ps updates the component check scripts to deploy
the default number of rabbit replicas in the gate

Change-Id: I996af138373476ae4a65dc2bef7e360155390a5d
2019-07-24 19:21:20 +00:00
Daniel Badea
11d7e1d49a Cinder support multiple Ceph volume backends
Wrap code making the assumption there is only one Ceph backend
(using is_ceph_volume_configured) in a "range" and use
ceph_backend_list helper to iterate all available Ceph backends.

Move Ceph pool application name in values.yaml from
conf.software.rbd.rbd_pool_app_name* to conf.ceph.pools.*.app_name

Change-Id: If1126e51fe9ebb85185e375dc282e83db63d934c
Depends-On: Iaa67061b05a9d355228ad7d3f5ee0f4f04dbdc66
Signed-off-by: Daniel Badea <daniel.badea@windriver.com>
2019-07-23 16:57:08 +03:00
Manuel Buil
d911d44ec9 Fix typo
The name of the variable ends with LIBVIRT although it should end with
OPENVSWITCH, as used in line 29

Change-Id: I0ec490de44969aea2cccf51d753f1ffcfa9e2511
Signed-off-by: Manuel Buil <mbuil@suse.com>
2019-07-18 11:56:16 +00:00
Zuul
b81eda1410 Merge "Fix an error while getting Pod's nodeName when setting up VMs with vbmc" 2019-07-14 04:46:41 +00:00
Zuul
1aec9940cb Merge "[neutron] Bring in bgpvpn/bagpipe support" 2019-07-12 13:20:17 +00:00
jlego229-kim
62b12e3af5 Fix an error while getting Pod's nodeName when setting up VMs with vbmc
Currently, in the script which sets up VMs with vmbc instead of BM for ironic
practice,

There is an IF command checking if OVS_VSWITCHD pod is located in master
node or not.

To get the info about Pod's nodeName, command below has been used.

$ kubectl --namespace openstack get pod "${OVS_VSWITCHD_POD}" -o wide --no-headers | awk '{ print $NF }'

But this command sometimes cannot parse Pod's nodeName correctly becuase
new headers such as "NOMINATED NODE" and "READINESS GATE" are printed in the end "-o wide" option.
(in some version of k8s)

To avoid this problem and give more readability,
I suggest changing commands to use "-o json" option.

Change-Id: Ib81ae505ac8d04dae9af6326880e1fa17664ac0b
2019-07-12 14:13:15 +09:00
Zuul
4e8f25b115 Merge "Make Helm test timeouts configurable in multinode" 2019-07-10 14:09:31 +00:00