rwdj commented on issue #6232: URL: https://github.com/apache/cloudstack/issues/6232#issuecomment-1093114367
I completely turned off the firewall for testing and did the following (turning the firewall back on now because, yeah). Same result. But blocked ports shouldn't affect it as it's not doing anything off the machine yet. This is on the same machine. I also tried setting the IP as 127.0.0.1 explicitly as shown. ~~~ [root@rwdj logs]# mysql -p -u root -e 'DROP DATABASE cloud; DROP DATABASE cloud_usage;' Enter password: [root@rwdj logs]# systemctl stop firewalld nftables iptables [root@rwdj logs]# cloudstack-setup-databases cloud:<omitted> --deploy-as=root:<omitted> -i 127.0.0.1 Mysql user name:cloud [ OK ] Mysql user password:****** [ OK ] Mysql server ip:localhost [ OK ] Mysql server port:3306 [ OK ] Mysql root user name:root [ OK ] Mysql root user password:****** [ OK ] Using specified cluster management server node IP 127.0.0.1 [ OK ] Checking Cloud database files ... [ OK ] Checking local machine hostname ... [ OK ] Checking SELinux setup ... [ OK ] Preparing /etc/cloudstack/management/db.properties [ OK ] Applying /usr/share/cloudstack-management/setup/create-database.sql [ OK ] Applying /usr/share/cloudstack-management/setup/create-schema.sql [ OK ] Applying /usr/share/cloudstack-management/setup/create-database-premium.sql [ OK ] Applying /usr/share/cloudstack-management/setup/create-schema-premium.sql [ OK ] Applying /usr/share/cloudstack-management/setup/server-setup.sql [ OK ] Applying /usr/share/cloudstack-management/setup/templates.sql [ OK ] Processing encryption ... [ OK ] Finalizing setup ... [ OK ] CloudStack has successfully initialized database, you can check your database configuration in /etc/cloudstack/management/db.properties [root@rwdj logs]# cloudstack-setup-management Starting to configure CloudStack Management Server: Configure CloudStack Management Server ...[OK] CloudStack Management Server setup is Done! Please ensure the following ports are open for the management server to function properly : 8080 8250 8443 9090 ~~~ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
