mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
* DB : Add support for MySQL 8
- Splits commands to create user and grant access on database, the old
statement is no longer supported by MySQL 8.x
- `NO_AUTO_CREATE_USER` is no longer supported by MySQL 8.x so remove
that from db.properties conn parameters
For mysql-server 8.x setup the following changes were added/tested to
make it work with CloudStack in /etc/mysql/mysql.conf.d/mysqld.cnf and
then restart the mysql-server process:
server_id = 1
sql-mode="STRICT_TRANS_TABLES,NO_ENGINE_SUBSTITUTION,ERROR_FOR_DIVISION_BY_ZERO,NO_ZERO_DATE,NO_ZERO_IN_DATE,NO_ENGINE_SUBSTITUTION"
innodb_rollback_on_timeout=1
innodb_lock_wait_timeout=600
max_connections=1000
log-bin=mysql-bin
binlog-format = 'ROW'
default-authentication-plugin=mysql_native_password
Notice the last line above, this is to reset the old password based
authentication used by MySQL 5.x.
Developers can set empty password as follows:
> sudo mysql -u root
ALTER USER 'root'@'localhost' IDENTIFIED BY '';
In libvirt repository, there are two related commits
2019-08-23 13:13 Daniel P. Berrangé ● rpm: don't enable socket activation in upgrade if --listen present
2019-08-22 14:52 Daniel P. Berrangé ● remote: forbid the --listen arg when systemd socket activation
In libvirt.spec.in
/bin/systemctl mask libvirtd.socket >/dev/null 2>&1 || :
/bin/systemctl mask libvirtd-ro.socket >/dev/null 2>&1 || :
/bin/systemctl mask libvirtd-admin.socket >/dev/null 2>&1 || :
/bin/systemctl mask libvirtd-tls.socket >/dev/null 2>&1 || :
/bin/systemctl mask libvirtd-tcp.socket >/dev/null 2>&1 || :
Co-authored-by: Wei Zhou <w.zhou@global.leaseweb.com>
Co-authored-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Co-authored-by: Rohit Yadav <rohit.yadav@shapeblue.com>
54 lines
2.9 KiB
Plaintext
54 lines
2.9 KiB
Plaintext
Source: cloudstack
|
|
Section: libs
|
|
Priority: extra
|
|
Maintainer: Wido den Hollander <wido@widodh.nl>
|
|
Build-Depends: debhelper (>= 9), openjdk-11-jdk | java11-sdk | java11-jdk | zulu-11, genisoimage,
|
|
python-mysql.connector, maven (>= 3) | maven3, python (>= 2.7), python3 (>= 3), lsb-release, dh-systemd, python-setuptools
|
|
Standards-Version: 3.8.1
|
|
Homepage: http://www.cloudstack.org/
|
|
|
|
Package: cloudstack-common
|
|
Architecture: all
|
|
Depends: ${misc:Depends}, ${python3:Depends}, genisoimage, nfs-common, python3-pip, python3-distutils, python3-netaddr
|
|
Conflicts: cloud-scripts, cloud-utils, cloud-system-iso, cloud-console-proxy, cloud-daemonize, cloud-deps, cloud-python, cloud-setup
|
|
Description: A common package which contains files which are shared by several CloudStack packages
|
|
|
|
Package: cloudstack-management
|
|
Architecture: all
|
|
Depends: ${python3:Depends}, openjdk-11-jre-headless | java11-runtime-headless | java11-runtime | openjdk-11-jre-headless | zulu-11, cloudstack-common (= ${source:Version}), sudo, python3-mysql.connector, augeas-tools, mysql-client | mariadb-client, adduser, bzip2, ipmitool, file, gawk, iproute2, qemu-utils, python3-dnspython, lsb-release, init-system-helpers (>= 1.14~), python3-setuptools
|
|
Conflicts: cloud-server, cloud-client, cloud-client-ui
|
|
Description: CloudStack server library
|
|
The CloudStack management server
|
|
|
|
Package: cloudstack-agent
|
|
Architecture: all
|
|
Depends: ${python:Depends}, ${python3:Depends}, openjdk-11-jre-headless | java11-runtime-headless | java11-runtime | openjdk-11-jre-headless | zulu-11, cloudstack-common (= ${source:Version}), lsb-base (>= 9), openssh-client, qemu-kvm (>= 2.5), libvirt-bin (>= 1.3) | libvirt-daemon-system (>= 3.0), uuid-runtime, iproute2, ebtables, vlan, ipset, python3-libvirt, ethtool, iptables, lsb-release, aria2
|
|
Recommends: init-system-helpers
|
|
Conflicts: cloud-agent, cloud-agent-libs, cloud-agent-deps, cloud-agent-scripts
|
|
Description: CloudStack agent
|
|
The CloudStack agent is in charge of managing shared computing resources in
|
|
a CloudStack powered cloud. Install this package if this computer
|
|
will participate in your cloud as a KVM HyperVisor.
|
|
|
|
Package: cloudstack-usage
|
|
Architecture: all
|
|
Depends: openjdk-11-jre-headless | java11-runtime-headless | java11-runtime | openjdk-11-jre-headless | zulu-11, cloudstack-common (= ${source:Version}), init-system-helpers
|
|
Description: CloudStack usage monitor
|
|
The CloudStack usage monitor provides usage accounting across the entire cloud for
|
|
cloud operators to charge based on usage parameters.
|
|
|
|
Package: cloudstack-docs
|
|
Architecture: all
|
|
Depends: ${misc:Depends}
|
|
Description: The CloudStack documentation
|
|
|
|
Package: cloudstack-marvin
|
|
Architecture: all
|
|
Depends: ${misc:Depends}, python-pip, python-dev, libffi-dev
|
|
Description: The CloudStack Marvin library
|
|
|
|
Package: cloudstack-integration-tests
|
|
Architecture: all
|
|
Depends: ${misc:Depends}, cloudstack-marvin (= ${source:Version})
|
|
Description: The CloudStack Marvin integration tests
|