Hello community,
here is the log from the commit of package caasp-container-manifests for
openSUSE:Factory checked in at 2018-05-11 09:17:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/caasp-container-manifests (Old)
and /work/SRC/openSUSE:Factory/.caasp-container-manifests.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "caasp-container-manifests"
Fri May 11 09:17:57 2018 rev:9 rq:606227 version:4.0.0+git_r280_520ef6f
Changes:
--------
---
/work/SRC/openSUSE:Factory/caasp-container-manifests/caasp-container-manifests.changes
2018-05-10 15:49:12.829673061 +0200
+++
/work/SRC/openSUSE:Factory/.caasp-container-manifests.new/caasp-container-manifests.changes
2018-05-11 09:18:01.387063090 +0200
@@ -1,0 +2,15 @@
+Wed May 9 12:16:59 UTC 2018 - [email protected]
+
+- Commit 2dec06e by Rafael Fernández López [email protected]
+ Run Velum's `bin/init` as an init container
+
+ This will ensure that when the dashboard, api and event processor start, the
+ database has been created and/or migrated at all times. This avoids the weird
+ situation in which the api and event-processor can start while the dashboard
+ was still migrating the database, causing side-effects if Rails already
+ cached some model attributes on other processes.
+
+ Fixes: bsc#1091843
+
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ caasp-container-manifests.spec ++++++
--- /var/tmp/diff_new_pack.4SW6Hx/_old 2018-05-11 09:18:02.179034396 +0200
+++ /var/tmp/diff_new_pack.4SW6Hx/_new 2018-05-11 09:18:02.183034251 +0200
@@ -29,7 +29,7 @@
%endif
Name: caasp-container-manifests
-Version: 4.0.0+git_r278_3f83899
+Version: 4.0.0+git_r280_520ef6f
Release: 0
Summary: Manifest file templates for containers on controller node
License: Apache-2.0
++++++ master.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/caasp-container-manifests-master/manifests/public.yaml
new/caasp-container-manifests-master/manifests/public.yaml
--- old/caasp-container-manifests-master/manifests/public.yaml 2018-05-08
12:42:26.000000000 +0200
+++ new/caasp-container-manifests-master/manifests/public.yaml 2018-05-09
14:18:00.000000000 +0200
@@ -115,6 +115,38 @@
volumeMounts:
- mountPath: /infra-secrets
name: infra-secrets
+ - name: velum-dashboard-init
+ image: sles12/velum:__TAG__
+ env:
+ - name: RAILS_ENV
+ value: production
+ - name: VELUM_SECRETS_DIR
+ value: /var/lib/misc/velum-secrets
+ - name: VELUM_DB_HOST
+ value:
+ - name: VELUM_DB_USERNAME
+ value: "velum"
+ - name: VELUM_DB_PASSWORD_FILE
+ value: /var/lib/misc/infra-secrets/mariadb-velum-password
+ - name: VELUM_DB_SOCKET
+ value: /var/run/mysql/mysql.sock
+ volumeMounts:
+ - mountPath: /etc/pki/ca.crt
+ name: ca-certificate
+ readOnly: True
+ - mountPath: /var/run/mysql
+ name: mariadb-unix-socket
+ - mountPath: /var/lib/misc/velum-secrets
+ name: velum-secrets
+ - mountPath: /var/lib/misc/infra-secrets
+ name: infra-secrets
+ readOnly: True
+ - mountPath: /etc/caasp/cpi
+ name: caasp-cpi-configs
+ - mountPath: /etc/caasp/pillar-seeds
+ name: caasp-pillar-seeds
+ readOnly: True
+ args: ["bin/init"]
containers:
- name: salt-master
image: sles12/salt-master:__TAG__
@@ -277,7 +309,7 @@
- mountPath: /etc/caasp/pillar-seeds
name: caasp-pillar-seeds
readOnly: True
- args: ["bin/init"]
+ args: ["bin/run"]
- name: velum-api
image: sles12/velum:__TAG__
env: