Commit Graph

68 Commits

Author SHA1 Message Date
Pete Birley
0df7427dc4 Refactor start scripts, to support graceful termination
This PS add Barbican support, and moves all potentially container
specific logic into the service start script from the api manifests.

Also fixes a permissions issue with the nova-api, which incorrectly
had the NET_ADMIN capability.

Change-Id: I18fc1ea5d7aa70ea7dabb829361a3da57e905100
2017-06-05 17:37:22 -05:00
Darla Ahlert
c394d22112 Add Graceful Termination to all existing charts
This commit adds graceful termination to all existing charts.
It also adds a setting in the values.yaml file for clarity and
the ability to override if wished.

Change-Id: I42025e4be86d248be467c1d2f0980f864c4d440e
2017-06-05 12:38:26 -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
a5420f4290 Merge "Helm-Toolkit: Update naming to be explict and remove old functions." 2017-06-01 14:49:54 +00:00
Pete Birley
8c29949c0d Helm-Toolkit: Update naming to be explict and remove old functions.
This PS updates the way helm-toolkit functions are named to
reference the full path they are loacted at. This should make
development and debugging easier. Addtionally unused functions
have been pruned as well.

Change-Id: I03c553f1d01bccc70c86768b416b147c90d9b2f0
2017-05-31 19:52:02 +00:00
Pete Birley
5e193580ed Pod Disruption Budget: Set default to 0
With pod disruption budget set it is not possible to drain nodes
and perform other expected operations. This PS changes the default
value to 0, restoring the typically expected operation of pods.

Change-Id: I43ef35638c98caee2cf567487173399157000ada
2017-05-31 06:11:58 -05:00
Mark Burnett
de20cbb15d Use the standard Dockerhub MariaDB image
Addresses consistency issues that appear with autoincrement fields in
the existing chart, as demonstrated in [1].  It should allow automatic
recovery of 2 out of the 3 (default) cluster members.

It does not address automatic recovery of a complete shutdown of all
cluster nodes.

[1] https://review.openstack.org/#/c/465977/

Change-Id: I84c86e1862f03a6d381bf219b821ea3636049f0b
2017-05-25 08:56:35 -05:00
rwellum
ee3a370948 Rearranging Nova values to the same order as heat or glance.
The correct order is: 1. Replicas, 2. Lables 3. Images

Change-Id: Ib76dcfc9ad14890f42ad6624817ddb16f1ed16c7
2017-05-24 09:43:52 -04:00
Jenkins
80cd608f3d Merge "Nova: Disable virtlogd for Libvirt >1.3" 2017-05-24 13:06:09 +00:00
Pete Birley
5c9d0f9562 Nova: Disable virtlogd for Libvirt >1.3
This PS disables virtlogd for running libvirt >1.3

See: https://bugzilla.redhat.com/show_bug.cgi?id=1290357

Closes-Bug: 1686069

Change-Id: I27ab690ef41e99e23a57f42b0695b1becb101e69
2017-05-24 02:03:34 +00:00
Chris Wedgwood
afb3ba1caa Fix internalURL used by Cinder
Change-Id: I2b2b28bb253206e58e3440f08b0cfe401c714627
2017-05-24 00:21:33 +00:00
Larry Rensing
60aedd9748 Adding pod disruption budget for nova
This PS adds a default pod disruption budget for nova-api-osapi
and nova-api-metadata to ensure at least one replica of each pod
is running.

Change-Id: I5ab626f24b899ed34240731bfe075be1df7228c5
2017-05-18 17:28:39 +00: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
Jenkins
079613bf5b Merge "Nova: fix metadata service label" 2017-05-03 00:24:46 +00:00
Pete Birley
3d7b289719 Nova: Implement MVP config
This PS brings in an MVP config for Nova.

The changes to the Libvirt also permit operation on
RHEL family distros.

Closes-Bug: 1683195

Change-Id: I4ce8c9bd53164f1be719271e095edc31e2f3ae4b
2017-05-02 03:23:05 -05:00
Pete Birley
0b6f41e3f3 Nova: fix metadata service label
Change-Id: I5076d4d07dec68ee34e47ddf1dcd53be17cb5bbf
2017-05-01 16:29:59 -05:00
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:
 * 16508c32ee

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 afcf1c9848 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