IBM Support

Increasing the OpenStack Keystone logging level

Troubleshooting


Problem

The "Setting logging levels" topic in the IBM SmartCloud Orchestrator product documentation provides incorrect instructions for increasing the logging level for the OpenStack Keystone component

Resolving The Problem

The following instructions in the Setting logging levels topic is incorrect:
To increase the logging level for the OpenStack Keystone component, edit the /etc/keystone/keystone.conf file on Central Server 2 and change level=WARNING to level=DEBUG in the [logger_keystone] section. After changing the logging level, you must restart the Keystone component by running the service openstack-keystone restart command.

The correct instructions should be:

  1. Modify the /etc/keystone/keystone.conf file on Central Server 2 so that it contains the following information:
    # Show more verbose log output (sets INFO log level output)
    verbose = True

    # Show debugging output in logs (sets DEBUG log level output)
    debug = True
    log_config = /etc/keystone/logging.conf

  2. Modify the /etc/keystone/logging.conf file so that it contains the following information:
    [logger_keystone]
    level=DEBUG
    handlers=file
    qualname=keystone

    [handler_file]
    class=logging.handlers.WatchedFileHandler
    level=DEBUG  

  3. Run the service openstack-keystone restart command.

[{"Product":{"code":"SS4KMC","label":"IBM SmartCloud Orchestrator"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Openstack","Platform":[{"code":"PF016","label":"Linux"}],"Version":"2.3","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
17 June 2018

UID

swg21680481