71 Commits

Author SHA1 Message Date
Gage Hugo
402a013e8f Update ceph development scripts
With the move to helm v3, several of the development scripts are
either out of date or are linked to ones that are. This change
updates several of the symlinks and scripts that exist under
the ceph development directory to bring them up-to-date with
the current state of the repository.

Change-Id: I15b431d5301d47c6c83513e356c0c819d2c50963
2022-02-28 01:56:55 +00:00
Gage Hugo
5345b2a812 Reduce duplicated memcache scripts
This change reduces the amount of scripts used to deploy memcache
down to one by removing a duplicate and pointing the symlink
to the component script.

Change-Id: Ia127666cf89c8823ffb3ba2b5ebe7d62afa5f82b
2022-01-17 21:20:53 -06:00
Gage Hugo
c0bdc96c40 Remove outdated overrides for glance
The deployment scripts for glance have leftover value settings
from older openstack releases that are no longer supported by
OSH. This change removes those random override values and has
them fallback to the get-values-overrides script.

Change-Id: If348d8be9748c281be27bdf5e8ac37d240d72636
2021-12-14 16:31:39 +00: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
Parsons, Cliff (cp769u)
48738f5426 Update gate scripts for Ceph CSI RBD Provisioner
This patch updates the gate scripts so that the Ceph CSI RBD Provisioner
will be tested appropriately and is documented properly.

Change-Id: I0ad86c9d53db3533b65a41387bbd426c9023d6ee
2021-06-11 14:27:53 +00:00
Andrii Ostapenko
71bc6d15c7 Dynamically determine if ceph is enabled for compute kit
Change-Id: If9af66b0e5e1d6b5ba514c8e5e5f27383e74850e
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-08-26 03:35:35 +00:00
Chinasubbareddy Mallavarapu
59dac81fd4 [CEPH] Update ceph scripts to create loopback devices
This is to update ceph scripts to create loopback devices
in single script and also to update gate scripts.

Change-Id: I937ae79512ffc998d8dbd0b277a611347550044b
2020-07-29 09:51:31 -05:00
Chinasubbareddy Mallavarapu
385c0775b9 [CEPH] Update dev scripts for ceph to handle loopback devices
This is to update loopback devices creation script to take device names
from developers in case if default devices are busy.

Change-Id: Ie368ebdfdc64ea00ccf62cf61010beddcc2cf4ce
2020-07-21 21:46:18 +00:00
Chinasubbareddy Mallavarapu
a385c18176 [CEPH] OSH: use loopback devices for ceph osds.
- This is to make use of loopback devices for ceph osds since
support for directory backed osds going to depricate.

- Move to bluestore from filestore for ceph-osds.

Change-Id: Ia95c9ceb81f7d253dd582a2e753a6ed8fe60a04d
2020-06-30 17:05:22 -05:00
Andrii Ostapenko
41a6fa26e4 Fix developer compute-kit.sh script
Release overrides are not applied in component script if invoked from
developer ceph one because OSH_EXTRA_HELM_ARGS_NOVA is not empty.

Change-Id: Ic4eb1cf6115b740b59922272a789e37b683cb44e
Signed-off-by: Andrii Ostapenko <andrii.ostapenko@att.com>
2020-06-25 21:56:35 -05:00
Andrii Ostapenko
8ecc724788 Reuse component compute-kit.sh in developer installation
Change-Id: I18fa34d1ae59165c2b851946cf21112beac22958
2020-04-08 16:41:56 +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
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