Commit Graph

59 Commits

Author SHA1 Message Date
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
Zuul
399d355d46 Merge "Octavia: add octavia chart and deployment scripts" 2019-10-14 13:53:34 +00: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
Andrii Ostapenko
11f02edc43 Simplify code for value overrides for ceph
Change-Id: I50cbd0b11b55711dc484c0a4c382301a4680edb3
2019-09-17 12:14:55 -05: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
Andrii Ostapenko
10ef2bf27a Add components overrides retrieval to developer scripts
Change-Id: Id48c4a920f9463cd0b0283a13b0389e0927851a2
2019-08-30 14:54:56 +00:00
Zuul
777e5994e8 Merge "Cinder support multiple Ceph volume backends" 2019-07-29 15:16:14 +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
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
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
leledashenqi
52aac83b44 Add the CentOS system to Ceph related configuration file.
To use RBD devices with CentOS system, multinode deployment script has
already been modifed.

Change-Id: I8a1ac13b0ec124b14b2bdd06ea3b0a9c081d468c
Story:2004640
Task:28577
2019-03-06 03:10:03 +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
Evgeny L
b5803ad5a8 Neutron parameter min_l3_agents_per_router was removed in Ocata
This parameter has been deprecated in Newton and removed [1]
in Ocata.

[1] https://review.openstack.org/#/c/385604/

Change-Id: Ib80cc6634d0fba8ddd2a8e5c9d26a6a0524164b8
2019-01-18 22:50:17 +00:00
Chinasubbareddy M
13277440d7 OSH: Ceph charts cleanup
This is  to clean ceph charts for unused variables and left over from
ceph chart split

Change-Id: If5c8a5a2cf590154ff712695d409ca83d81e8197
2019-01-16 21:06:46 +00:00
Sreejith Punnapuzha
34ace3b7bf Add missing libvirt.yaml to the libvirt deployment script
Change-Id: I3d6998b84d5ecea52c4c0af5f95d83cd11009c9f
Signed-off-by: Sreejith Punnapuzha <Sreejith.Punnapuzha@outlook.com>
2019-01-03 16:49:38 -06: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
Matthew Heler
502a7e9bb9 Enable the cronjob checkPGs job for gates
Depends-On: https://review.openstack.org/#/c/614839/

Change-Id: If2f670fa4a03f3fc1e48ce2653b8baa73f09bcfd
2018-11-12 16:50:50 +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
Steve Wilkerson
f97e644aa6 Glance: Disable registry service template in manifests
This updates the glance chart to disable the service for the
glance registry by default, as we disable the other glance
registry templates by default. This updates the gates to enable
the service when newton is deployed

Change-Id: I453d28d9c552754b66e94d9da2e2b9ea6549a5aa
2018-10-01 09:17:30 -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
b913cb6443 Libvirt: Fix make command in deployment scripts
This updates the make command for the libvirt chart to account for
the libvirt chart residing in openstack-helm-infra instead of the
openstack-helm project directory

Change-Id: I1cb37e7c094e31ca93f1fa5d1ff531645308a563
2018-09-10 15:47:51 +00:00
Steve Wilkerson
2a390de7ea Libvirt: Move chart to openstack-helm-infra
This moves the libvirt chart to openstack-helm-infra as part of
the effort to move charts to their appropriate repositories

Depends-On: https://review.openstack.org/#/c/599715/
Change-Id: I50850725604c3fc9d5dfd04a40c95d3346ccae34
Story: 2002204
Task: 21723
2018-09-10 09:46:47 -06:00
Steve Wilkerson
3bc8f96c68 Ceph: Remove ceph charts from openstack-helm
This follows the patchset for adding the ceph charts to
openstack-helm-infra, and is part of the effort of removing
infrastructure related charts out of openstack-helm

Depends-On: https://review.openstack.org/596880
Change-Id: Iaa1404d873d38e8403a061548d055c379239c504
2018-08-31 15:46:23 +00: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
d4d99cf9fc Split out RGW from ceph client charts
Co-Authored-By: Chinasubbareddy Mallavarapu<cr3938@att.com>

Change-Id: I8b091493bb79c7eab525fbaf7801028398772c5d
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-21 17:36:18 -05:00
Renis
f3b7c7fc82 Make Ceph Mon port configurable
- make mon port overridable through env variable
- update ceph.conf to include fqdn with port number
- add mon_add: to ceph global conf
- updating ClusterRoleBinding name for cephfs and rbd
 provisioner.
- remove unused network.port section as we specify ports
 through endpoints

With these changes, ceph mon can run on different port

Change-Id: I8af2bbe3ee84fd3692bdff92d821b9621a6d53c9
2018-08-13 14:12:51 -07:00
Pete Birley
d5ec0ed586 Gate/Developer: default to newton deployment config in glance
This PS udpates the developer scripts to deploy glance with configuration
that allows operation with heat by default with newton based deployments.

Change-Id: If77ad095c82fc5a28ee3acd3cca295e17f4f7939
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-01 10:20:39 -05:00
Pete Birley
664bdc8a1e Glance: disable V1 API and registry
This PS disables the depreciated glance V1 API and registry
by default. For newton gates the registry is enabled, as newton
heat still used it.

Change-Id: Ia6bd4382750bde1b0a0e4db174d2de11626a1826
Signed-off-by: Pete Birley <pete@port.direct>
2018-07-29 17:14:05 -05:00
Pete Birley
a5e5556e46 Ceph: Split out ceph provsioners from client chart
This PS splits out the ceph provisioners from the client chart
allowing OSH to be used with external (and multiple) cephs more
simply.

