Rally - On-premises: Accessing logs if containers are not running or support bundle cannot be generated from UI
search cancel

Rally - On-premises: Accessing logs if containers are not running or support bundle cannot be generated from UI

book

Article ID: 129526

calendar_today

Updated On:

Products

CA Agile Central On Premise (Rally)

Issue/Introduction

When the containers will not start, or the logs can not be accessed via the user interface, it is sometimes necessary to access the logs manually.

Environment

Release: ACNUNL99000-2.0-Agile Central-Unlimited Edition-Perpetual
Component:

Resolution

The following  commands can be executed to access important application related logs even when the associated container is not running. The commands can be executed as the ops or root user however ops will require the use of sudo to navigate/view the mountpoint directory.

Lists all volumes
docker volume ls
Displays the file system mount point    where the container log can be viewed.    
docker volume inspect <volume name>


EXAMPLE:

[[email protected] ~]$ docker volume ls
DRIVER              VOLUME NAME
local               4f8b43e35e5446f8e29f1dbd064b97d406f59c656c931dcf9e80dc4f0c6fed6d
local               bf70daace73e7813398996b508c7b4009b848ad2c638139b819b4477b3c1bf9f
local               repl74d96d10_admin-logs
local               repl74d96d10_alm-logs
local               repl74d96d10_analytics-logs
local               repl74d96d10_oracle-backup
local               repl74d96d10_oracle-logs
local               repl74d96d10_oracle-migration
local               repl74d96d10_solr
local               repl74d96d10_solr-logs
local               replicated-premkit-data-volume
local               replicated_replicated-data-volume
local               replicated_replicated-operator-data-volume
local               replicated_replicated-operator-sock-volume
local               replicated_replicated-sock-volume
local               retraced-postgres-data
local               statsd-graphite-storage_replicated
local               statsd-nginx_replicated
local               statsd-tls_replicated
[[email protected] ~]$ docker volume inspect repl74d96d10_alm-logs
[
    {
        "CreatedAt": "2019-01-10T10:26:10-07:00",
        "Driver": "local",
        "Labels": {
            "com.docker.stack.namespace": "repl74d96d10"
        },
        "Mountpoint": "/var/lib/docker/volumes/repl74d96d10_alm-logs/_data",
        "Name": "repl74d96d10_alm-logs",
        "Options": {},
        "Scope": "local"
    }
]

Additional Information

Agile Central