Bug 1454796 - [RFE] OpenStack logs to include project (tenant) identifier in all activity related to it
Summary: [RFE] OpenStack logs to include project (tenant) identifier in all activity r...
Keywords:
Status: CLOSED DUPLICATE of bug 1454793
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: fluentd
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Martin Magr
QA Contact: Leonid Natapov
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-23 13:18 UTC by Miguel Perez Colino
Modified: 2017-10-20 05:50 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-20 05:50:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Miguel Perez Colino 2017-05-23 13:18:21 UTC
1. [RFE] OpenStack logs to include project (tenant) identifier in all activity related to it

2. Who is behind the request?
Integrated Solutions Business Unit
Strategic Design Team

3. What is the nature and description of the request?
To perform Openstack Operations, due to the distributed nature of the services that compose the OpenStack deployments, aggregated logging can provide a way to reduce time to perform troubleshooting, find root cause of issues, and have better insight on the health status of the Platform.
Being able to correlate all the activity of all the objects related to a project (tenant), in the logs, provides a more comprehensive view on project activity and helps resolve issues faster.

4. Why does the customer need this? (List the business requirements here)
- To have a better understanding on health status of the platform, filtered by project (tenant)
- To reduce the time troubleshooting issues related to an specific project (tenant)
- To find and apply workarounds faster to the issues that may arise.

5. How would the customer like to achieve this? (List the functional requirements here)
- Including a project (tenant) identifier in all the logs for all the activities related to it
* Example:  Several VM requests are done by a team in the same project (tenant) and they are having issues that could be related one to each other. Filtering logs by project (tenant) helps getting faster to the issues 

6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
- Create several requests request and find all the log lines with info about all the project (tenant)

7. Is there already an existing RFE upstream or in Red Hat Bugzilla?
No

8. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?
No

9. Is the sales team involved in this request and do they have any additional input?
No

10. List any affected packages or components.
Nova
Keystone
Glance 
Cinder
Neutron
Fluentd
...

11. Would the customer be able to assist in testing this functionality if implemented?
Yes.

Comment 1 Doug Hellmann 2017-05-24 18:15:17 UTC
The default configuration for most logs should already include this information. The text formatter uses the logging_user_identity_format configuration option to control which parts of the user identity are included (http://git.openstack.org/cgit/openstack/oslo.log/tree/oslo_log/_options.py#n128). Other logging handlers may place that data in separate fields or use a different format.

Can you provide some more details about what we have today, and how we want that to be different? Maybe an example log line would help?

Comment 3 Juan Badia Payno 2017-10-20 05:50:51 UTC

*** This bug has been marked as a duplicate of bug 1454793 ***


Note You need to log in before you can comment on or make changes to this bug.