OTPsender module debugging

Important

All commands are executed only from superuser.

Mode superuser:

sudo -i

Services logging used by OTPsender module

Logging happens using logging module.

Logging is done in log file of the process that OTPsender uses:

  • api.log is message collecting file of aos-otp-sender-api service;
  • worker.log is message collecting file of aos-otp-sender-worker service.

Note

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

OTPsender module debugging

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

  1. Set log level to value DEBUG, which will allow logging messages about events in log files with maximum detail for diagnostics and problem solving.
  2. Run openstack aos tests module self-diagnosis utility.

Note

Detailed description of utility is available in section «Self-diagnosis utility».