51 Commits

Author SHA1 Message Date
Dae Seong Kim
9672d2b184 hotfix to change cephclientglancekeyring key
cephclientglancekeyring key is removed. so it needs to be changed
to glance-etc.

Closes-Bug: #1692459
Related-Bug: #1691011
Change-Id: Ie4b45648a68069c910dbe47c53c4f091dc424da7
2017-05-22 20:46:31 +09:00
Jenkins
d2de9550f0 Merge "Adding pod disruption budget for glance" 2017-05-19 20:46:26 +00:00
Larry Rensing
3067a60468 Adding pod disruption budget for glance
This PS adds a default pod disruption budget for glance-api and
glance-registry to ensure at least one replica of each is running.

Change-Id: I06364bc2bb816fd4877353857b1adfb13a35a0a7
2017-05-18 16:20:22 +00:00
Dae Seong Kim
b58c5d2515 move ceph info under conf property
Now ceph.enabled property in values.yaml file is not used anywhere
and almost all configuration about ceph is moved under conf property.
In addition, default values.yaml file has no ceph.glance_user property
and still the property is used in templetes.

It looks it's time to move remained ceph properties under conf tree
and remove ceph tree.

Closes-Bug: #1691011
Change-Id: I98f7a85eef517ab806432a7342aa3601e8183e0b
2017-05-18 11:44:20 +09:00
Larry Rensing
fea453ba72 Consolidate volumes across charts
This PS standardizes configmap mounts across all charts to be named
<project>-etc or <project>-bin.  This reduces the amount of volumes
listed in each file.

Change-Id: Idbaf495fa243bb9ea0f6ad755ca4f899d5fc0d6f
2017-05-16 15:49:51 +00:00
Michał Dulko
d95bad0b5c Add project mascots as charts icons
OpenStack Foundation started serving project mascots files on
openstack.org. This commit adds URLs to those files as chart icons for
OpenStack projects.

Change-Id: I2482174cd1d9a0f32df91d7d81974a0dc37f5c4d
2017-05-09 14:28:11 +02:00
Pete Birley
67d80770e6 Gate: Refactor and setup for integration gating
This PS tidies up the gate and introduces the intial framework
for integration gating.

Change-Id: I0bbdfa2088e9ebbe86640c79df4d8b716d9a9705
2017-05-05 11:33:56 -05:00
Pete Birley
caf549386b Glance: make PV flexible
This PS makes the PV used for the file backend flexible, allowing
operators to specify the annotation and size used/allocated.

Change-Id: I6d153143f9cc268c4c543e392ddf115e5db67a57
2017-05-02 22:31:26 -05:00
Pete Birley
983c6c0c74 Glance: Change default bootstrap image to Cirros
The default bootstrap image for glance was Ubuntu 16.04, which was a
>200Mb download, and is not sutiable for testing in low memory
environments. This moves to the Cirros image which is suited to
this sort of usage.

Change-Id: I3c22f961c43ee68c24e23eb6b483c165540337bd
2017-04-26 16:10:39 -05:00
Pete Birley
489b641d33 Glance Config Overrides
This commit moves Glance to use the configuration methods from Heat,
Nova, Neutron and Keystone.

It includes a _values-mvp.yaml that applies values suitable for using
a file backend, including the auto creation of a PVC.

Change-Id: I55a96982a7d0adbc118492aff4b56adf127b2cd1
2017-04-25 15:59:09 -05:00
Darla Ahlert
914116395d chart.yaml enhancement: glance
Change-Id: Ife3d94d5fc5a61397e75ed80aa783bc6a55c737c
2017-04-18 14:08:15 -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
Brandon B. Jozsa
a27261415c Update Glance image values
These changes pick a standard image for use with OSH.

