Commit Graph

573 Commits

Author SHA1 Message Date
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
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
Michael Polenchuk
0e01e058a1 [neutron] Bring in bgpvpn/bagpipe support
BGP-MPLS VPN extension allows attachment of Neutron networks and/or
routers to VPNs built in carrier provided WANs using these standard
protocols.

Change-Id: Ib0ec8cb22e9c113d4be1c992d895b565db5e30b0
2019-07-10 16:23:01 +04: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
Zuul
38e3237da4 Merge "[neutron] Bring in L2 gateway support" 2019-07-03 16:47:37 +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
Michael Polenchuk
8c93743041 [neutron] Bring in L2 gateway support
L2 Gateway (L2GW) is an API framework that offers bridging 2+
networks together to make them look as a single broadcast domain.
A typical use case is bridging the virtual with the physical networks.

Change-Id: I95ff59ce024747f7af40c6bef0661bb3743b0af1
2019-07-01 15:25:45 +04: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