cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rohit Yadav (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8150) No MySQL-HA package in debian builds
Date Tue, 13 Jan 2015 08:52:35 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-8150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14274922#comment-14274922
] 

Rohit Yadav commented on CLOUDSTACK-8150:
-----------------------------------------

[~widodh] since you're our Debian guru can you help with this. I'm not sure how to trigger
building the mysql-ha deb package only in case of a noredist build.

The other thing I want to discuss with everyone esp. [~htrippaers] is - what does this package
do, do we have docs on this and do we want this in debian builds?

diff --git a/debian/control b/debian/control
index 398a767..ad96b1f 100644
--- a/debian/control
+++ b/debian/control
@@ -41,6 +41,11 @@ Architecture: all
 Depends: cloudstack-common (= ${source:Version}), cloudstack-management (= ${source:Version})
 Description: CloudStack Amazon EC2 API
 
+Package: cloudstack-mysql-ha
+Architecture: all
+Depends: libmysql-java, cloudstack-common (= ${source:Version}), cloudstack-management (=
${source:Version})
+Description: CloudStack Balancing Strategy for MySQL
+
 Package: cloudstack-cli
 Architecture: all
 Depends: cloudstack-common (= ${source:Version})
diff --git a/debian/rules b/debian/rules
index 197e243..e83cd53 100755
--- a/debian/rules
+++ b/debian/rules
@@ -152,6 +152,10 @@ install:
        cp usage/target/transformed/log4j-cloud_usage.xml $(DESTDIR)/$(SYSCONFDIR)/$(PACKAGE)/usage/log4j-cloud.xml
        install -D packaging/debian/init/cloud-usage $(DESTDIR)/$(SYSCONFDIR)/init.d/$(PACKAGE)-usage
 
+       # cloudstack-mysql-ha
+       mkdir $(DESTDIR)/usr/share/$(PACKAGE)-mysql-ha/lib
+       install -D plugins/database/mysql-ha/target/cloud-plugin-database-mysqlha-$(VERSION)$(MVNADD).jar
$(DESTDIR)/usr/share/$(PACKAGE)-mysql-ha/lib/
+
        # cloudstack-awsapi
        mkdir $(DESTDIR)/$(SYSCONFDIR)/$(PACKAGE)/awsapi
        mkdir $(DESTDIR)/var/log/$(PACKAGE)/awsapi


> No MySQL-HA package in debian builds
> ------------------------------------
>
>                 Key: CLOUDSTACK-8150
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8150
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.5.0
>            Reporter: Rohit Yadav
>            Assignee: Rohit Yadav
>            Priority: Critical
>             Fix For: 4.5.0, 4.6.0
>
>
> There is mysql-ha package in rpm builds but not in debian builds.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message