*** tetsuro has joined #openstack-blazar | 00:35 | |
*** DinaBelova has quit IRC | 02:46 | |
*** tetsuro has quit IRC | 04:05 | |
*** asmita has joined #openstack-blazar | 08:22 | |
*** asmita has quit IRC | 08:22 | |
*** priteau has joined #openstack-blazar | 08:52 | |
*** nehaalhat has joined #openstack-blazar | 09:53 | |
nehaalhat | priteau: Hi, If I try to access context.current() here[1], it gives RuntimeError: Context isn't available here. [1]: https://github.com/openstack/blazar/blob/master/blazar/utils/openstack/placement.py#L43 | 10:00 |
---|---|---|
priteau | This code is an admin client for the placement API. It doesn't use an existing context. | 10:02 |
nehaalhat | so it requires admin_context here? | 10:03 |
priteau | What are you trying to do exactly? | 10:10 |
nehaalhat | actually I want context values in placement.py | 10:11 |
nehaalhat | like done here: https://github.com/openstack/blazar/blob/master/blazar/utils/openstack/nova.py#L117-L129 | 10:13 |
priteau | As you can see there is code to handle a RuntimeError and still proceed. | 10:16 |
*** nehaalhat has quit IRC | 10:20 | |
*** nehaalhat has joined #openstack-blazar | 10:40 | |
nehaalhat | priteau: ok will check | 10:42 |
nehaalhat | priteau: also I want to discuss regarding the blueprint: https://blueprints.launchpad.net/blazar/+spec/oslo-middleware-request-id | 10:43 |
nehaalhat | priteau: as v2 is deprecated, kindly confirm is there a need to implement this bp for v2 apis | 10:43 |
priteau | We don't implement new code in the v2 API | 10:45 |
nehaalhat | priteau: ok | 10:45 |
*** irclogbot_0 has quit IRC | 12:47 | |
*** irclogbot_0 has joined #openstack-blazar | 12:57 | |
*** irclogbot_0 has quit IRC | 13:45 | |
*** priteau has quit IRC | 13:52 | |
*** irclogbot_0 has joined #openstack-blazar | 13:55 | |
*** priteau has joined #openstack-blazar | 14:23 | |
*** priteau has quit IRC | 14:28 | |
*** irclogbot_0 has quit IRC | 20:41 | |
*** irclogbot_0 has joined #openstack-blazar | 20:52 | |
*** openstackgerrit has quit IRC | 20:56 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!