Repository for OpenStack Helm infrastructure-related code
Go to file
Cliff Parsons 4964ea2a76 Fix drop databases issue in Postgresql restore
Recently, the Postgresql backups were modified to generate drop database
commands (--clean pgdumpall option). Also for single database restore,
a DROP DATABASE command was added before the restore so that the
database could be restored without duplicate rows. However, if there are
existing database connections (by the applications or other users), then
the drop database commands will fail. So for the duration of the restore
database operation, the databases being restored need to have their
existing connections dropped and new connections prevented until the
database(s) restored, then connections should be re-allowed.

Also found a problem with psql returning 0 (success code) even though
there were errors during its execution. The solution is to check the
output for errors and if there are any, dump out the log file for the
user to see and let the user know there are errors.

Lastly, a problem was found with the single database restortion, where
the database dump for a single database was being incorrectly extracted
from the psql dump file, resulting in the database not being restored
correctly (most of the db being wiped out). This patchset fixes that
issue as well.

Change-Id: I4db3f6ac7e9fe7cce6a432dfba056e17ad1e3f06
2020-06-30 19:39:00 +00:00
ca-issuer Introduces templates linting 2020-06-11 23:29:42 -05:00
calico Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
ceph-client Merge "Enable key-duplicates and octal-values yamllint checks" 2020-06-18 04:49:03 +00:00
ceph-mon Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
ceph-osd [ceph-osd] Liveness probe success in preboot state with noup flag 2020-06-26 11:37:18 -05:00
ceph-provisioners Revert "[ceph-client] Update ceph-mon port." 2020-06-19 22:16:16 +00:00
ceph-rgw [ceph-rgw] Add rwg restart job 2020-06-25 13:15:56 +00:00
daemonjob-controller Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
doc Switch to newer openstackdocstheme version 2020-05-31 20:30:30 +02:00
elastic-apm-server Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
elastic-filebeat Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
elastic-metricbeat Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
elastic-packetbeat Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
elasticsearch Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
etcd Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
falco Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
flannel Enable yamllint rules for templates 2020-06-17 13:13:53 -05:00
fluentbit Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
fluentd Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
gnocchi Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
grafana Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
helm-toolkit Fix return code when backup to remote rgw fails 2020-06-30 16:29:38 +00:00
ingress Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
kafka Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
kibana Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
kube-dns Introduces templates linting 2020-06-11 23:29:42 -05:00
kubernetes-keystone-webhook Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
kubernetes-node-problem-detector Add node-problem-detector chart 2020-06-22 13:00:55 -05:00
ldap Enable yamllint rules for templates 2020-06-17 13:13:53 -05:00
libvirt Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
local-storage Introduces templates linting 2020-06-11 23:29:42 -05:00
lockdown Introduces templates linting 2020-06-11 23:29:42 -05:00
mariadb Mariadb backup/restore enhancements 2020-06-24 21:13:21 +00:00
memcached Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
metacontroller Add more fields with verbose description to CompositeController. 2020-06-27 00:15:09 +05:30
mongodb Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
nagios Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
namespace-config Introduces templates linting 2020-06-11 23:29:42 -05:00
nfs-provisioner Introduces templates linting 2020-06-11 23:29:42 -05:00
openvswitch fix(ovs): add capability to openvswitch 2020-06-18 17:07:40 +00:00
playbooks Remove duplicate lint job entry and script 2020-06-22 12:31:25 -05:00
podsecuritypolicy Enable yamllint rules for templates 2020-06-17 13:13:53 -05:00
postgresql Fix drop databases issue in Postgresql restore 2020-06-30 19:39:00 +00:00
powerdns Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
prometheus Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
prometheus-alertmanager Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
prometheus-kube-state-metrics Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
prometheus-node-exporter Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
prometheus-openstack-exporter Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
prometheus-process-exporter Enable yamllint rules for templates 2020-06-17 13:13:53 -05:00
rabbitmq Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
redis Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
registry Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
releasenotes/notes Introduces templates linting 2020-06-11 23:29:42 -05:00
roles Update keyword to become instead of sudo 2020-06-16 21:52:00 +00:00
tiller Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
tools Add node-problem-detector chart 2020-06-22 13:00:55 -05:00
zookeeper Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
zuul.d Add more fields with verbose description to CompositeController. 2020-06-27 00:15:09 +05:30
.gitignore HTK: update .gitignore to exclude htk development files 2019-01-28 10:56:35 -06:00
.gitreview OpenDev Migration Patch 2019-04-19 19:34:11 +00:00
CONTRIBUTING.rst Add Project Specific Contributor and PTL Docs 2020-04-24 20:59:44 +02:00
Makefile Remove OSH Authors copyright 2020-05-07 02:11:15 +00:00
README.rst Add Project Specific Contributor and PTL Docs 2020-04-24 20:59:44 +02:00
setup.cfg Cleanup py27 support and docs 2020-04-11 15:26:50 +02:00
setup.py Add docs to openstack-helm-infra 2018-05-15 13:04:28 -05:00
tox.ini Introduces templates linting 2020-06-11 23:29:42 -05:00
yamllint-templates.conf Enable key-duplicates and octal-values yamllint checks 2020-06-17 13:14:30 -05:00
yamllint.conf Introduces templates linting 2020-06-11 23:29:42 -05:00

Openstack-Helm-Infra

Mission

The goal of OpenStack-Helm-Infra is to provide charts for services or integration of third-party solutions that are required to run OpenStack-Helm.

For more information, please refer to the OpenStack-Helm repository.

Communication

  • Join us on IRC: #openstack-helm on freenode
  • Community IRC Meetings: [Every Tuesday @ 3PM UTC], #openstack-meeting-alt on freenode
  • Meeting Agenda Items: Agenda
  • Join us on Slack
    • #openstack-helm

Contributing

We welcome contributions. Check out this document if you would like to get involved.