Commit Graph

298 Commits

Author SHA1 Message Date
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
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
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
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
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
Abel Navarro
fb1c491d50 Make Helm test timeouts configurable in multinode
On some deployments the tests run on Neutron for multinode deployments
exceed the current 15 minutes timeout. The timeout is now configurable
through the OSH_TEST_TIMEOUT variable which can be passed from the yaml
file. The default timeout remains 15 minutes.

Change-Id: Ic5a1e9fd812e51ed51aef4de162b1c08d1c9a593
Signed-off-by: Abel Navarro <abel.navarro@gmail.com>
2019-07-10 11:37:53 +02:00
Zuul
ac3952a720 Merge "Add docker-default (enforce) AppArmor profile to barbican" 2019-07-10 09:34:18 +00:00
Renis Makadia
092d7103ab Ceph-RGW - Update chart install scripts
- As part of PS 634782, Ceph-rgw chart was updated. We need to update
Ceph chart install script as per new changes.

Change-Id: Ieede912272903ed251693879f17a821cb2a4e7bb
2019-07-04 14:15:10 +00:00
Chinasubbareddy Mallavarapu
f11a51fc61 [ceph] Cleanup install scripts for duplicate variables
This is just to  remove duplicate variables from scripts.

Change-Id: I26ea5b859ab3d494bd6432039d67683ee5632759
2019-07-03 13:43:30 +00:00
Pete Birley
74e4474ec6 OpenStack: Check Stein release on Ubuntu Bionic
This PS adds checks for the Stein Release of OpenStack in Ubuntu Bionic
containers.

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

Change-Id: Icfad3434ca496a841993b95adaf5d853728d920f
Signed-off-by: Pete Birley <pete@port.direct>
2019-07-03 00:26:30 +00:00
Jagan Kavva
47677e5c4b Add docker-default (enforce) AppArmor profile to barbican
Change-Id: I2011773df00269b59c295afc6de7d24d9704c3ba
2019-06-26 12:04:04 -05:00
Zuul
4a3bfaa7b0 Merge "Clean up the code for fetching image id" 2019-06-26 13:50:35 +00:00
Zuul
2d6b643396 Merge "Add wait.resources.type to armada manifest" 2019-06-26 09:54:02 +00:00
Pete Birley
cede6c0d48 Gate: Simpler multiple distro/over-ride support
This PS indroduces a simpler way to incorp over-rides into gate
runs, and also ensures that they are scoped to a single chart, rather
than all of the charts deployed within a gate run.

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

Change-Id: I49edf52cc1fc5ec60ee9754c28880c9c0c54492e
Signed-off-by: Pete Birley <pete@port.direct>
2019-06-25 13:16:37 +00:00
Pete Birley
9bcf0df94c Messaging: use htk function to directly hit RabbitMQ servers
This PS updates the charts to use the htk function recently introduced
to allow oslo.messaging clients ans servers to directly hit their
backends rather than using either DNS or K8S svc based routing.

Depends-On: I5150a64bd29fa062e30496c1f2127de138322863

Change-Id: I458b4313c57fc50c8181cedeca9919670487926a
Signed-off-by: Pete Birley <pete@port.direct>
2019-06-18 21:47:45 +00:00
Pete Birley
c9f425f269 Gate/Dev: enable compute kit to be deployed from outwidth the cluster
This PS updates the deplyment script for the compute-kit to allow use
from outside the k8s cluster.

Change-Id: Ie758b3c3c6b36c1882030c9a1be1b2ba6cc13ed4
Signed-off-by: Pete Birley <pete@port.direct>
2019-06-17 17:07:32 +00:00
Gage Hugo
1a9929c5c3 Add wait.resources.type to armada manifest
This change adds various wait.resources.type to the armada
manifest for each openstack service.

Change-Id: I6015344c9fcf175bab076fc5c81dfe7778d421ee
2019-06-10 17:30:23 +00:00
Jiří Suchomel
1e8ceb15b7 Clean up the code for fetching image id
Change-Id: I63eb86b3fb39749a839040a25689ecf979537b64
2019-06-10 10:04:17 +02:00