Commit Graph

63 Commits

Author SHA1 Message Date
jinyuanliu
7b3f420ede Fix helm test method
This patch makes the helm test command more standard by calling script of common.

Change-Id: I90397f437595016a5f7fb0ff9388319101027b5c
2021-11-02 02:47:46 -04:00
Gage Hugo
f2108855f5 Remove helm status from deployment scripts
With the move to helm v3, helm status requires a namespace to be
specified, but doing so breaks helm v2 compatability. In order
to preserve our gating with both versions of helm while we make
the change from v2 to v3, this change removes the usage of helm
serve in openstack-helm's deployment scripts.

Once we fully move to helm v3, these scripts can be improved and
cleaned up to be more compatible with the new v3 syntax.

Change-Id: I02b6bbf780abf8c8bc7c1783c35d9411d25e18a8
2021-10-10 23:34:17 +00:00
Huy Tran
556dd6256e Update file mode for 910-clean-it.sh script
Change the mode to 775 to align with other scripts.

Change-Id: I4d91eed61eb63c7fbb8ecc2525596fe97465cbff
2021-04-12 11:18:40 -05:00
Gage Hugo
01a1ab2ecc Update default overrides for openstack and ubuntu
By default when deploying the openstack AIO, it will deploy
openstack ocata release on ubuntu xenial, which by now is quite
old and largely unsupported. This change updates these default
overrides to train and bionic respectively in order to bring
the default settings to more recent/supported releases.

Change-Id: I9b6e1120101767356413b1341828dc8d39bc9b3c
2021-02-03 19:45:59 +00:00
Michael Fix
1fcd52a484 Adding clean-up guide for 900-use-it script
This change modifies the exerise-the-cloud.rst file to include user
steps for cleaning up the client environment to allow for subsequent
runs of the 900-use-it.sh script.

Change-Id: I6bd3c95d837f9b3273868d51c1f5121d96e53e73
2020-07-20 23:41:00 +00:00
Ahmad Mahmoudi
0a91e260bc (fix) Changed pip to pip3
Changed pip to pip3 to address zuul gate issues.

Change-Id: I811fdefa258550b569977000e9b974d17e7be333
2020-06-18 05:20:14 +00:00
KHIYANI, RAHUL (rk0850)
d6a3a62c54 adding python3-pip package to installation script
python3-pip package is required to support openstack-client

Change-Id: Iccfc52d8ec0577f656c5d06fef43240b33c49c4d
2020-06-12 16:07:30 +00:00
Gayathri Devi Kathiri
16ea83e11c Remove remaining test pods before new test run
If the test pod still exists, then the new test run
fails with ERROR: pods "abc-test" already exists

So, Removing remaining test pods before new test run

Change-Id: I447d2b56b1419086b99df47b6605d0a95e1a9239
Closes-Bug: #1882030
2020-06-04 08:52:51 +00:00
Gage Hugo
db79e79788 Remove OSH Authors copyright
The current copyright refers to a non-existent group
"openstack helm authors" with often out-of-date references that
are confusing when adding a new file to the repo.

This change removes all references to this copyright by the
non-existent group and any blank lines underneath.

Change-Id: Ia035037e000f1bf95202fc07b8cd1ad0fc019094
2020-04-03 20:53:32 +00:00
Phil Sphicas
1355197820 barbican: add a deployment script
Adds a barbican deployment script that picks up the desired overrides.

Change-Id: I020632ad6a33d29a657164cf0e32baef6b670d5a
2020-01-16 17:59:09 -06:00
Pete Birley
c31f561641 Gate: Support AIO deployments when multiple default routes present
This PS updates the gateway setup script to support deployments where
multiple default routes may be present, eg when connecting to a vpn.

Change-Id: I5fe86e9471ecb6a9c80e1e4f942822cac00da669
Signed-off-by: Pete Birley <pete@port.direct>
2020-01-08 20:36:55 +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
bd4f67f3b1 Merge "Merge component, developer and multinode ingress deployment scripts" 2019-11-12 17:33:39 +00:00
Zuul
399d355d46 Merge "Octavia: add octavia chart and deployment scripts" 2019-10-14 13:53:34 +00: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
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
10ef2bf27a Add components overrides retrieval to developer scripts
Change-Id: Id48c4a920f9463cd0b0283a13b0389e0927851a2
2019-08-30 14:54:56 +00:00
Zuul
5840bde430 Merge "Allow to configure dnsmasq image in developer installation" 2019-08-27 18:31:12 +00:00
Zuul
c04b033ff9 Merge "Add bc to developer installation" 2019-08-27 17:37:06 +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
Andrii Ostapenko
6bfa7d01d9 Allow to configure dnsmasq image in developer installation
Change-Id: Ie39a5f306674a68c8663f9c9e598229bb9fbad50
2019-08-13 20:49:30 -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
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
Steve Wilkerson
0e1c296101 Horizon helm tests
This adds a helm test for Horizon, the helm test
runs a selenium webdriver check to verify the dashboard
is up

