GitHub user arpanbht created a discussion: Getting 503 error during cloudstack 
management server installation

During management server installation on our system we are facing same kind of 
error on different machines,  We are using Ubuntu live server 22 for installing 
the system and getting 503 error

We are installing java version 11, mysql and cloudstack-management by following 
these steps which we have written down in a text file

```
Install Java 11

apt install openjdk-11-jre-headless -y

Install chrony

apt install chrony -y

Install the Management Server on the First Host

DEB package repository

Edit /etc/apt/sources.list.d/cloudstack.list

deb https://download.cloudstack.org/ubuntu jammy 4.22

We now have to add the public key to the trusted keys.

wget -O - https://download.cloudstack.org/release.asc |sudo tee 
/etc/apt/trusted.gpg.d/cloudstack.asc

Update Cache

sudo apt update

sudo apt install mysql-server

Install on Ubuntu/Debian

sudo apt install cloudstack-management

Open the MySQL configuration file. The configuration file is /etc/my.cnf or 
/etc/mysql/my.cnf, depending on your OS.

Insert the following lines in the [mysqld] section.

You can put these lines below the datadir line. The max_connections parameter 
should be set to 350 multiplied by the number of Management Servers you are 
deploying. This example assumes one Management Server.


[mysqld]

server_id=management-01
innodb_rollback_on_timeout=1
innodb_lock_wait_timeout=600
max_connections=350
log_bin=mysql-bin
binlog_format=ROW

Start or restart MySQL to put the new configuration into effect.

On Ubuntu, restart MySQL.

sudo systemctl restart mysql

Set up the database.


sudo cloudstack-setup-databases cloud:cloud@localhost \
--deploy-as=root

cloudstack-setup-management

ufw allow mysql

ufw allow 8080/tcp
ufw allow 8250/tcp
ufw allow 8443/tcp
ufw allow 9090/tcp
ufw enable
ufw reload

sudo systemctl start cloudstack-management
sudo systemctl enable cloudstack-management




#############################################################################
to access the full root disk size you need to run these commands: 

sudo lvextend -l +100%FREE /dev/mapper/ubuntu--vg-ubuntu--lv
sudo resize2fs /dev/mapper/ubuntu--vg-ubuntu--lv



** Update the java version to 11
sudo update-alternatives --config java
```

and we are getting this error when we access the client page from the 
ip:8080/client

<img width="684" height="390" alt="image" 
src="https://github.com/user-attachments/assets/7ecb26bf-136c-442e-9cf2-45c2c02911cb";
 />

What can be the reason for this issue?

GitHub link: https://github.com/apache/cloudstack/discussions/12568

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to