Commit Graph

52 Commits

Author SHA1 Message Date
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
Pete Birley
47eaa69860 Gate: allow chart specific over-rides to be applied
This PS allows chart specific over-rides to be appled to each chart
using the gate scripts.

Change-Id: Ie259113a129cddd84743c891be76782227e3bd24
2018-03-08 01:02:42 +00:00
Pete Birley
340a9ec434 Networking: dynamic backend support
This PS allows the neutron and nova charts to dynamicly adapt to
various backends.

Depends-On: I0ec13f45fd4561fec59d08b08eb78390a3866156

Change-Id: I1891af4b0e49237e229ff5e61e907dc3e413cf87
2018-02-26 13:16:25 +00:00
portdirect
2cb634789d Images: Move default to LOCI and Kolla newton gate
This PS moves the default image in OSH for most services to use LOCI
and also provides a Kolla gate for newton openstack.

Change-Id: Ice6cb9f89bc3ce6e8280e580d215aedda9e71904
2018-02-16 17:06:15 -05:00
portdirect
bf126f46b1 Ceph: Pod per OSD via Daemonsets.
This PS extends the host targeting utility to create daemonsets
for storage focused charts. This PS supports both block device
and bind mount backed journals and OSDs.

Change-Id: Id90b197ba3e4f383eea7ce6137ed77b3ef4e5625
2018-02-13 22:53:20 +00:00
portdirect
b77d3f3538 Gate/Docs: Update developer deploy scripts
This PS udpates the developer deploy scripts to enable simple
upgrades/updates of services.

Change-Id: I0ef5a6dcc9094cb1aac565141b782f9e83ad9d71
2018-02-11 18:17:35 +00:00
portdirect
226269d295 Gate/Doc: Move neutron config to gate scripts
This PS moves the neutron configuration to the gate scripts, rather
than mixing it between set and values commands, which was hard to
follow.

Change-Id: I94035d2af15efbe961366ae0427b39721b7aff78
2018-01-28 22:57:07 -05:00
portdirect
010c3978a1 Ceph: tidy scripts
This PS tidies the Ceph scripts. In addition, it allows the
chart to be removed and re-deployed without data loss,
and improves robustness to rebooting nodes and/or
the cluster.

Change-Id: If5a65d0dcca1d049b177d9bffb654a13d56c3823
2018-01-22 14:29:05 +00:00