Audit logging is reporting: Invalid uuid: octavia

Bug #2038454 reported by Michael Johnson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
octavia
New
Medium
Unassigned

Bug Description

In lookking at the API no-op job logs, I see that the API audit logging is reporting a warning:

Oct 02 07:17:21.557905 np0035390663 <email address hidden>[72887]: /opt/stack/data/venv/lib/python3.10/site-packages/pycadf/identifier.py:71: UserWarning: Invalid uuid: octavia. To ensure interoperability, identifiers should be a valid uuid.

Oct 02 07:17:21.557905 np0035390663 <email address hidden>[72887]: warnings.warn(('Invalid uuid: %s. To ensure interoperability, '

Oct 02 07:17:21.559836 np0035390663 <email address hidden>[72887]: INFO oslo.messaging.notification.audit.http.request [None req-de494b6e-c310-4a52-84bf-8c5e8de56c5e None None] {"message_id": "97e4bee8-13bf-44e0-afe5-f0d437d117df", "publisher_id": "uwsgi", "event_type": "audit.http.request", "priority": "INFO", "payload": {"typeURI": "http://schemas.dmtf.org/cloud/audit/1.0/event", "eventType": "activity", "id": "9af2f49e-9e44-54d0-a203-9558740844a6", "eventTime": "2023-10-02T07:17:21.558038+0000", "action": "read", "outcome": "pending", "observer": {"id": "target"}, "initiator": {"id": "d63dc6f5b5b84dc6a5aea7ca69df20a9", "typeURI": "service/security/account/user", "name": "tempest-FlavorProfileAPITest-1424013192-project", "credential": {"token": "***", "identity_status": "Confirmed"}, "host": {"address": "173.231.255.70", "agent": "python-urllib3/1.26.15"}, "project_id": "a0c99fc6a77540b2aa780e7a9de25eca"}, "target": {"id": "octavia", "typeURI": "service/load-balancer", "name": "octavia", "addresses": [{"url": "unknown", "name": "admin"}, {"url": "unknown", "name": "private"}, {"url": "http://173.231.255.70/load-balancer", "name": "public"}]}, "requestPath": "/load-balancer//", "tags": ["correlation_id?value=f6f57215-322a-5358-9fc5-b013676bbc47"]}, "timestamp": "2023-10-02 07:17:21.558783"}

Oct 02 07:17:21.560909 np0035390663 <email address hidden>[72887]: DEBUG octavia.common.policy [None req-1fdf9eb2-cf42-4f54-9b73-e7b3e62d0ea2 tempest-FlavorProfileAPITest-1424013192 tempest-FlavorProfileAPITest-1424013192-project] Loading octavia policy object. {{(pid=72887) get_enforcer /opt/stack/octavia/octavia/common/policy.py:38}}

Oct 02 07:17:21.566160 np0035390663 <email address hidden>[72886]: /opt/stack/data/venv/lib/python3.10/site-packages/pycadf/identifier.py:71: UserWarning: Invalid uuid: octavia. To ensure interoperability, identifiers should be a valid uuid.

Oct 02 07:17:21.566160 np0035390663 <email address hidden>[72886]: warnings.warn(('Invalid uuid: %s. To ensure interoperability, '

Oct 02 07:17:21.569460 np0035390663 <email address hidden>[72886]: INFO oslo.messaging.notification.audit.http.request [None req-3998e278-5b4c-4ce1-877b-87f54e0b0a7f None None] {"message_id": "5e889bbe-b186-4a90-bef0-446d3a48ac75", "publisher_id": "uwsgi", "event_type": "audit.http.request", "priority": "INFO", "payload": {"typeURI": "http://schemas.dmtf.org/cloud/audit/1.0/event", "eventType": "activity", "id": "0b052d0f-8c27-5ad9-ab95-de24b17b83aa", "eventTime": "2023-10-02T07:17:21.566363+0000", "action": "read", "outcome": "pending", "observer": {"id": "target"}, "initiator": {"id": "22aaa671c2ef4c9ca040ba4168754e2c", "typeURI": "service/security/account/user", "name": "tempest-AvailabilityZoneCapabilitiesAPITest-753777482-project", "credential": {"token": "***", "identity_status": "Confirmed"}, "host": {"address": "173.231.255.70", "agent": "python-urllib3/1.26.15"}, "project_id": "00c910344757437287a1df6d09151140"}, "target": {"id": "octavia", "typeURI": "service/load-balancer", "name": "octavia", "addresses": [{"url": "unknown", "name": "admin"}, {"url": "unknown", "name": "private"}, {"url": "http://173.231.255.70/load-balancer", "name": "public"}]}, "requestPath": "/load-balancer//", "tags": ["correlation_id?value=876302ff-70d6-5377-afe3-714f2ddc58ae"]}, "timestamp": "2023-10-02 07:17:21.567596"}

Oct 02 07:17:21.570470 np0035390663 <email address hidden>[72886]: DEBUG octavia.common.policy [None req-15ce369c-1eec-4624-bedf-66089f8e509b tempest-AvailabilityZoneCapabilitiesAPITest-753777482 tempest-AvailabilityZoneCapabilitiesAPITest-753777482-project] Loading octavia policy object. {{(pid=72886) get_enforcer /opt/stack/octavia/octavia/common/policy.py:38}}

Oct 02 07:17:21.574029 np0035390663 <email address hidden>[72887]: INFO oslo.messaging.notification.audit.http.response [None req-1fdf9eb2-cf42-4f54-9b73-e7b3e62d0ea2 tempest-FlavorProfileAPITest-1424013192 tempest-FlavorProfileAPITest-1424013192-project] {"message_id": "90134357-d5f9-452b-b333-3e09ad1b68b8", "publisher_id": "uwsgi", "event_type": "audit.http.response", "priority": "INFO", "payload": {"typeURI": "http://schemas.dmtf.org/cloud/audit/1.0/event", "eventType": "activity", "id": "9af2f49e-9e44-54d0-a203-9558740844a6", "eventTime": "2023-10-02T07:17:21.558038+0000", "action": "read", "outcome": "success", "observer": {"id": "target"}, "initiator": {"id": "d63dc6f5b5b84dc6a5aea7ca69df20a9", "typeURI": "service/security/account/user", "name": "tempest-FlavorProfileAPITest-1424013192-project", "credential": {"token": "***", "identity_status": "Confirmed"}, "host": {"address": "173.231.255.70", "agent": "python-urllib3/1.26.15"}, "project_id": "a0c99fc6a77540b2aa780e7a9de25eca"}, "target": {"id": "octavia", "typeURI": "service/load-balancer", "name": "octavia", "addresses": [{"url": "unknown", "name": "admin"}, {"url": "unknown", "name": "private"}, {"url": "http://173.231.255.70/load-balancer", "name": "public"}]}, "requestPath": "/load-balancer//", "tags": ["correlation_id?value=f6f57215-322a-5358-9fc5-b013676bbc47"], "reason": {"reasonType": "HTTP", "reasonCode": "200"}, "reporterchain": [{"role": "modifier", "reporterTime": "2023-10-02T07:17:21.572828+0000", "reporter": {"id": "target"}}]}, "timestamp": "2023-10-02 07:17:21.573314"}

Oct 02 07:17:21.574370 np0035390663 <email address hidden>[72887]: [pid: 72887|app: 0|req: 1/1] 173.231.255.70 () {58 vars in 1106 bytes} [Mon Oct 2 07:17:21 2023] GET /load-balancer/ => generated 4314 bytes in 198 msecs (HTTP/1.1 200) 4 headers in 158 bytes (1 switches on core 0)

This is a warning and it doesn't impact functionality of the API. It's likely an issue with the audit map file or maybe related to the extra trailing slash in the "requestPath".

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.