154 Commits

Author SHA1 Message Date
Chris Wedgwood
6b844382ad yaml cleanup: trim multiline strings
Change-Id: Ice615c1d252651793dfa09b8e85a5b4228d68737
2018-02-20 16:39:52 +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
Pete Birley
3d967aec9b Ceph: Improve notes in values.yaml
This PS improves the notes in the conf.pool section to describe
what they do.

Change-Id: I8fb1f1053c7b47b8fe8ea41bc3bedf10d6c9dc7c
2018-02-14 13:23:29 -06: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
Seungkyu Ahn
d361c8f303 Change the check method for the ceph ods version
Previously, the ceph version was checked with "ceph -v".
However, this way is only check for the ceph client version.
So I change the way to check the ceph osd version.

Change-Id: I11f44186f671594e6e9e848f3fddb1d23b994b36
2018-02-13 14:52:20 +00:00
portdirect
aa61fbe667 Armada: add job cleanup to ceph and openstack components
This PS adds job cleanup to ceph and openstack components managed
via armada.

Change-Id: I63d55bd551ce9ad5e7bc93e28e6a1c876b60b309
2018-02-09 08:50:03 -05:00
portdirect
8d30e6698e Helm-Toolkit: move keystone endpoint jobs to helm-toolkit
This PS moves the keystone endpoint jobs to be driven by
a helm-toolkit function providing greater consistency
to the charts in OSH, and reduced tech debt.

Change-Id: I06555171ce93a2b0a8798bc891a2990ea9626276
2018-02-07 19:51:41 -05:00
portdirect
914ffdbfe4 Helm-Toolkit: move keystone service jobs to helm-toolkit
This PS moves the keystone service jobs to be driven by
a helm-toolkit function providing greater consistency
to the charts in OSH, and reduced tech debt.

Change-Id: I36e012854473fcb942d62391d182ee6a8406bb72
2018-02-08 00:31:52 +00:00
portdirect
72792a49d4 Keystone: update user jobs to use defaults in dict keys
This PS updates the Keystone user job template to use default
values when not specified via the input dict.

Change-Id: I937e720ab3ab4ba70c33ea981d7693ebfd01c894
2018-02-07 11:03:17 -05:00
portdirect
319fd2cbec Jobs: Apply uniform node selector label to all jobs in OSH
This PS applies a uniform node selector label to all jobs in OSH.

Change-Id: I2efedcea2085b8189bd0bd12dd0ee66e63db0d97
2018-02-07 10:16:06 -05:00
portdirect
f296acf647 Helm-Toolkit: move keystone user jobs to helm-toolkit
This PS moves the keystone user jobs to be driven by
a helm-toolkit function providing greater consistency
to the charts in OSH, and reduced tech debt.

Change-Id: Ic5eb172b0443f61b8ecab8b3a607c764fb145c75
2018-02-07 09:49:04 -05:00
portdirect
7c68e446c0 Ceph: Include release name in cluster roles to prevent collision
This PS includes the release name in the cluster role to prevent
colision if the chart is deployed multiple times in the same
cluster.

Change-Id: I8e90367769a8b955981c0f2cf4f29756c448e1d7
2018-02-02 22:34:45 +00:00
Zuul
d5f880c1ee Merge "Ceph: Allow provisioner nodes selector to be specified" 2018-02-01 21:59:31 +00:00
portdirect
fa6b67c7fb Ceph: Allow provisioner nodes selector to be specified
This PS allows the provisioner node selector to be specified.

Change-Id: If47ae2bb161dd36cb37e7572af1bd2b3a7cbf2c9
2018-01-30 00:15:40 -05:00
Dae Seong Kim
717d72485b fix jobs to create a secret can work on upgrade
This PS fixes the jobs falling into a crash loop state
when upgrading charts.

'kubectl create' command cannot overwrite if a secret already
exists. But 'kubectl apply' command can do it.

Change-Id: Idd6eea06892a30e36e51a9b1130fd7cd84ff65cf
2018-01-29 00:12:28 -08: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
portdirect
72a91e80f7 Ceph: Chart template tidy
This PS tidies many of the templates in the Ceph chart.

Change-Id: Ib4c609349edc8d017c0ca30580afedeb9ccbecdb
2018-01-22 09:28:11 -05:00
portdirect
dbb778a784 HostSpecific Over-rides: Add Ceph OSD to host targetable config
This PS adds Ceph OSD's to the host specific over-rides, it also
simplifies the host-specific daemonset logic.

