28 Commits

Author SHA1 Message Date
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