The following documentation can help you troubleshoot problems that you might have with your cloud system. For additional help with this system, you can search the mailing list archives, help forum, IRC channel log, or post a question to any of those venues.
Log files are available for problem diagnosis. Each launched instance (master or worker) will have their respective logs in the same locations, which are as follows:
|/var/log/cloudman/cm_autorun.log||As an instance starts, this is the first CloudMan-related log file that gets created. The bootstrap script /usr/bin/cm_autorun.py logs here as it will initiate the cluster startup process by processing instance user data, downloading and invoking cm_boot.py script (see below). The mentioned script is automatically invoked by an upstart job (at launch level 2, 3, 4, or 5), as defined in /etc/init/cloudman.conf.|
|/var/log/cloudman/cm_boot.log||This log file contains the output from /tmp/cm/cm_boot.py script as it prepares the instance for CloudMan, starts the web server, downloads CloudMan (from the cluster's bucket or the default bucket) and then launches the CloudMan application.|
|/var/log/cloudman/cloudman.log||This is the main CloudMan application log file and it contains all the logging output as the application runs. The contents of this file are also available from the CloudMan Admin page. The main log file is automatically rotated by logrotate to keep the file of manageable size. The logrotate definition is stored at /etc/logrotate.d/cloudman (as defined in the corresponding Ansible role) and the rotated files will be available in the CloudMan application's runtime directory, /mnt/cm.|
|/mnt/galaxy/galaxy-app/main.log||This is the main Galaxy application log file. It is also available from the CloudMan Admin page.|
For log files of individual services running within the system, see the page specific to the particular service.
Your cloud cluster is configured with a PostgreSQL database for use by Galaxy. By default, the database is stored in
/mnt/galaxy/db and is available on port 5950. To connect to the database, switch to the galaxy system user and connect to it with the following command:
psql -p 5950