2338 Commits

Author SHA1 Message Date
Jawon Choo
7bb4aed56c Tempest: add option to execute cleanup always
This PS makes to control cleanup action.
If there are FAILED cases, temepest-test returns non-zero code.
_run-tests.sh.tpl exit immediately without cleanup.
if set Values.conf.cleanup.force to true, cleanup is excuted always.

Change-Id: Ie2ffee8faa9561f8acb4dc762fcfa9a282477f50
Closes-Bug: #1788076
2018-08-22 18:12:44 +09:00
Pete Birley
98b3984ec7 Libvirt: Warn if hugetlb cgroup controller is enabled
This PS adds a warning if the hugetlb cgroup controller is enabled
as it prevents restarts of the libvirt pod without shutting down
kvm vms. The controller can be disabled by passing
`cgroup_disable=hugetlb` to the kernel params.

Change-Id: Idd26fd3c19191f3c3e0aeb6fa3efa9a4ec48ee54
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-16 11:21:53 -05:00
Pete Birley
da01b0c09c Libvirt: gracefully shutdown libvirt process on container stop.
This PS gracefully shutdowns the libvirt process on pod termiantion.

Change-Id: I4f7f2cac2e2a8586f5c40ac1ad556be74e29459a
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-16 15:25:47 +00:00
Anderson, Craig (ca846m)
c6987bf8e0 Libvirt: bugfix for lookup of free Hugememory pages
Change-Id: Ie4c43d5f32fcf6dc505badf54cd15846104c7a5a
2018-08-16 15:24:43 +00:00
Zuul
a8278b5d8e Merge "Armada: Add prometheus generated password to nagios chart doc" 2018-08-15 21:22:38 +00:00
Zuul
69413ef6e3 Merge "Make Ceph Mon port configurable" 2018-08-15 19:58:15 +00:00
Steve Wilkerson
cad26be06e Armada: Add prometheus generated password to nagios chart doc
This adds the password generated for the Prometheus admin user to
the nagios chart document, as it was overlooked with the change to
add prometheus basic auth to the manifest

Change-Id: Id51e07a17df91154585ca659356b37c0042a2407
2018-08-15 09:10:09 -05:00
Zuul
aa0e52c7b3 Merge "Update doc build to use py3" 2018-08-15 12:41:36 +00:00
Zuul
65026c6a12 Merge "Add Prometheus auth to armada multinode deployment" 2018-08-15 00:10:58 +00:00
Renis
f3b7c7fc82 Make Ceph Mon port configurable
- make mon port overridable through env variable
- update ceph.conf to include fqdn with port number
- add mon_add: to ceph global conf
- updating ClusterRoleBinding name for cephfs and rbd
 provisioner.
- remove unused network.port section as we specify ports
 through endpoints

With these changes, ceph mon can run on different port

Change-Id: I8af2bbe3ee84fd3692bdff92d821b9621a6d53c9
2018-08-13 14:12:51 -07:00
Tin Lam
c90cf794da Update doc build to use py3
Per Stein community goal [0], update the doc build to use python 3 by default.

[0] https://governance.openstack.org/tc/goals/stein/python3-first.html

Change-Id: I3992632a0768b4da0dedf2450e532d2724fc2e05
Signed-off-by: Tin Lam <tin@irrational.io>
2018-08-11 22:58:38 -05:00
Zuul
64cb013dff Merge "Docs: update proxy troubleshooting guide" 2018-08-11 21:01:22 +00:00
Drew Walters
0f4958d6f9 Docs: update proxy troubleshooting guide
Currently, the proxy troubleshooting guide does not include the IP
address of the Kubernetes API in the defined environment or Ansible
playbook variables. This causes deployments to fail when requests are
routed through proxy servers. This change adds a proxy configuration
section to the beginning of the installation guide and includes the
process of adding the Kubernetes API IP address to the environment and
Ansible playbook variables. It also removes the unecessary sections from
the troubleshooting guide and upgrades the note about resolv.conf being
overwritten to a warning.

Change-Id: I1ff753517b387027f0cc052b18e8822b638cfb4d
2018-08-08 08:06:40 -05:00
Zuul
fbfcb51c31 Merge "postgresql prometheus exporter" 2018-08-08 10:05:41 +00:00
Rakesh Patnaik
3e01bab892 postgresql prometheus exporter
Change-Id: I1559b77e7e9e980f14ed1322aaa1d61797747230
2018-08-07 13:11:14 -05:00
Pete Birley
7a8ef5f1bb Keystone: move all configuration to be values driven
This PS moves the keystone chart to be linine with other OSH
components and drives all config via the charts values.yaml

Change-Id: I14ee6ede0a87619ecbb2c56d0edf82ffbc5606be
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-05 08:39:17 -05:00
Pete Birley
4a6d740154 Keystone: Stop running keystone container with root user
This PS updates the keystoen chart to stop running the keystone api
as the root user.