Change-Id: I3616c05596b2bd94931c39fb774333bf65453d52
Signed-off-by: Steve Wilkerson <sw5822@att.com>
2019-06-05 12:41:21 -05:00
Gage Hugo
4f35570a46 Remove network-policy overrides default scripts
This change removes the network policy overrides from the default
developer deployment scripts now that there is a set of
designated scripts that provide this functionality.

Change-Id: I788845e85314b3a8a9c860fbc77de536113781e0
2019-06-04 14:52:16 +00:00
Sreejith Punnapuzha
ed392356f9 [Fix] Add Prometheus mysql exporter label to network policy
Prometheus mysql exporter is failing because of missing label in
network policy for mysql. This is to add the label to the override
yaml

Change-Id: Ic5e2613303f04d2bfab1229d3818a2fc9b4263bc
Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
2019-05-28 14:20:01 +00:00
Koffi Nogbe
e6b970eeb0 Add network policy ingress rule to mariadb
* enable ingress for mariadb-backup pod

Change-Id: I6db63bc3cbc3d02e9061237acf71eb4137789d5a
Signed-off-by: Koffi Nogbe <kn4078@att.com>
2019-04-02 15:33:41 +00:00
Pete Birley
a2a5d15dca Rabbit: Add netpolicy to allow clustering and rabbit clients to connect
This PS allows rabbit compoents, eg other rabbit servers, tests, and jobs
to connect to rabbit.

Change-Id: I61cca52072940e31c093e4895a1c6406b15456bf
Signed-off-by: Pete Birley <pete@port.direct>
2019-03-20 22:32:01 +00:00
Chinasubbareddy M
ff146ea9fd OSH: Add ingress netpol for ceph-rgw pods
This is to enable ingress netpol for ceph-rgw pods

Depends-On: https://review.openstack.org/#/c/632567/

Change-Id: I542a38a08101b031633bfcb0810e00904ae58df5
2019-03-06 19:57:06 +00:00
Deokjin Kim
d8f9d2dd35 Fix wrong chart name and env-variable's name in deployment-script
1. Chart name : change from "ceph" to "ceph-rgw"
2. Postfix of environment variable's name
   : change from "OPENSTACK" to "CEPH"

Change-Id: I03a4e12457cec1811b6fa03367811f74e4bb8b83
Signed-off-by: Deokjin Kim <deokjin81.kim@samsung.com>
2019-01-29 14:25:57 +00:00
Mike Pham
95a6a2e875 Enable Egress policy enforcement
This PS is enable the Egress policies
and enforces them in Openstack-helm.

Depends-On: Icbe2a18c98dba795d15398dcdcac64228f6a7b4c
Change-Id: I6ef3cd157749fd562acb2f89ad44e63be4f7e975
2018-12-17 14:38:29 +00:00
Tin Lam
29f32a07ac Enable network policy enforcement
This patch set updates the gate to by default uses network policy
for all components and enforces them in Openstack-helm.

Change-Id: I70c90b5808075797f02670f21481a4f968205325
Depends-On: I78e87ef3276e948ae4dd2eb462b4b8012251c8c8
Co-Authored-By: Mike Pham <tp6510@att.com>
Signed-off-by: Tin Lam <tin@irrational.io>
2018-10-23 14:58:13 +00:00
Tin Lam
3cd4d0898a Upgrade default from newton to ocata
This patch set moves the default deployment to ocata from newton.
Newton zuul job is now moved into its separate job.

Change-Id: Ic534c8ee02179f23c7855d93a4707e5a2fd77354
Signed-off-by: Tin Lam <tin@irrational.io>
2018-10-13 04:18:46 +00:00
Zuul
a06490e9f6 Merge "Gate: Update use it script to be more flexible" 2018-09-14 03:30:03 +00:00
Pete Birley
36e97f9404 Gate: Update use it script to be more flexible
This PS updates the use it script to be more flexible

Change-Id: I7c1ee3308a6e7605fc6908dfa7e9429c8a8a7a80
Signed-off-by: Pete Birley <pete@port.direct>
2018-09-13 01:00:09 -05:00
Steve Wilkerson
75f6c9bb1b Gate: Fix make command for osh-infra charts
This updates the make command for the osh-infra charts in the
deployment scripts to account for the charts residing in
openstack-helm-infra instead of the openstack-helm working
directory

