Hello community,
here is the log from the commit of package caasp-container-manifests for openSUSE:Factory checked in at 2018-06-15 14:46:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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 Jun 15 14:46:34 2018 rev:15 rq:616507 version:4.0.0+git_r307_0f1f0e9
Changes:
--------
--- /work/SRC/openSUSE:Factory/caasp-container-manifests/caasp-container-manifests.changes 2018-06-02 12:11:39.993049999 +0200
+++ /work/SRC/openSUSE:Factory/.caasp-container-manifests.new/caasp-container-manifests.changes 2018-06-15 14:46:36.787600501 +0200
@@ -1,0 +2,76 @@
+Tue Jun 12 11:13:41 UTC 2018 - containers-builds@suse.de
+
+- Commit adb2262 by Jordi Massaguer Pla jmassaguerpla@suse.de
+ fix favicon path
+
+ Commit 5aed6c1 by Jordi Massaguer Pla jmassaguerpla@suse.de
+ do not mount public directory
+
+ Signed-off-by: Jordi Massaguer Pla
+
+ Commit dfdf04a by Jordi Massaguer Pla jmassaguerpla@suse.de
+ move the images into the public directory but in a branding subfolder
+
+ Signed-off-by: Jordi Massaguer Pla
+
+ Commit 0e9705a by Jordi Massaguer Pla jmassaguerpla@suse.de
+ Do not mount the public directory or the compiled assets get hidden in the
+ iso
+
+ Mounting the public directory from the host, was "hidding" the assets files
+ present in the public directory and so our images were broken.
+
+ This was only happening in the iso and not in our dev environments because in
+ production we have the assets precompiled and we don't compile them on the
+ fly, since we don't have a js engine installed.
+
+ Signed-off-by: Jordi Massaguer Pla
+
+
+-------------------------------------------------------------------
+Thu Jun 7 18:24:52 UTC 2018 - containers-builds@suse.de
+
+- Commit e38f5ea by Jordi Massaguer Pla jmassaguerpla@suse.de
+ We removed the mysql dir, so we need to do the same in the package
+
+ msyql dir was removed in
+ https://github.com/kubic-project/caasp-container-manifests/pull/189
+
+ Fixes: bsc#1095335
+
+ Signed-off-by: Jordi Massaguer Pla
+
+
+-------------------------------------------------------------------
+Thu Jun 7 14:53:23 UTC 2018 - containers-builds@suse.de
+
+- Commit ea9e260 by Rafael Fernández López ereslibre@ereslibre.es
+ Configure `innodb_log_file_size` to a 128M limit
+
+ When a salt output is big enough, mysql will refuse to insert the offending
+ row for being too big, with an error:
+
+ ```
+ [ERROR ] Could not store events - returner 'mysql.event_return' raised
+ exception:
+ (1118, 'The size of BLOB/TEXT data inserted in one transaction is greater
+ than 10% of redo log size. Increase the redo log size using
+ innodb_log_file_size.')
+ ```
+
+ Whatever we set as `innodb_log_file_size` will be an arbitrary number that
+ will eventually be flooded if the cluster is big enough, or if salt is noisy
+ enough. Given a cluster size, this can suddenly fail if we add more states
+ (thus, increasing salt's output). Obviously, given the same salt states, we
+ can also reach this limit by increasing the cluster size.
+
+ There is not a definitive fix for this issue, all we can do for now (without
+ a proper refactor of the way we integrate salt and velum) is to ensure that
+ with todays salt states we can reach a certain number of nodes. As said, this
+ can no longer be true if we add more salt states and we reach again the limit
+ for the same cluster size.
+
+ Fixes: bsc#1095335
+
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ caasp-container-manifests.spec ++++++
--- /var/tmp/diff_new_pack.dtT86y/_old 2018-06-15 14:46:37.831562313 +0200
+++ /var/tmp/diff_new_pack.dtT86y/_new 2018-06-15 14:46:37.831562313 +0200
@@ -29,7 +29,7 @@
%endif
Name: caasp-container-manifests
-Version: 4.0.0+git_r298_a05a932
+Version: 4.0.0+git_r307_0f1f0e9
Release: 0
Summary: Manifest file templates for containers on controller node
License: Apache-2.0
@@ -88,7 +88,7 @@
sed -e "s|pause:1.0.0|pause:0.1|g" -i %{buildroot}/%{_datadir}/%{name}/activate.sh
%endif
install -D -m 0755 gen-certs.sh %{buildroot}/%{_datadir}/%{name}/gen-certs.sh
-for dir in mysql salt/grains salt/minion.d-ca; do
+for dir in salt/grains salt/minion.d-ca; do
install -d %{buildroot}/%{_datadir}/%{name}/config/$dir
install -D -m 0644 config/$dir/* %{buildroot}/%{_datadir}/%{name}/config/$dir
done
++++++ master.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/caasp-container-manifests-master/config/mysql/max-allowed-packet.cnf new/caasp-container-manifests-master/config/mysql/max-allowed-packet.cnf
--- old/caasp-container-manifests-master/config/mysql/max-allowed-packet.cnf 2018-05-30 15:35:37.000000000 +0200
+++ new/caasp-container-manifests-master/config/mysql/max-allowed-packet.cnf 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-[mysqld]
-max_allowed_packet=16M
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/caasp-container-manifests-master/config/mysql/skip-networking.cnf new/caasp-container-manifests-master/config/mysql/skip-networking.cnf
--- old/caasp-container-manifests-master/config/mysql/skip-networking.cnf 2018-05-30 15:35:37.000000000 +0200
+++ new/caasp-container-manifests-master/config/mysql/skip-networking.cnf 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-[mysqld]
-skip-networking
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/caasp-container-manifests-master/manifests/private.yaml new/caasp-container-manifests-master/manifests/private.yaml
--- old/caasp-container-manifests-master/manifests/private.yaml 2018-05-30 15:35:37.000000000 +0200
+++ new/caasp-container-manifests-master/manifests/private.yaml 2018-06-12 13:14:45.000000000 +0200
@@ -38,17 +38,13 @@
value: "true"
- name: MYSQL_ROOT_PASSWORD_FILE
value: /var/lib/misc/infra-secrets/mariadb-root-password
+ - name: MYSQLD_CONFIG
+ value: "skip-networking;max_allowed_packet=16M;innodb_log_file_size=128M"
volumeMounts:
- mountPath: /var/lib/mysql
name: mariadb-data
- mountPath: /var/run/mysql
name: mariadb-unix-socket
- - mountPath: /etc/my.cnf.d/skip-networking.cnf
- name: mariadb-config-skip-networking
- readOnly: True
- - mountPath: /etc/my.cnf.d/max-allowed-packet.cnf
- name: mariadb-config-max-allowed-packet
- readOnly: True
- mountPath: /var/lib/misc/infra-secrets
name: infra-secrets
readOnly: True
@@ -59,12 +55,6 @@
- name: mariadb-unix-socket
hostPath:
path: /var/run/mysql
- - name: mariadb-config-skip-networking
- hostPath:
- path: /usr/share/caasp-container-manifests/config/mysql/skip-networking.cnf
- - name: mariadb-config-max-allowed-packet
- hostPath:
- path: /usr/share/caasp-container-manifests/config/mysql/max-allowed-packet.cnf
- name: infra-secrets
hostPath:
path: /var/lib/misc/infra-secrets
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-30 15:35:37.000000000 +0200
+++ new/caasp-container-manifests-master/manifests/public.yaml 2018-06-12 13:14:45.000000000 +0200
@@ -312,11 +312,11 @@
- mountPath: /srv/velum/PRODUCT
name: velum-dist-name
readOnly: True
- - mountPath: /srv/velum/public
- name: velum-static-pages
+ - mountPath: /srv/velum/public/branding
+ name: velum-branding
readOnly: True
- - mountPath: /srv/velum/app/assets/images
- name: velum-images
+ - mountPath: /srv/velum/public/favicon.ico
+ name: velum-icon
readOnly: True
args: ["bin/run"]
- name: velum-api
@@ -589,9 +589,9 @@
- name: velum-dist-name
hostPath:
path: /usr/share/velum/PRODUCT
- - name: velum-static-pages
- hostPath:
- path: /usr/share/velum/public
- - name: velum-images
+ - name: velum-branding
hostPath:
path: /usr/share/velum/images
+ - name: velum-icon
+ hostPath:
+ path: /usr/share/velum/images/favicon.ico
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/caasp-container-manifests-master/packaging/suse/make_spec.sh new/caasp-container-manifests-master/packaging/suse/make_spec.sh
--- old/caasp-container-manifests-master/packaging/suse/make_spec.sh 2018-05-30 15:35:37.000000000 +0200
+++ new/caasp-container-manifests-master/packaging/suse/make_spec.sh 2018-06-12 13:14:45.000000000 +0200
@@ -109,7 +109,7 @@
sed -e "s|pause:1.0.0|pause:0.1|g" -i %{buildroot}/%{_datadir}/%{name}/activate.sh
%endif
install -D -m 0755 gen-certs.sh %{buildroot}/%{_datadir}/%{name}/gen-certs.sh
-for dir in mysql salt/grains salt/minion.d-ca; do
+for dir in salt/grains salt/minion.d-ca; do
install -d %{buildroot}/%{_datadir}/%{name}/config/\$dir
install -D -m 0644 config/\$dir/* %{buildroot}/%{_datadir}/%{name}/config/\$dir
done