Change-Id: If3042210f761476846da02fc8e648c700267a591
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-04 10:06:32 -05:00
Zuul
5038d92b4f Merge "Gate/Developer: default to newton deployment config in glance" 2018-08-03 23:23:31 +00:00
Pete Birley
5f349ae653 Keystone: Disable v2 api
This PS disables the v2 keystone API, and finishes the migration to
full v3 support.

Change-Id: I3021ebe0bee668db9f28e7fb18e2d4b26172f209
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-03 14:50:45 +00:00
Steve Wilkerson
e73c90c8e6 Add Prometheus auth to armada multinode deployment
This adds a dynamically generated password for Prometheus to
build on the inclusion of basic auth for Prometheus in osh-infra

Depends-On: https://review.openstack.org/543553
Change-Id: I344b8326829c7816a5ce79529aa1a0f74df52dbd
2018-08-03 02:58:30 +00:00
Steve Wilkerson
fe8c56e778 Armada: Add Nagios to armada-lma manifest
This adds nagios to the armada-lma manifest and includes it in
the monitoring chart group

Depends-On: https://review.openstack.org/#/c/587972/
Change-Id: Id4c8f805dbc4472f9b49d19d2e0307d722dd7196
2018-08-02 18:58:33 +00:00
Zuul
b282daa901 Merge "Keystone: enable external access to admin endpoint" 2018-08-02 18:09:11 +00:00
Zuul
f008db997f Merge "Nova: move rootwrap config to be values.yaml driven" 2018-08-02 16:34:45 +00:00
Pete Birley
dc7008d9a5 Keystone: enable external access to admin endpoint
This PS moves to use port 80 by default for the keystone
asdmin endpoint, and adjusts paths accordingly.

Change-Id: Iccae704dadc17eba269e857301654782f64763c9
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-02 14:40:20 +00:00
Pete Birley
758067bded Nova: move rootwrap config to be values.yaml driven
This PS updates the nova rootwrap config to be values.yaml driven,
inline with neutron and cinder.

Change-Id: I3df7e7de583a75234a6bc4a71a32bd0a8d369332
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-01 22:08:17 +00:00
Zuul
67cedf403a Merge "Libvirt: allow the libvirt config to include list params" 2018-08-01 20:48:52 +00:00
Zuul
138927dd3e Merge "Fix invalid policy rule" 2018-08-01 19:12:07 +00:00
Pete Birley
2b20d818a8 Libvirt: allow the libvirt config to include list params
This PS udpates the libvirt chart to correctly handle listed params.

Change-Id: I73d71a8d10b99420d3f1c69be476cf7ca4927951
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-01 11:39:13 -05:00
Zuul
36942c58be Merge "OVS: update container privs" 2018-08-01 16:19:35 +00:00
Zuul
e31a1632dc Merge "Nova: Move nova sudoers file to be drive fully by values.yaml" 2018-08-01 15:56:13 +00:00
Pete Birley
d5ec0ed586 Gate/Developer: default to newton deployment config in glance
This PS udpates the developer scripts to deploy glance with configuration
that allows operation with heat by default with newton based deployments.

Change-Id: If77ad095c82fc5a28ee3acd3cca295e17f4f7939
Signed-off-by: Pete Birley <pete@port.direct>
2018-08-01 10:20:39 -05:00
Gage Hugo
f57aba1fab Fix invalid policy rule
As reported in OSSN-0083[0], "get_identity_providers" is invalid
and should be singular "get_identity_provider". The former rule
is ignored, this change to make the rule singular fixes this
issue.

[0] https://wiki.openstack.org/wiki/OSSN/OSSN-0083

Change-Id: I479bcda89b0be0056717864e79269b8d071d98ec
2018-07-31 17:07:12 -05:00
Pete Birley
108d9606d7 OVS: update container privs
This PS updates the privs granted to the OvS containers.

Change-Id: Ie50ae5692dbf67c19f55521a5cb46308480f737a
Signed-off-by: Pete Birley <pete@port.direct>
2018-07-31 20:50:32 +00:00
Zuul
c88ed011db Merge "Fix ceph version check error in jewel version." 2018-07-31 19:19:42 +00:00
Zuul
29e920f83d Merge "Tempest: change manifests.pvc to pvc.enabled from pvc-tempest.yaml" 2018-07-31 16:28:58 +00:00
Pete Birley
5d9519b396 Nova: Move nova sudoers file to be drive fully by values.yaml
This PS brings novas sudoers file config to be in line with neutron
and other osh charts.

Change-Id: I609455b1a58e576644b8a6cfb8b273d5aeb94c58
Signed-off-by: Pete Birley <pete@port.direct>
2018-07-30 18:24:43 -05:00
Pete Birley
beda7f7748 RabbitMQ: move RabbitMQ chart to OSH-Infra
This PS moves the RabbitMQ chart to OSH-Infra

