17 Commits

Author SHA1 Message Date
davidjumani
d949302d0f
packaging: Adding Centos8, Ubuntu 20.04, XCPNG8.1 Support (#4068)
* 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>
2020-08-17 16:28:30 +05:30
Rafael da Fonseca
870e1898eb Use same sudoers config for all distros Cleanup buggy code for sudoers file editing
Signed-off-by: Daan Hoogland <daan@onecht.net>

This closes #332
2015-06-19 16:00:57 +02:00
Kishan Kavala
983a3b80e2 CLOUDSTACK-7568, CLOUDSTACK-7569: Use systemctl for managing services in RHEL7. chkconfig --del doesn't work in RHEL7. 2014-09-17 17:55:07 +05:30
Chip Childers
da45ae1150 Fixing license headers in the python folder 2012-08-20 11:23:41 -04:00
Edison Su
7b7f69b415 CS-10929: Pass error string when raising CloudInternalException
RB: https://reviews.apache.org/r/6449/
Send-by: andy@basho.com
2012-08-07 18:03:58 -07:00
frank
2f634c0913 Switch to Apache license 2012-04-03 04:50:05 -07:00
Edison Su
262ad16f4c disable nfs directory cache on kvm host 2012-01-31 14:34:35 -08:00
Edison Su
2e79da0ce5 kvm is working now 2011-12-05 18:07:00 -08:00
frank
f19e9252a4 use ufw to configure iptable in ubuntu for mgmt server ports 2011-09-12 16:44:20 -07:00
frank
c7b3c81485 Bug 9479 - provide option for built in https
small fix on cloud-setup-managment
2011-09-01 17:09:06 -07:00
Edison Su
f919e0119e for cloudzone, loose the check for ubuntu 10.04, people may want to install it on a newer kernel 2011-07-08 13:50:14 -07:00
Edison Su
55c39444b1 bug 9985: add more checking during setup cloudzone: host os must be ubuntu 10.04, 64bit, free disk space must be larger than 30G, memory must be larger than 1G
status 9985: resolved fixed
2011-07-08 13:30:27 -07:00
Edison Su
29d0b09968 fix agent setup on rhel6 2011-06-06 16:15:42 -04:00
Edison Su
57fe38efcd add check hostname during installation 2011-06-02 22:38:13 -04:00
Edison Su
9528b4de4f remove cgroup on ubuntu, as sometimes it hang reboot 2011-05-26 19:03:09 -04:00
Edison Su
0b6fe0523d fix setup-managment script 2011-05-09 13:21:34 -04:00
Edison Su
cbf2b03e31 refactore cloud related tools 2011-05-06 19:54:52 -04:00