50 Commits

Author SHA1 Message Date
Pete Birley
60d01e54cc Nova: move to startup scripts.
This PS moves the container start commands to scripts, which makes
debugging and overriding of container launch params easier.

Change-Id: Ibf5cda2218111360183b8a5eb993c717be84076c
2017-05-01 11:50:39 -05:00
Pete Birley
1ba6ec05b6 Nova: Update volume mount params
This commit update the volume mounts in pods to ensure:
 * Config files and scripts are mounted readonly
 * volume mounts added for bootstrap job

Co-Authored-By: Larry Rensing <lr699s@att.com>

Change-Id: I1e89419858c0f72b705ad9b7968ec01bfaab5740
2017-04-28 19:06:19 +00:00
Artur Korzeniewski
0e25aa5719 Nova chart: libvirt connection uri typo
Correction of libvirt uri, since it contained "connecton" not "connection".

Change-Id: I57d7c3f6b9fd43562cfb7fa9a5cc59e1bdfa8a29
2017-04-24 15:52:21 +02:00
Artur Korzeniewski
1a62ad8bc7 Nova chart: fix nova->neutron API communication
Removing domain_name from nova.conf in neutron section. domain_name and
project_name cannot be declared in the same section in the same time
for keystone auth.
Otherwise the exception is raised:
AuthorizationFailure: Authentication cannot be scoped to multiple targets.
Pick one of: project, domain, trust or unscoped

Change-Id: I55072d3662a9bfeb76725e5f0b4612b68e980605
2017-04-21 15:39:46 +02:00
Pete Birley
abc916cb6e chart.yaml enhancement: nova
Change-Id: Ifb002c0eb29f73e4ed58f841bcdb334797ef4e1f
2017-04-18 09:30:44 -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
Pete Birley
72b906882f Move Nova images to Kolla
This PS moves Nova to Kolla produced and published images:
 * This is part of a larger effort to move to a single image source
 * Stackenetes Newton images do not run with the systemd cgroup driver
   in my testing.

Change-Id: I10fff6e9f2977104726c8a2f34090a86e524b661
2017-04-12 18:07:45 -05:00
Steve Wilkerson
e177e7a27b Changed project names in values
Some projects had the wrong project name in values. This updates
the projects names accordingly

Change-Id: I88b49d9fe4cc155c401c65b8bd16d970008f780f
2017-04-12 10:41:58 -05:00
Pete Birley
d04120cbd2 Remove trailing whitespace from Nova Chart
The Nova Chart had a large amount of extranious whitespace at the
end of lines, this commit rectifies that.

Change-Id: I7dd483010388f6c59971ccddb77d2e57b4479e08
2017-04-12 01:11:28 -05:00
Pete Birley
93e3297a2f Update Nova DB-Init jobs to match other services
This commit updates the Nova DB init jobs to match those of other
OpenStack Helm Services, it completes the work to move away from
Ansible for DB management.

Change-Id: I2e53846f917a56448392cfebe5d8548f96e3eed2
2017-04-11 15:47:12 -05:00
Pete Birley
9979444a6a Fix nova config file
This commit resolves an error that was introduced in:
 * 16508c32eec11a96e011b6eff66081484d65ffdf

It also moves to a mostly autogenerated config file produced
by the Docker Container within the openstack-helm repo.

Additionally it also removes some extranious whitespace

Change-Id: I3b6d153c89783fa5f818df7d416c565a3d682552
2017-04-11 15:16:20 -05:00
Steve Wilkerson
781517ab52 Add missing nova-bin volume for nova-libvirt
Nova-libvirt was missing the nova-bin volume. This simply adds it
back in