Change-Id: I0c5d516c7a9a10bc8435e2423eb1dc05460d2c92
Signed-off-by: Pete Birley <pete@port.direct>
2018-07-06 20:54:19 +00:00
Zuul
861b6dc1bd Merge "Add cpu_mode in nova.conf" 2018-06-27 03:53:26 +00:00
caoyuan
2cef4d3f99 Update the typo "dont" to "don't"
Change-Id: Id88185299f9139da142edf2c6e1e4a2c2cdfecb6
2018-06-21 17:38:24 +08:00
caoyuan
27e18daea7 Add cpu_mode in nova.conf
With libvirt 2.0, when using qemu cpu mode is not properly
evaluated and need to be set to cpu_mode = none.

Add this option when kvm is not supported, otherwise user
will still facing errors when launching instances over qemu.

Change-Id: Ib00fa257fb33fd3281f484a47a945640da8dda56
2018-06-21 17:22:50 +08:00
Pete Birley
dd006e9569 Libvirt: add dynamic deps on neutron agents as option.
This PS adds the ability for the Libvirt chart to depend on
neutron agents being up if desired.

Change-Id: I7cd2dca4416d1852261591a0064381ae2b087b9a
Depends-On: Idcade7eebed317852b70392431ed02a352241c9b
Signed-off-by: Pete Birley <pete@port.direct>
2018-06-16 17:54:53 +00:00
Chris Wedgwood
4c8205bd54 ceph: run 2 rgw replicas
by default run 2 rgw instances, single node and developer will
override to 1

Change-Id: I8b49c8ac026b130c74a1e9c548232780284186d2
2018-05-14 06:45:44 +00:00
Zuul
ce5cf7f1cf Merge "ceph: run 2 mds replicas" 2018-05-14 04:30:23 +00:00
Pete Birley
d342ac40cb Ceph: Setup radosgw with increased swift support.
This PS updates the cephs config to deploy radosgw with greater
swift compatibility. Allowing clients to use RGW as though it
were a real swift deployment.

Change-Id: Id0a27b42b7f9c0c9e4b5a197ef50feb612e6adfc
2018-05-12 12:58:03 -05:00
Zuul
0f5d23221d Merge "gate: remove fsid from charts that don't use it" 2018-05-09 20:44:33 +00:00
Chris Wedgwood
6df7275dc8 ceph: run 2 mds replicas
take replica count from values, default to 2; ideally we want 2 mds
replicas, 1 active and 1 standby

Change-Id: Ifd9e717ad0371e52ce26e0da3393f5f634495f58
2018-05-09 01:20:36 +00:00
Chris Wedgwood
324d95f03c gate: remove fsid from charts that don't use it
Change-Id: I158c072e7a97a1005ff795dae4638e0cd539c197
2018-05-08 17:48:46 +00:00
Pete Birley
8b0de753eb Gate: stop pulling default images
This PS stops pulling the charts default images, as the make file
target cannot target over-rides - resulting in longer gate runs with
twice as many images pulled than required in some cases.

Change-Id: I2a49ab0e8034b0aadc2c06cc347f7d76ef71784a
2018-05-08 16:28:55 +00:00
Chris Wedgwood
b69eb7078a ceph: mgr; replicas 2 by default, 1 for developer/single-node
ideally we want 2 mgr replicas, 1 active and 1 standby

Change-Id: Idc82a159354c2be4da90213583aba19b8e29aa39
2018-05-04 18:25:29 +00:00
Zuul
ddc87f5e7d Merge "gate: ceph; reuse fsid if it exists" 2018-05-04 15:23:07 +00:00
Chris Wedgwood
42e5b2c6b6 gate: ceph; reuse fsid if it exists
don't regenerate the ceph fsid if we already have one, this means we
can have piecemeal use of the gate and developer scripts

Change-Id: Ib988679a06151850226f30b9a6432fbe202f1514
2018-05-03 17:14:32 +00:00
ZhijunWei
7090f410e0 Update the validate way for nova service
As usually, we list nova service to validate, use
"openstack compute service list" is better.

Change-Id: Ie1857c1ae238ef610e62aead99aa1ef0fc68c695
2018-05-03 05:56:57 +00:00
Renis
b6b6957a94 ceph - split chart into mon, osd and client
New charts:
 * ceph-mon
 * ceph-osd
 * ceph-client

Deleted:
 * ceph

Co-authored-by: Randeep Jalli <rj2083@att.com>
Co-authored-by: Pete Birley <pete@port.direct>

Change-Id: Ic476f5839e749f5765d44d46bcfd4eae9ef96849
2018-04-27 18:13:34 +00:00
Jaesang Lee
2b5f2d97e0 Add gate for rbd storage backend.
This PS allows to test rbd storage backend when apply glance. Currently,
only radosgw is verified after ceph distribution.

Change-Id: Ia3c2c915a2e9a65b09123b8e1c47892069c9ae1b
Blueprint: add-rbd-gate
2018-03-27 06:22:20 +00:00
Pete Birley
e8219bc6d8 Cinder: allow Ceph RBD pool params to be tuned
This PS exposes the Ceph RBD pool params to the cinder chart, allowing
them to be tuned.

Change-Id: I615e999928948193b24cc4978efb31bd1b36f8f7
Closes-Bug: #1754535
2018-03-09 01:56:32 +00:00