44 Commits

Author SHA1 Message Date
Chris Wedgwood
192f02d100 [Ceph] Update default cluster network
The current default network for ceph works for very few people by
default.  Update it to match what most people seem to be using.

Change-Id: Icd5f87189b067865721203065e8caf33772d56ba
2017-06-09 20:29:01 +00:00
Tin Lam
5fcb0e3d10 Remove executable flag from Chart.yaml
TrivialFix: Some Chart.yaml's have permission 755; this patchset changes
that to 644 and be consistent with other yaml files.

Change-Id: I6453f91f0cd22330259bf24be9d4c331f2769ec2
2017-06-06 11:43:25 -05:00
Darla Ahlert
78dd37efc2 Update deployment for kubernetes 1.6
In Kubernetes 1.6, the deployment API version was changed
from extensions/v1beta1 to apps/v1beta1

Change-Id: I14ee465de381d25866224b9eae3512f0b42588d3
2017-06-02 08:45:08 -05:00
Jenkins
1ca77db357 Merge "Update remaining markdown docs to RST" 2017-06-01 21:32:41 +00:00
Jenkins
0a6e378387 Merge "Add pod disruption budget for ceph" 2017-05-31 21:28:57 +00:00
Larry Rensing
96e827e6b7 Add pod disruption budget for ceph
This adds default pod disruption budgets for ceph mons

Change-Id: I4a85140aea2a532bc073d97c7b985c7f61205a6d
2017-05-31 16:39:31 +00:00
Chris Wedgwood
f8260e9cd7 Lower Ceph requirements
Change-Id: Ie6698d4da7c911d70a1331b14dc46b3bd56af9ba
2017-05-23 23:30:35 +00:00
Michał Dulko
cc243499ec Update remaining markdown docs to RST
There were few remaining README.md files. This commit converts them to
RST.

Change-Id: Ia0be0012fff33b9be5c9db3febc1e45a076701ec
2017-05-22 10:56:51 +02:00
Tin Lam
e28c4f7ae3 Add a whitespace check script
This patch sets put in whitespace check against all files except .tgz,
files in hidden directory or things in the doc/build folder.  Enforcing
the cleanup work in [0]. Also fixed two readmes' trailing blank spaces.

[0] https://review.openstack.org/#/c/466409/

Change-Id: I21ee232e4d502ca2db9dbf012624d6552d0f7ad2
2017-05-20 11:17:45 -05:00
Gage Hugo
dc1ae977a5 Remove all trailing whitespaces
This change removes any trailing whitespaces found while
running:

find . -type f -exec egrep -l " +$" {} \;

Change-Id: Ic1dc8765a0971a32da4c3116871e9450a55b357f
2017-05-19 18:07:06 -05:00
Mark Burnett
f7acb43376 Ceph: move rgw Service into separate file
Change-Id: I6f08fe200f234bf9baf985fe83e71b0bd9c20c44
2017-05-05 09:52:39 -05:00
Alan Meadows
6dc0852146 Tolerate unready ceph-mon endpoints
This allows ceph to form a reliable quorum under Kubernetes
1.6.  There appears to be a minor timing difference in 1.6
compared to previous versions requiring us to annotate the
ceph-mon service with this toleration.

Change-Id: I2bb325c6dc0fc4b3c98eaccd95be36a53b1e8a16
2017-05-02 07:08:30 -07:00
Larry Rensing
1dd9ef153f Ceph RGW cleanup
Fixes incorrect variable reference in deployment-rgw and removes
a duplicate value in values.yaml

Change-Id: I8b922cbb9d6f9b6153d4ccfcfa991bd7a51ef185
2017-04-21 16:02:47 +00:00
Pete Birley
f44ae0592e OpenStack-Helm: Kubernetes 1.6 Support
This PS moves OpenStack-Helm to both support and require K8s 1.6

Change-Id: I2be2eb3a063f279d2544fc7d65fbfd8793821213
2017-04-19 14:18:50 -05:00
Pete Birley
b6aed791fb Update chart.yaml to be consistent across repo
This PS updates the chart.yaml to be consistent across the repo, and
changes the description to make clear that they are the OpenStack-Helm
derived versions of the charts while using `helm search`.

