Hello community,

here is the log from the commit of package openstack-utils for openSUSE:Factory 
checked in at 2013-10-18 11:34:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/openstack-utils (Old)
 and      /work/SRC/openSUSE:Factory/.openstack-utils.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "openstack-utils"

Changes:
--------
--- /work/SRC/openSUSE:Factory/openstack-utils/openstack-utils.changes  
2013-08-13 10:53:45.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.openstack-utils.new/openstack-utils.changes     
2013-10-18 11:41:05.000000000 +0200
@@ -1,0 +2,31 @@
+Mon Oct 14 15:29:34 UTC 2013 - a...@suse.com
+
+- fix openstack-db for openSUSE (bnc#845639) (patch fix-db.patch)
+
+-------------------------------------------------------------------
+Fri Sep 27 14:36:40 UTC 2013 - dmuel...@suse.com
+
+- update to 2013.2:
+    openstack-status:
+      don't print httpd status which is problematic on RHEL 6
+      print neutron services status when installed
+      print dbus service status
+      print ceilometer services status when installed
+      print heat services status when installed
+      avoid deprecated commands
+      print out all quantum services and update for grizzly
+      fix detection of nova install
+      improve reporting of service status
+    openstack-db:
+      prompt the user if we're switching databases
+      fix setting of keystone mysql password broken in 2013.1-2
+      provide more robust clearing of mysql users in --drop
+      fix handling of mariadb
+    openstack-demo-install:
+      fix swift init loop in grizzly
+      support systems with selinux disabled
+      support adjusted keystone sample credentials in grizzly
+      fix cgroup service handling
+- Fix requires (now uses crudini for updating .ini files)
+
+-------------------------------------------------------------------

Old:
----
  openstack-utils-2013.11+git.1363873583.8dfab15.tar.gz

New:
----
  fix-db.patch
  openstack-utils-2013.2.1+git.1379433390.6ec0116.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ openstack-utils.spec ++++++
--- /var/tmp/diff_new_pack.LG27V2/_old  2013-10-18 11:41:06.000000000 +0200
+++ /var/tmp/diff_new_pack.LG27V2/_new  2013-10-18 11:41:06.000000000 +0200
@@ -17,16 +17,17 @@
 
 
 Name:           openstack-utils
-Version:        2013.11+git.1363873583.8dfab15
+Version:        2013.2.1+git.1379433390.6ec0116
 Release:        0
 Summary:        Helper utilities for OpenStack service
 License:        Apache-2.0
 Group:          Development/Libraries/Python
 Url:            https://github.com/fedora-openstack/openstack-utils
 Source:         %{name}-%{version}.tar.gz
+Patch1:         fix-db.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
-Requires:       python-iniparse
+Requires:       crudini
 
 %description
 Utilities to aid the setup and configuration of OpenStack packages.
@@ -38,6 +39,7 @@
 
 %prep
 %setup -q
+%patch1 -p0
 
 %build
 

++++++ fix-db.patch ++++++
Index: utils/openstack-db
===================================================================
--- utils/openstack-db.orig
+++ utils/openstack-db
@@ -88,9 +88,9 @@ esac
 
 install_mysql_server() {
   if [ -z "${ASSUME_YES}" ]; then
-    yum install mysql-server
+    zypper install mariadb mariadb-client
   else
-    yum install -y mysql-server
+    zypper install -y mariadb mariadb-client
   fi
 }
 
@@ -143,15 +143,15 @@ fi
 # Make sure MySQL is installed.
 
 NEW_MYSQL_INSTALL=0
-if ! rpm -q --whatprovides mysql-server > /dev/null; then
+if ! rpm -q --whatprovides mariadb > /dev/null; then
   if [ -z "${ASSUME_YES}" ]; then
-    printf "mysql-server is not installed.  Would you like to install it now? 
(y/n): "
+    printf "mariadb is not installed.  Would you like to install it now? 
(y/n): "
     read response
     case "$response" in
       y|Y)
         ;;
       n|N)
-        echo "mysql-server must be installed.  Please install it before 
proceeding."
+        echo "mariadb must be installed.  Please install it before proceeding."
         exit 0
         ;;
       *)
@@ -167,7 +167,7 @@ fi
 
 # Make sure mysqld is running.
 
-if ! service_running mysqld; then
+if ! service_running mysql; then
   if [ -z "${ASSUME_YES}" ]; then
     printf "mysqld is not running.  Would you like to start it now? (y/n): "
     read response
@@ -184,10 +184,10 @@ if ! service_running mysqld; then
     esac
   fi
 
-  start_service 'mysqld'
+  start_service 'mysql'
 
   # If we both installed and started, ensure it starts at boot
-  [ $NEW_MYSQL_INSTALL -eq 1 ] && chkconfig mysqld on
+  [ $NEW_MYSQL_INSTALL -eq 1 ] && chkconfig mysql on
 fi
 
 
@@ -300,7 +300,7 @@ if [ "$MODE" = 'init' ]; then
     db_sync='db_sync'
   fi
   # Run as $APP user so any newly created (log) files have correct ownership
-  runuser -s /bin/sh $APP -c "$APP-manage $db_sync"
+  su -s /bin/sh -c "$APP-manage $db_sync" openstack-$APP
 
   # Do a final sanity check on the database.
   if ! echo "SELECT * FROM migrate_version;" |
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to