Change-Id: Icd5daf46f29a328e96273ac64ad761e30d933e9c
2018-01-22 09:26:56 -05:00
Zuul
e69957b2be Merge "Export ceph metrics via ceph-mgr prometheus plugin" 2018-01-22 09:16:59 +00:00
portdirect
ed9d315bf8 Ceph: ensure keyring jobs only run on initial deployment
This PS ensures that the keyring jobs only run on initial deployment.

Change-Id: Id952e77de6eea2b75367c689eb39f7bace6e9572
2018-01-20 01:24:06 +00:00
Zuul
44194a9291 Merge "Ceph: fix logic for check ceph version" 2018-01-17 16:41:53 +00:00
Zuul
2fc1a5f812 Merge "Delete unused volume var_directory" 2018-01-17 16:22:54 +00:00
Steve Wilkerson
a6de53ea44 Export ceph metrics via ceph-mgr prometheus plugin
This adds the ability to export ceph metrics via the ceph-mgr
prometheus plugin

Change-Id: I802712f89cc1bdff20208ee711211dce414e1885
2018-01-17 13:13:44 +00:00
Jaesang Lee
96610abac1 Ceph: fix logic for check ceph version
The logic for check ceph version in some charts has a code that doesn't
work. This patch check ceph version properly.

Change-Id: Ie97a3ec5ac5078f556f59a09db820ee574c60f50
2018-01-17 06:23:52 +00:00
Zuul
4c2b5d22c3 Merge "Ceph: check zombie mons fix" 2018-01-16 17:57:22 +00:00
Zuul
18ac1605cd Merge "Ceph: add manifests optional for job-rbd-pool" 2018-01-16 17:02:32 +00:00
portdirect
b180d28618 Auth: Update credential keys to reference service specifically
This PS moves all credentials for OpenStack services from 'user' to
the service name. This allows a single yaml snippet to articulate
the credentials for a deployment.

Change-Id: Ic720109f2ba854561b23767cb480bcae91f74b6b
2018-01-15 18:54:13 +00:00
Artur Korzeniewski
079290ad38 Ceph: check zombie mons fix
The template in kubect command was not properly formatted.
Also CLUSTER to NAMESPACE env changed.

Change-Id: I12fd925f30c763d9620b3889c3007496d2438f0c
2018-01-15 17:01:09 +00:00
Jaesang Lee
beadf984d4 Ceph: add manifests optional for job-rbd-pool
Every manifests has to be controlled by manifests key in values.yaml.
In ceph, job-rbd-pool doesn't have manifests value,
so it can't be disabled.

When using already installed ceph, it is necessary to disable
job-rbd-pool because it is an unnecessary.

Change-Id: Idf61855423f28fbb1c7730118869bdddc463960b
Closes-bug: 1742017
2018-01-15 04:13:42 +00:00
rong.zhang
8c8f1ee479 Delete unused volume var_directory
Delete unused volume var_directory

Change-Id: Ie5176d86d46c9b25a94119afec4076aed47e7020
2018-01-12 06:39:45 +00:00
Jaesang Lee
aaa997114b Ceph: fix ensure pool function for older than luminous
The storage_init script in some charts has a code that doesn't work
with older than ceph luminous. This PS allows execution in both ceph
luminous and older versions like kraken jewel.

Change-Id: I5d21fb027328e7d3490625894bd14905988ba320
Closes-bug: 1742021
2018-01-12 10:21:22 +09:00
Alexandre Marangone
434a28e80f mgr: refactor mgr module enablement
Cherry-picked from a6d6b2eef3

Change-Id: Ie6b7e94e80d625c212331cf74c0f796bb3e99858
Signed-off-by: Alexandre Marangone <amarango@redhat.com>
Signed-off-by: Ganesh Maharaj Mahalingam <ganesh.mahalingam@intel.com>
2018-01-11 11:58:50 -06:00
Zuul
06cc07ec04 Merge "CephFS: support for OSH" 2018-01-11 00:19:27 +00:00
Zuul
b17c051bfc Merge "ceph-mgr: change liveness/readiness probes" 2018-01-10 07:12:57 +00:00
portdirect
dc105fdcfa CephFS: support for OSH
This PS adds support for CephFS in OSH.