Change-Id: Iac3cfd2cddba7130b28a65c3d353712c8a3aa02b
2017-04-16 11:21:07 -05:00
Jeff Augustine
91a966206f Corrected project name in README files
Change-Id: I4e97d7c66506dc08c6c3eee163dc2a98e04d5771
2017-04-12 15:31:38 -05:00
Pete Birley
116931bb51 Rename common chart, and update all references to functions within it. (#167)
* Rename common chart to helm-toolkit

* Update useage of helpers to include reference to chart they come from.

* Update helm-toolkit function naming

Also catches several functions missed in previous PS

* Update remaining requirements.yaml to use helm-toolbox

* Dep Check container fix for common -> helm-toolbox renaming
2017-02-14 16:52:38 -08:00
Brandon B. Jozsa
bdc5564542 adding apache-lic header for ceph 2017-02-03 09:48:17 -05:00
Greg Althaus
43fee7bfed CEPH Mons autodetection doesn't work reliably across all (#156)
We should use known parameters for the custer POD ips and the MON_IP to make MON IP discovery more consistent.
2017-01-30 15:16:36 -08:00
Brandon B. Jozsa
b221f4598a Merge pull request #157 from galthaus/ceph-container
BUGFIX: Change the ceph images from the custom ATT to the ceph-docker upstream.
2017-01-30 11:23:18 -05:00
Greg Althaus
c020362465 Lock version down to a tagged version. 2017-01-30 10:14:09 -06:00
Greg Althaus
0cf9463c8a Update ceph ansible with some changes for the upstream. (#155)
1. fix a container name
2. Fix mds networking parameters.
3. Make rgw not a host network container.
2017-01-29 10:46:52 -08:00
root
0eeb1fbf9c Change the ceph images from the custom ATT to the ceph-docker upstream.
It seems work.
2017-01-27 14:17:24 -06:00
Alan Meadows
db0db427ee Critical fixes required for 0.1.0 tagging
* Add imagePullPolicy to ceph with default

* Add imagePullPolicy to mariadb with default

* Add missing imagePullPolicies to nova with defaults

* Remove malfunctioning daemonset dependency from nova

* Add missing neutron endpoint definition to nova values

* Force v4 networking in ceph.  Repeated bootstrapping
  is unreliable without this.

* Update cinder dependencies based on testing

* Optonal Horizon NodePort

* Revert iptables stub for nova-api-osapi because
  we lack permississions to overwrite /sbin/iptables. We
  will continue to run in a privileged security context
  until we have a working solution.
2017-01-12 14:51:36 -08:00
Alan Meadows
f9cb3fc846 Bugfix a few typos from last three PRs
This resolves a few issues that crept in with the last
three pull requests.
2017-01-03 15:53:06 -08:00
Alan Meadows
b366dc252a Refactor ceph to allow monitors to leverage a stateful set.
The IPs of ceph monitors cannot (or should not) change.

This refactor allows the ceph monitors to act as statefulsets.
It also persists their on disk data to nodeDirs, to allow cluster
wide restarts (in parallel), where previously this would lose
data.  This is accompanied by some docker images changes that
ensure that auth for the OSDs is restored/reinserted as auth
data is somehow not persisted to disk at this time.
2017-01-03 12:23:25 -08:00
Brandon B. Jozsa
60908c237a remove last aic reference in values 2016-12-24 10:32:30 -05:00
Brandon B. Jozsa
91c59e1fd2 bug fix for rgw crashloops 2016-12-23 17:11:33 -05:00
Brandon B. Jozsa
c6dd9b617f fixes bugs in deployment 2016-12-23 15:31:10 -05:00
Alan Meadows
77401c1142 Allow more control over ceph chart
* A new boolean value controls whether secrets and
the ceph.conf secret ConfigMaps are installed allowing
you to bring-your-own ceph configs. This should
remove the dependency on having to generate secrets
using the common chart if you have installed your own.

* A new boolean value controls whether we install
a storage class as part of the ceph chart install allowing
you to externally manage this

* More of the ceph values have been converted to values
variables, paving the way for a master yaml to provide input
and overrides to many independent "sub" charts without a parent chart
2016-12-12 16:34:21 -08:00
Alan Meadows
d9942320b5 fix requirements to only require common 2016-11-30 17:11:15 -08:00
Alan Meadows
3c2e101e72 b64enc consistently 2016-11-30 16:20:49 -08:00
Alan Meadows
e86461b3f1 apply ceph-client-key normalization to common (really this time) 2016-11-30 15:08:31 -08:00
Alan Meadows
67c86d9fea apply ceph-client-key normalization to common (really this time) 2016-11-30 15:07:15 -08:00
Alan Meadows
79c8596c53 do not base64 over base64 2016-11-30 14:59:28 -08:00
Alan Meadows
405bc05e37 normalize ceph-client-key 2016-11-30 14:58:25 -08:00
Alan Meadows
22430a84f8 remove extraneous spacing 2016-11-30 14:56:46 -08:00
Alan Meadows
1aa1aa70e4 ensure ceph storage is persistent 2016-11-30 14:13:11 -08:00
Alan Meadows
877e0cd46f aic-helm normalization
* As of helm 2.0.0, it no longer seems necessary to
copy a "globals.tpl" into each child chart, defines in
child charts now seem to be reliably rendered in the
parent.  This was not working correctly in 2.0.0rc2
and so after a lot of testing, the globals define
insertion has been removed from the Makefiles. Also,
includes piped to b64encode are working now, meaning
we no longer have to do Makefile magic to base64
encode successfully.  That has been removed.  Once
.Files.Get works properly in a child chart context
we can remove all Make help.

* The openstack-base chart has been renamed to common
to better reflect that it is common to everything in
aic-helm, even non-openstack projects like ceph.  All
charts now include it as a requirement.

* A first pass at a "cleaner" template directory approach
has been applied to rabbitmq as a test chart.  This allows
files such as _start_rabbit to live in their raw form
and organizes files by config vs script in 'etc' or 'bin'
directories.  If accepted, will apply to all other charts
for consistency.
2016-11-29 16:20:06 -08:00
Alan Meadows
9d26ecec33 incorporate cleanup feedback from PR#11 2016-11-28 09:28:42 -08:00
Alan Meadows
7929c94c21 General consistency cleanup
* Made values.yaml consistent throughout charts.  Removed any globals
references in subcharts as these are difficult to override.  Only
ports should be in globals to build URLs which can come as part
of a future commit. The hostname endpoint aspect of a service
will come from openstack-base/_hosts.tpl and the port
would come from the chart itself as a global so other charts
can reference the port to build a complete URL.  Putting the
hostnames themselves as globals in individual charts makes it
difficult to make a sweeping top level FQDN change.

* Cleaned up yaml requirements and incorporated a new _common.tpl
that is distributed to all charts to allow common endpoint naming
while still retaining the ability to install individual charts.

* Fixed keystone URL generation during bootstrap as a correct
URL is critical given keystone uses this to construct all
subsequent URLs in the request. Also allow controlling the
default endpoint version and scheme.

* Added missing NAMESPACE declaration to keystone deployment
as this is required for entrypoint to discover resources
not in the 'default' namespace.

* Refactored all nodeSelector values to be consistent throughout
all charts
2016-11-25 16:27:18 -08:00
Alan Meadows
564f9757fc Refactor mariadb now that rbd PVCs can be leveraged
This large commit refactors mariadb and creates a utils and
openstack chart to facilitate installing all openstack
elemenets and supporting infrastructure.
2016-11-23 13:26:08 -08:00
Alan Meadows
5cefd39a72 update instructions; add note on values knobs 2016-11-17 13:25:44 -08:00
Alan Meadows
d4292d0c8a initial commit of ceph helm chart 2016-11-17 12:40:28 -08:00