Story: 2002204
Task: 585554
Depends-On: https://review.openstack.org/#/c/585746

Change-Id: Ia57e63bbfb7d4266d58711cfb5644ecad34e2280
Signed-off-by: Pete Birley <pete@port.direct>
2018-07-30 15:08:05 -05:00
Zuul
6ecd0bd133 Merge "Glance: disable V1 API and registry" 2018-07-30 15:39:02 +00:00
Zuul
461e019b2a Merge "Gate: allow OS release version to be used in scripts" 2018-07-30 15:32:05 +00:00
Pete Birley
664bdc8a1e Glance: disable V1 API and registry
This PS disables the depreciated glance V1 API and registry
by default. For newton gates the registry is enabled, as newton
heat still used it.

Change-Id: Ia6bd4382750bde1b0a0e4db174d2de11626a1826
Signed-off-by: Pete Birley <pete@port.direct>
2018-07-29 17:14:05 -05:00
Pete Birley
a9d23fbb6e Gate: allow OS release version to be used in scripts
This PS updates the gate playbooks to both be slightly more
uniform in their instantiation, and also exposes the targeted
openstack release as an env var in scripts ran.

Change-Id: I4a2ab99bd3b1586703bf53e54231b0f08623a7d8
Signed-off-by: Pete Birley <pete@port.direct>
2018-07-29 19:38:53 +00:00
Zuul
98463fa37f Merge "Fix to configure RABBIT_CAPABILITIES" 2018-07-29 18:06:06 +00:00
Pete Birley
460b1cea29 Memcached: move Memcached chart to OSH-Infra
This PS moves the Memcached chart to OSH-Infra

Story: 2002204
Task: 21727
Depends-On: https://review.openstack.org/#/c/585553

Change-Id: Iabf15db6d14df7e6b7246f8abb9d2e97f6d96172
Signed-off-by: Pete Birley <pete@port.direct>
2018-07-29 15:00:49 +00:00
DaeSeong Kim
4c22bbb7a2 Fix to configure RABBIT_CAPABILITIES
This PS fixes the rabbitmq exporter configurations.

Now, RABBIT_CAPABILITIES env values can not be set because of dummy
values.

After fix values, it needs to upgrade exporter image version because
of string parsing problem in the exporter.

Additional, bert option is added.

https://github.com/kbudde/rabbitmq_exporter

Change-Id: Ida5fae0697c59023eb8a605a13f0279138929969
2018-07-29 14:56:52 +00:00
Pete Birley
12d47b8968 ceph-osd: Make hash calculcation deterministic
Go returns the keys of a map in arbitrary order, so the name of DaemonSets
which includes a hash over all matchExpressions could change when upgrading
releases eventhough the node or label selector hasn't changed.

Change-Id: I882c7b51d52ba4ace99b8a8830725ae38a1c3b94
Co-authored-by: Lars Fenneberg <lf@elemental.net>
Signed-off-by: Pete Birley <pete@port.direct>
Story: 2002774
2018-07-29 11:26:45 +00:00
Pete Birley
d003a082c8 Logging: Only output std logs to stdout
This PS removes the double logging of openstack components that
were caused by outputting to both stdout and stderr.

Change-Id: I6e0ae5861bbf5b8d736ae08251aa865e1c4ce0d8
Signed-off-by: Pete Birley <pete@port.direct>
2018-07-27 11:01:30 +00:00
Pete Birley
1925a6e61b Keystone: enable service catalog endpoint updates
This PS adds a script to update the keystone catalog endpoints
for keystone itself, as the keystone-bootstrap will not update
these once created.

Change-Id: Ie48c71bbdc9bbd14cebcee46285b3bf51bd28065
Signed-off-by: Pete Birley <pete@port.direct>
2018-07-26 21:24:57 +00:00
Zuul
e9f3eba315 Merge "Ingress: move ingress chart to OSH-Infra" 2018-07-26 17:33:38 +00:00
Pete Birley
2eb18629a9 Ingress: move ingress chart to OSH-Infra
This PS moves the ingress chart to OSH-Infra

Story: 2002204
Task: 21733
Depends-On: https://review.openstack.org/585550
Change-Id: Ie5b511def55dcd481eb291c6b309af61c66e0416
Signed-off-by: Pete Birley <pete@port.direct>
2018-07-26 13:28:22 +00:00
Seungkyu Ahn
8d709b31a9 Fix ceph version check error in jewel version.
In a jewel version, egrep -c "12.2|luminous" returns "0",
but execution will be error.
So, add pipe and echo command to make a success.

Change-Id: I94f45855f6510e747884d8b6a629a62c3d96adbd
2018-07-26 16:15:57 +09:00