Change-Id: I54d5302b89f04cc30f151c8db59f476f02be5652
2018-01-09 15:41:45 -05:00
Huamin Chen
5cd3a087bf ceph-mgr: change liveness/readiness probes
Instead of relying on the dashboard availability
we check the ceph-mgr map

Signed-off-by: Alexandre Marangone <amarango@redhat.com>

Change-Id: I78d33a4b522ed085ed85a638b3784c2d07026e39
2018-01-09 19:28:03 +00:00
Zuul
799daefb83 Merge "Ceph: don't overwrite mon map" 2018-01-06 21:15:18 +00:00
Huamin Chen
4197b9eae5 ceph-mgr: set .spec.strategy to recreate
This PS set the Ceph MGR pod .spec.strategy to recreate.

Signed-off-by: Alexandre Marangone <amarango@redhat.com>

Change-Id: I14a817dbf8e0d1ec86345cf97911302f5acc3466
2018-01-05 21:43:31 +00:00
Huamin Chen
dddfa6651f Ceph: don't overwrite mon map
When monmap is persisted, don't overwrite it when mon pod restarts.
This helps when there is just one mon or all mons reboot

Change-Id: I9119379f4bc026c315a2fa7507a1664b12ea6205
Signed-off-by: Huamin Chen <hchen@redhat.com>
2018-01-05 14:37:39 -05:00
Zuul
6e70733dc7 Merge "Ceph: Dont create volume pool by default" 2018-01-04 00:44:54 +00:00
portdirect
d7416cac6d Ceph: Add mgr caps to the admin keyring
This PS adds mgr caps to the admin keyring and also adds the mgr
bootstrap keyring.

Change-Id: Ic88dfcb0aa00d8d017a8c28d3c64169b2d8f0022
2017-12-30 17:18:04 +00:00
portdirect
235325ba45 Ceph: Dont create volume pool by default
The Cinder chart can now manage its storage init itself. This PS
now removes the unrequired pool creation in the Ceph bootstrap job.
It also updates the `ensure_pool` to better support luminious.

Change-Id: I4a71df9a6d3a0e45c6ef6812926d66455055ae9f
2017-12-29 11:04:26 -05:00
portdirect
55f1bacf35 Cinder: Enable backup
This PS enables the cinder backup service, for RBD, Swift and Posix
based backups.

Change-Id: I5b4d5a19e187784b55fa8601b244d9a45d29fb06
2017-12-28 19:21:04 -05:00
portdirect
0f107f1b81 Ceph: update dependency logic to be more strict
This PS updates the dependency tree in ceph to take into account
the keyring jobs and also the tollerance for unready endpoints
introduced in the k8s 1.6 era.

Change-Id: If76efeafdbcbe88ee699e7553f0effd5da7ce624
2017-12-28 00:51:42 +00:00
Zuul
51056ac142 Merge "Fixed ceph mon resource definition" 2017-12-27 20:36:16 +00:00
Matt McEuen
e507dc38d9 Fixed ceph mon resource definition
The ceph mon daemonset had a typo, and referenced the osd
resource limit specification in Values instead of its own.

Change-Id: I06433b9039842322786e73eff89da2836c17bb7f
2017-12-27 07:10:19 -06:00
portdirect
fa2620d54b RBAC for OSH
This PS applys RBAC rules to OSH, based off the work
done in https://review.openstack.org/#/c/526464/

Change-Id: I541b0ac1a3972566ef2b66571ae32744dab70c17
2017-12-26 10:24:19 -05:00
Huamin Chen
eed43b8524 Ceph: luminous fixes
init osd: Ceph luminous release init osd differently. This fix detects
ceph releases and use the right process to init osd directory
mgr: Set mgr daemonset that is in Luminous

Change-Id: I99a102f24c4a8ba18a0bba873e9f752368bea594
Signed-off-by: Huamin Chen <hchen@redhat.com>
Depends-On: I17359df62a720cbd0b3ff79b1d642f99b3e81b3f
2017-12-13 15:52:36 -05:00
Zuul
8f696ab93b Merge "Add imageFormat and imageFeature support" 2017-12-11 21:27:34 +00:00
Zuul
cadccfd214 Merge "Ceph liveness scripts" 2017-12-11 16:33:20 +00:00