Invaild uuid unknown in service_info

Bug #1968948 reported by HYSong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
keystonemiddleware
New
Undecided
Unassigned

Bug Description

/var/lib/openstack/lib/python3.8/site-packages/pycadf/identifier.py:73: UserWarning: Invalid uuid: unknown. To ensure interoperability, identifiers should be a valid uuid.
warnings.warn(('Invalid uuid: %s. To ensure interoperability, '

The above warning messages are cluttering in the service of Nova-API and Cinder-API log files.

I found that the id of service_info is initialize to taxonomy.UNKNOWN in https://opendev.org/openstack/keystonemiddleware/src/commit/c4b78c71e58d6540811279007b10e65e2319717b/keystonemiddleware/audit/_api.py#L250, and even if it is execute _get_service_info in https://opendev.org/openstack/keystonemiddleware/src/commit/c4b78c71e58d6540811279007b10e65e2319717b/keystonemiddleware/audit/_api.py#L282, the service.id is still an string or unknow value, because catalog has been normalized, and the param of id is removed in https://opendev.org/openstack/keystonemiddleware/src/commit/c4b78c71e58d6540811279007b10e65e2319717b/keystonemiddleware/auth_token/_request.py#L19. It will always cause the warning of 'Invalid uuid' in pycadf.

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.