Autosetup module diagnostics

Important

First need to do setting up the environment. All commands are executed only from superuser.

Mode superuser:

sudo -i

Logging services used by the Autosetup module

Logging is done using the logging module. Log files are created when starting autoinstall and are located in the directory / tmp /. The file name is generated according to the template aos-autosetup-X.log where X is the current time in the format % Y.% m.% D-% H:% M:% S.

Process logging is carried out in log file and the console вuring the operation of the aos-autosetup utility.

Note

Description of the process logging provided by the platform OpenStack can be found in the corresponding section of the official documentation.

Autosetup module debugging

System checks are performed after each launch of automatic installation of modules. Checks are performed as for general parameters:

  • for the presence of the installed package pip in the environment;
  • for the presence of a configuration file in the system;
  • if the user specified in the USERNAME argument matches the user on the system.

Parameters of individual modules are also checked. For example:

CloudManager:

  • User account parameters specified in arguments DB_SUPERUSER_NAME and DB_SUPERUSER_PASSWORD. The parameters are valid, there is access to database.

In case of problems in the operation of the module, there are the following solutions:

  1. check if the above checks are completed;
  2. set logging level to the value DEBUG which will allow recording event messages in log files with maximum detail for diagnosing and solving problems.