> 3. Using this way request_id will be only used for logging purpose and not returned to caller and will not be handy to the user for tracing the logs.
Can you add more information here?
I see the request_ids being available after the method call, like so:
# caller provides list for the request_ids to be saved in
request_ids = []
# caller calls the method with the supplied empty list
glanceclient.delete(image, request_ids)
# request_ids have now been populated in the provided list and are available for general use by the caller
print request_ids
> 3. Using this way request_id will be only used for logging purpose and not returned to caller and will not be handy to the user for tracing the logs.
Can you add more information here?
I see the request_ids being available after the method call, like so:
# caller provides list for the request_ids to be saved in delete( image, request_ids)
request_ids = []
# caller calls the method with the supplied empty list
glanceclient.
# request_ids have now been populated in the provided list and are available for general use by the caller
print request_ids