Installation Logs¶
To troubleshoot an installation, log files can be inspected.
For example, detailed platform commands show in the execute.log
file.
Here, log entries for the command execution have a ui
column. Log entries that
follow these show related commands.
To only see the commands in execute.log
example, you can open a new console and run:
log follow execute.log | grep ” ui “
Note
Logs are rotated and install commands may not show after log rotation.
The list below shows examples of installation commands and corresponding ui
and following
entries in execute.log
.
app install vmware.
execute.log
:<timestmp><user><execnum>: ui - /opt/platform/bin/scripts.py install 'vmware'
app list.
execute.log
:<timestmp><user><execnum>: ui - /opt/platform/bin/execute get /scripts/ <timestmp><user><execnum>: run: /opt/platform/bin/execute get /scripts/ <timestmp><user><execnum>: run: /opt/platform/bin/scripts.py list
database config
execute.log
:<timestmp><user><execnum>: ui - /opt/platform/apps/mongodb/bin/database_helper.py config <timestmp><user><execnum>: run: /opt/platform/apps/mongodb/bin/database_helper.py config <timestmp><user><execnum>: run: /opt/platform/apps/mongodb/bin/database_helper.py config returned 0
cluster list.
execute.log
:<timestmp><user><execnum>: ui - /opt/platform/bin/execute get /apps/cluster/engine/list <timestmp><user><execnum>: run: /opt/platform/bin/execute get /apps/cluster/engine/list <timestmp><user><execnum>: run: /opt/platform/bin/execute --app=cluster get /list <timestmp><user><execnum>: run: /opt/platform/apps/cluster/cluster.py list <timestmp><user><execnum>: run: /opt/platform/apps/cluster/cluster.py list returned 0
cluster status.
execute.log
:<timestmp><user><execnum>: ui - /opt/platform/bin/execute get /apps/cluster/engine/status <timestmp><user><execnum>: run: /opt/platform/bin/execute get /apps/cluster/engine/status <timestmp><user><execnum>: run: /opt/platform/bin/execute --app=cluster get /status <timestmp><user><execnum>: run: /opt/platform/apps/cluster/cluster.py status
web service list
execute.log
:<timestmp><user><execnum>: ui - /opt/platform/bin/execute get /apps/nginx/engine/disable <timestmp><user><execnum>: run: /opt/platform/bin/execute get /apps/nginx/engine/disable <timestmp><user><execnum>: run: /opt/platform/bin/execute --app=nginx get /disable <timestmp><user><execnum>: run: /opt/platform/bin/config.py get --app=nginx disable <timestmp><user><execnum>: run: /opt/platform/bin/config.py get --app=nginx disable returned 0
log follow upgrade_db.log
execute.log
:<timestmp><user><execnum>: ui - /opt/platform/bin/execute post /apps/services/process/log/engine/log/follow '{"follow":"upgrade_db.log"}' <timestmp><user><execnum>: run: /opt/platform/bin/execute post /apps/services/process/log/engine/log/follow '{"follow":"upgrade_db.log"}' --method=os.system <timestmp><user><execnum>: run: /opt/platform/bin/execute --app=services:log post /log/follow '{"follow":"upgrade_db.log"}' --method=os.system <timestmp><user><execnum>: run: /opt/platform/apps/services/logviewer.sh follow upgrade_db.log
app template media/<VOSS Automate_template_file>
execute.log
:<timestmp><user><execnum> ui - /opt/platform/apps/template_runner/template media/install.template platform [...] <timestmp><user><execnum> ui - /opt/platform/bin/execute --app=template_runner post /methods/import '{"filename":"DummyTestImport.json","import":"DummyTestImport.json"}' Please enter a password for ... <timestmp><user><execnum> ui - /usr/bin/docker exec -it voss-wsgi /opt/voss-deviceapi/bin/python /opt/voss-deviceapi/src/deviceapi/utils/get_user_password.py set_details sysadmin@sys [...] <timestmp><user><execnum>: ui - /opt/platform/bin/execute --app=template_runner post /methods/import '{"filename":"UpgradeChecks.json","import":"UpgradeChecks.json -p sys"}' [...] '{"filename":"EndToEnd.application.json","import":"EndToEnd.application.json -p sys"}' '{"filename":"SYS.json","import":"SYS.json -p sys"}' '{"filename":"SYSnoPKG.json","import":"SYSnoPKG.json -p sys"}' '{"filename":"SYSdotHCS_with_hcmf.json","import":"SYSdotHCS_with_hcmf.json -p sys.hcs"}' [...]