Finding out the contents of a request context and service catalog [closed]

asked 2013-07-30 22:32:37 -0500

xensphere gravatar image

updated 2013-07-31 12:11:50 -0500

smaffulli gravatar image

In cinder.py within nova/volume, there is a reference to a context and service catalog in the cinderclient(context) function.

compat_catalog = {
        'access': {'serviceCatalog': context.service_catalog or []}
    }
    sc = service_catalog.ServiceCatalog(compat_catalog)

Is there a way to output the contents of sc and context onto a log?

Thanks!

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by rbowen
close date 2016-01-22 13:14:44.540410