Merge lp:~degorenko/sahara/bug-1452698 into lp:~ubuntu-server-dev/sahara/kilo

Proposed by Denis Egorenko
Status: Merged
Merged at revision: 10
Proposed branch: lp:~degorenko/sahara/bug-1452698
Merge into: lp:~ubuntu-server-dev/sahara/kilo
Diff against target: 31 lines (+9/-4)
2 files modified
debian/changelog (+9/-0)
debian/sahara-common.postinst.in (+0/-4)
To merge this branch: bzr merge lp:~degorenko/sahara/bug-1452698
Reviewer Review Type Date Requested Status
Corey Bryant Approve
Chuck Short Pending
Review via email: mp+269235@code.launchpad.net

Description of the change

Remove executing db-manage from post installation script

Currently Sahara doesn't support Sqlite DB and also Mysql or another
db can be unconfigured, so we need to remove executing of db-manage
from post installation script.

To post a comment you must log in.
lp:~degorenko/sahara/bug-1452698 updated
11. By Denis Egorenko

Remove executing db-manage from post installation script
Currently Sahara doesn't support Sqlite DB and also Mysql or another
db can be unconfigured, so we need to remove executing of db-manage
from post installation script.

Revision history for this message
Corey Bryant (corey.bryant) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/changelog'
--- debian/changelog 2015-04-30 15:06:55 +0000
+++ debian/changelog 2015-08-26 15:56:03 +0000
@@ -1,3 +1,12 @@
1sahara (2015.1.0-0ubuntu2) UNRELEASED; urgency=medium
2
3 * Remove executing db-manage from post installation script
4 Currently Sahara doesn't support Sqlite DB and also Mysql or another
5 db can be unconfigured, so we need to remove executing of db-manage
6 from post installation script.
7
8 -- Denis Egorenko <degorenko@mirantis.com> Wed, 26 Aug 2015 18:54:51 +0300
9
1sahara (2015.1.0-0ubuntu1) UNRELEASED; urgency=medium10sahara (2015.1.0-0ubuntu1) UNRELEASED; urgency=medium
211
3 * New upstream release for OpenStack kilo. (LP: #1449744)12 * New upstream release for OpenStack kilo. (LP: #1449744)
413
=== modified file 'debian/sahara-common.postinst.in'
--- debian/sahara-common.postinst.in 2015-01-07 14:54:50 +0000
+++ debian/sahara-common.postinst.in 2015-08-26 15:56:03 +0000
@@ -11,10 +11,6 @@
11 chown -R root:sahara /etc/sahara11 chown -R root:sahara /etc/sahara
12 chmod 0750 /etc/sahara12 chmod 0750 /etc/sahara
1313
14 if ! grep -qE "^(sql_)?connection( )?=.*" ${SAHARA_CONF} || \
15 grep -qE "^(sql_)?connection.*sqlite.*" ${SAHARA_CONF}; then
16 su -s /bin/sh -c 'sahara-db-manage --config-file /etc/sahara/sahara.conf upgrade head' sahara
17 fi
18fi14fi
1915
20#DEBHELPER#16#DEBHELPER#

Subscribers

People subscribed via source and target branches