Change-Id: I7588955220a343b1b781ead004d22cd373732dfd
2017-04-14 10:38:55 -04:00
Pete Birley
80f93c1c38 Updated initcontainer for glance-bootstrap job 2017-04-07 14:32:43 -05:00
wilkers-steve
7fc4a735af Merge pull request #294 from larryrensing/feat/bootstrap-services-glance
feat: image bootstrap for glance
2017-04-06 16:17:07 -05:00
wilkers-steve
d0a9bd2202 Merge pull request #289 from portdirect/0.3.0/db-management-job-scripts
feat: replace ansible with PyMySQL for DB Creation
2017-04-06 08:39:05 -05:00
Brandon B. Jozsa
c681fdc54e Merge pull request #314 from alraddarla/feat/finish-nodeports
Add NodePort to remainder of services
2017-04-04 14:02:14 -04:00
Pete Birley
64bbf6700c Update Glance DB Jobs 2017-04-04 11:33:42 -05:00
Brandon B. Jozsa
b83ce91f1e WIP: ToC Preparation for Openstack (#296)
* complete docs refactor

* replaces /data references in favor of /var/lib/localkube - fixes #95

* additional layout changes

* additional operations layout

* readme updates and versioning updates to multinode doc

* remove dragons

* project goal clarity

* remove 'magic'

* clean up container image concerns

* slight verbiage change

* charts not hard coded

* small change requested

* reconfiguration

* updates to minikube docs
2017-04-01 09:19:32 -07:00
Darla Ahlert
bdf1c242ed Add NodePort to remainder of services 2017-03-31 10:34:21 -05:00
Alan Meadows
3886ba09e9 update other entrypoint macrros correctly this time 2017-03-22 12:31:37 -07:00
Alan Meadows
0537f138ac update other entrypoint macrros with empty mounts parameter until they are refactored 2017-03-22 12:30:21 -07:00
Larry Rensing
c687ea779d added ability to bootstrap glance image 2017-03-21 13:39:07 -05:00
Pete Birley
43df15137d update kubernetes-entrypoint version 2017-03-19 21:48:29 -05:00
Pete Birley
f057460303 Remove unused post script from glance 2017-03-15 12:12:40 -05:00
Pete Birley
a5e1d7c608 Update Glance Keystone Jobs to match common architecture 2017-03-15 12:09:10 -05:00
Pete Birley
acc243a768 Move Glance to endpoint type lookups 2017-03-03 01:08:59 +00:00
Brandon B. Jozsa
a0c80ac038 add license headers to glance 2017-02-17 09:59:51 -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
Marcellin Tchassem
fc21a2e924 Add resources limits and requests for some charts (#163)
* Add resources limits and requests for each chart

* Refactor the resources limits and requests to follow a patern

* Fix some coding issues

* fix issues resulting from feedback on the resources PR

* Reset some variables to a static value in the neutron chart.

* Substituting variable entrypoint by dependency_check in the concerned files

* Few adjustments

* Update deploy-region.yaml

* Update deployment.yaml

* Add resources limits and requests for each chart

Squah all commits in one.

* Add resources limits and requests for some charts

* cleaning

* Fix indendation issue

* Update deployment.yaml

* Update daemonset-ovs-vswitchd.yaml
2017-02-01 19:47:59 -08:00
Pete Birley
8317202e3d Standardise DB Job names
Standardise the DB creation job name to service-db-init for all services.
2017-01-22 05:45:30 +00:00
Pete Birley
1a13f9ba83 Add support for daemonsets to the Kubernetes-Entrypoint init-container.
It also makes two other changes:

 * Moves the entrypoint container manifest snippet to its own file to reduce loading on the _funcs.tpl file
 * Changes dep-check-init-cont to dep_check_init_cont to match the formatting of other defines used in OpenStack Helm
2017-01-22 05:35:31 +00:00
Alan Meadows
2edf1bcc99 Bugfixes for functional release tagging
* Allow glance to support using default secrets
  if none are provided

* Resolve configmap mounting issue with glance
  ceph secrets

* Ensure keystone wsgi workers/threads are set to
  reasonable numbers for a container implementation
2017-01-20 09:30:08 -06:00
Pete Birley
09efab76ca Add glance registry config mounts 2017-01-20 01:21:48 +00:00
Pete Birley
b1ce9b093b Add glance registry config 2017-01-20 01:19:37 +00:00
Pete Birley
b31a365aea Fix glance containers entrypoints
Also improves glance containers volume specification yaml.
2017-01-20 01:05:07 +00:00
Pete Birley
f498fcb6dd fix typos in init-container merge 2017-01-19 23:49:22 +00:00
Steve Wilkerson
182a27ea7f Add glance config-dir
Added --config-dir flag to the glance-api command
2017-01-19 17:32:58 -06:00
Alan Meadows
ce47732a6b Merge branch 'upstream_master' into glance_changes 2017-01-19 17:09:55 -06:00
DTadrzak
71427ce905 A few changes according to intlabs's review.
Signed-off-by: DTadrzak <daniel.tadrzak@intel.com>
2017-01-16 10:47:43 +01:00
Steve Wilkerson
b4d873e1a1 Fix file name in configmap-etc.yaml
Overlooked a file extension in one of the data entries in the
etc configmap.
2017-01-15 16:40:52 -06:00
Steve Wilkerson
393ed4cf47 Culmination of glance changes
Due to some messy rebases and a botched git history, implemented
all changes into one PR
2017-01-13 15:40:38 -06:00
DTadrzak
f4283675d5 Adjust formatting
Signed-off-by: DTadrzak <daniel.tadrzak@intel.com>
2017-01-13 13:44:16 +01:00
DTadrzak
d3d38876c8 A few changes according to Alan's review.
Signed-off-by: DTadrzak <daniel.tadrzak@intel.com>
2017-01-13 13:34:28 +01:00
DTadrzak
fcc594aac8 Adding: templates for init-containers. Unfortunately I need to break it for
two templates, because i don't how to pass two variables to template.

PR also adjust layout of configuration files in Nova.

Signed-off-by: DTadrzak <daniel.tadrzak@intel.com>
2017-01-13 13:33:51 +01:00
DTadrzak
6f124d5107 Adding NodeSelector field to Jobs
According to #101

Signed-off-by: DTadrzak <daniel.tadrzak@intel.com>
2017-01-11 15:01:58 +01:00
Alan Meadows
c9d27bac4d Add rolling update parameters to all current charts
This ensures that all charts have a consistent and overridable
approach to their pod replacement strategies, along with sane
defaults.
2017-01-09 15:08:46 -08:00
Alan Meadows
bcf23c7399 Endpoint lookup fixes for consistent keystone catalog endpoints
This introduces changes across several charts, for consistent
endpoint lookup routines.  Today, only the internal endpoints
are defined (and copied to admin and public).  This can later
be expanded to handle unique public and admin endpoints.

This ensures the catalog is populated with consistent URLs
for all services.
2017-01-03 12:20:26 -08:00
DTadrzak
c22e7ba78d Another Glance-fix.
Without those changes i wasn't able to run glance-post.
Necessary changes in order to make glance-post work.

Signed-off-by: DTadrzak <daniel.tadrzak@intel.com>
2016-12-20 17:27:42 +01:00
Alan Meadows
77894d763b Fixes toward working glance chart
* imagePullPolicy requirements for init-containers in 1.5

* dependency tree specified mariadb-init, when there is only a
mariadb-seed job to depend on

* the requirements.yaml should not include any chart in this
repository other then common as that severely complicates
removing charts as all dependent elements are removed with it

* the post.sh.yaml has HOME set to /tmp which will not read
/home/ansible configuration.  It was unclear if this was by
design, but /home/ansible seems like an important part of the
kolla toolbox

* the post.sh.yaml file had quoting typos, but even when they are
fixed the job/glance-post will not run to completion, complaining
of a missing kolla_keystone_service module
2016-12-16 15:16:36 -08:00