Change-Id: I0ca86b5c6942b4cb4d6cb9a01489af230e8407e2
2017-04-11 14:27:13 -05:00
Alan Meadows
16508c32ee Nova Configuration Override (#319)
* Initial Commit of Nova Configuration Overrides

This commit is an evolution of the initial keystone configuration
overrides work

It expands upon that work by introducing many of the same concepts
into nova.  It differs in that a few concepts were changed.  Namely
the helm-toolkit/_oslo.tpl concept was abandoned, as there are too
many unique oslo paths for configuration elements, so dynamic oslo
setting mechanism was moved locally into configmap-etc.yaml, where
it is generally used.

Secondly, in nova the mount override effort was altered to instead
provide mount "append" capability.  Keeping the manifest mounts
closer to the actual pod, and keeping values.yaml a tad smaller.
This still allows the original flexibility of operators adding
mounts, but they cannot "undo" any of the charts built in mounts.

There were several manual tweaks that needd to be done to _nova.conf.tpl
after the oslo-config-gen process this time.  This is because there is a
bug in the newton version of generating this file. It does not include
the proper service authentication credentials in the [keystone_authtoken]
section.  Future releases have a separate service credentials section
so future config generations will likely not need these added lines.

* Remove unused values.yaml parameters

Fix references to removed helm-toolkit oslo macro

* resolve nova feedback

* bugfix nova-etc/nova-bin swap
2017-04-10 14:41:41 -05:00
Steve Wilkerson
400ab48013 Updated label for nova-bootstrap job to match new labels for nova 2017-04-07 14:27:46 -05:00
wilkers-steve
4cec28b1f5 Merge pull request #302 from renmak/stnd_control_plane_node_issue_207
Issue #207 Stnd control plane node issue
2017-04-07 10:16:47 -05:00
Renis Makadia
f020ef6607 Fixed issue #207 by Updated Nova’s Label (key/value pair) and Replicas for consistency in values.yaml. 2017-04-06 15:49:47 -07: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
Michał Dulko
83288872c4 fixes #324: Add missing "[]" to job-bootstrap.yaml
Commit afcf1c98485 was merged with obsolete syntax, causing nova
installation to fail as nova/templates/job-bootstrap.yaml was
incorrectly generated. This commit fixes this.
2017-04-04 14:38:37 +02:00
Larry Rensing
afcf1c9848 feat: adding flavor bootstrap for nova (#290)
* adding flavor bootstrap for nova

* now using openstack cli, changed bootstrap job logic
2017-04-01 09:38:49 -07:00
Darla Ahlert
bdf1c242ed Add NodePort to remainder of services 2017-03-31 10:34:21 -05:00
Brandon B. Jozsa
203520652e Merge pull request #284 from wilkers-steve/nova_ceph_template
bug: Add missing template for nova configmap-etc
2017-03-23 16:35:29 -04: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
Pete Birley
43df15137d update kubernetes-entrypoint version 2017-03-19 21:48:29 -05:00
Steve Wilkerson
f1fd705852 Add missing template for nova configmap-etc
The ceph client cinder keyring template was missing from nova's
etc templates. This simply adds it in for the nova configmap to
consume
2017-03-15 14:33:11 -05:00
Pete Birley
661de5be9e Remove extraneous items from configmaps 2017-03-15 14:24:09 -05:00
Pete Birley
38407e9378 Update Nova Keystone Jobs 2017-03-14 09:54:35 -05:00
Pete Birley
6b552087aa Fix post.sh for Nova with KS Endpoint type lookup function 2017-03-07 01:36:13 +00:00
Pete Birley
5b77f5d4de KS endpoint type lookup for Nova 2017-03-07 00:43:13 +00:00
wilkers-steve
5f0ffce99b Remove lost "Hello World" message (#229)
Someone misplaced their "Hello World" debug message. It's been
removed and returned to its owner
2017-02-23 14:28:06 -05:00
Brandon B. Jozsa
3099ccc649 add license headers to nova 2017-02-17 13:53: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
maris-accenture
1e7203a523 #106 CPU and memory resources (#106)
* resource requests and limits for cinder, heat, nova
2017-01-30 16:22:51 -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
Pete Birley
f498fcb6dd fix typos in init-container merge 2017-01-19 23:49:22 +00:00
Pete Birley
e9ae4bb3ca pull-policy-fix 2017-01-19 23:15:52 +00:00
Brandon B. Jozsa
2ff55135cc Merge pull request #104 from DTadrzak/init_container_template
Init-container templates
2017-01-19 16:53:52 -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
mattmceuen
16066adf11 Trued up nodeselector values for nova and neutron
The Nova and Neutron charts use more granular node labels;
this trues up the their jobs' nodeselectors to use them.

Fix for https://github.com/att-comdev/openstack-helm/issues/119
2017-01-15 15:25:40 -06: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
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
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
d5d3a6fda5 Fix daemonset dependency name to match neutron rename 2017-01-10 15:22:50 -08:00
Alan Meadows
7c6e26f1ba Add rolling update and template hashing to new nova chart 2017-01-09 15:33:04 -08:00
Alan Meadows
bab75eff7f Keep consistent with our set -ex approach on all shell scripts 2017-01-09 08:36:08 -08:00
Alan Meadows
943b5a3706 Bugfix missing space to start nove-api 2017-01-09 08:22:25 -08:00
Alan Meadows
88a85ae7d5 Implement requested feedback in PR#91
- Split out osapi and metadata api to remove unnecessary security privileges

- Prune dependencies

- Fix static imagePullPolicies

- Remove extraneous start.sh imported accidently from keystone chart
2017-01-09 07:49:44 -08:00
Alan Meadows
8afa729ffb OpenStack Nova Helm Chart Initial Commit
This is an initial commit of a functional nova chart.  It has been
tested with the neutron chart using a flat network configuration.
2017-01-04 13:19:04 -08:00