Change-Id: I9f492e586f69b0caf908366a9cae2b55da0d4cfc
2018-09-12 23:58:13 +00:00
Steve Wilkerson
9e4c6c2dfb Gate: Update openvswitch make command
This updates the make command for the openvswitch chart to account
for the chart residing in openstack-helm-infra instead of the
openstack-helm project directory

Change-Id: Ia8bd5ada3ecf4aa4c42b6b542c477e9013d87a3d
2018-09-09 18:09:13 +00:00
Steve Wilkerson
da4f79cf2e Openvswitch: Move chart to openstack-helm-infra
This moves the openvswitch chart to openstack-helm-infra as part of
the effort to move charts to their appropriate repositories

Depends-On: https://review.openstack.org/#/c/599723/
Change-Id: I248ad2dd24f4ab101839f05070f1f6f022f93715
Story: 2002204
Task: 21730
2018-09-07 15:48:07 +00:00
Steve Wilkerson
b1b4cccde1 Gate: Fix Make command for mariadb
This updates the Make command used in the mariadb deployment
scripts to account for the chart residing in openstack-helm-infra

Change-Id: I4485cc425ea4c21eac71dc2f8fe625a5b5c89b96
2018-09-04 16:17:39 -05:00
Steve Wilkerson
e2f690b7cc MariaDB: Move chart to openstack-helm-infra
This moves the mariadb chart to openstack-helm-infra as part of
the effort to move charts to the appropriate repositories

Depends-On: https://review.openstack.org/#/c/599651/
Change-Id: I9835da54aa4dd323b841f9605b688857ecf3a123
Story: 2002204
Task: 21725
2018-09-04 10:59:32 -05:00
Jean-Philippe Evrard
05d0e2b4b8 Revert "Update OSH Author copyrights to OSF"
This reverts commit b1755c3993.

Change-Id: I215a172f2ff4220340292b95f5323847944baeb7
2018-08-28 17:25:13 +00:00
Matt McEuen
b1755c3993 Update OSH Author copyrights to OSF
This PS updates the "Openstack-Helm Authors" copyright attribution
to be the "OpenStack Foundation", as decided in the 2018-03-20
team meeting:
http://eavesdrop.openstack.org/meetings/openstack_helm/2018/openstack_helm.2018-03-20-15.00.log.html

No other copyright attributions were changed.

Change-Id: I167ceedab8fadee28c19514fad6f125d0a521caf
2018-08-26 17:17:41 -05:00
Pete Birley
beda7f7748 RabbitMQ: move RabbitMQ chart to OSH-Infra
This PS moves the RabbitMQ chart to OSH-Infra

Story: 2002204
Task: 585554
Depends-On: https://review.openstack.org/#/c/585746

Change-Id: Ia57e63bbfb7d4266d58711cfb5644ecad34e2280
Signed-off-by: Pete Birley <pete@port.direct>
2018-07-30 15:08:05 -05:00
Pete Birley
2eb18629a9 Ingress: move ingress chart to OSH-Infra
This PS moves the ingress chart to OSH-Infra

Story: 2002204
Task: 21733
Depends-On: https://review.openstack.org/585550
Change-Id: Ie5b511def55dcd481eb291c6b309af61c66e0416
Signed-off-by: Pete Birley <pete@port.direct>
2018-07-26 13:28:22 +00:00
Matt McEuen
dd497381a8 Fixed ingress kube status bug
The ingress gate script displayed the `helm status` of the openstack
namespace ingress twice, rather than once for openstack and once
for ceph namespaces.  This fixes.

Change-Id: I9637b44d2cfad45f4935242351ee9160e013364f
2018-07-18 21:23:03 -05:00
Pete Birley
f9df30acbd Ceph: use ingress controller for RGW
This PS updates the ceph chart to use the ingress controller for
the radosgw.

Change-Id: Ie0ff4d9dd91d8228170e0ed4f2793599132077a7
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-25 18:50:35 -05:00
Pete Birley
2a82e49b49 Gate: fix dns port collision
This PS updates the dnsmasq pod that runs in the gate to allow vm's
API access to only bind to br-ex, as otherwise it collides with other
DNS servers running in the gates.

Change-Id: I85bb3043d56689ad8ee2996df61d23969a535de1
2018-06-25 06:34:04 -05:00
zhulingjie
cf98731b69 Remove the duplicated words
Change-Id: I36da4bda4fb4772e92118501c4d68f3623cfeb18
2018-06-10 19:03:10 -04:00
Pete Birley
bc0df0a482 Developer environment: remove ipcalc from required packages
This ps removes ipcalc from the required packages for the developer
environment.

Change-Id: Iaa56150663605f9a880007d140cf03ec739d5371
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-12 18:32:19 +00:00