Wednesday, 2017-08-16

*** gouthamr has joined #openstack-shade00:12
*** gouthamr has quit IRC01:13
*** gkadam has quit IRC01:28
*** gouthamr has joined #openstack-shade01:30
*** slaweq has joined #openstack-shade01:42
*** slaweq has quit IRC01:47
*** gouthamr has quit IRC02:34
*** slaweq has joined #openstack-shade02:43
*** slaweq has quit IRC02:48
*** slaweq has joined #openstack-shade03:44
*** slaweq has quit IRC03:49
*** slaweq has joined #openstack-shade04:45
*** slaweq_ has joined #openstack-shade04:50
*** slaweq has quit IRC04:50
*** slaweq_ has quit IRC04:55
*** slaweq has joined #openstack-shade05:51
*** slaweq has quit IRC05:56
*** slaweq has joined #openstack-shade06:40
*** slaweq_ has joined #openstack-shade07:53
*** slaweq_ has quit IRC07:58
*** iogg has joined #openstack-shade07:59
*** slaweq has quit IRC08:33
*** slaweq has joined #openstack-shade08:54
*** slaweq has quit IRC08:59
*** rods has joined #openstack-shade09:37
*** slaweq has joined #openstack-shade09:55
*** slaweq has quit IRC10:00
*** slaweq has joined #openstack-shade10:19
*** slaweq has quit IRC10:34
*** slaweq has joined #openstack-shade10:36
rodsmordred what's up with https://review.openstack.org/#/c/492080/6? definitely needed for the work on _get_entity we talked about :)10:52
rodsmordred looking at the _get_entity method https://github.com/openstack-infra/shade/blob/master/shade/_utils.py#L21811:39
rodslooks like if an object is passed, we are already short-circuit it and returning back the object11:40
rodsso my understanding is that the use case we need to cover is when a UUID is passed. In that case we want to short-circuit the thing calling the get_<resource>_by_id method11:42
*** slaweq has quit IRC11:43
rodsis that correct?11:43
*** slaweq has joined #openstack-shade11:43
*** slaweq has quit IRC11:44
*** slaweq has joined #openstack-shade11:45
*** slaweq_ has joined #openstack-shade11:57
*** slaweq_ has quit IRC12:02
*** slaweq has quit IRC12:05
*** slaweq has joined #openstack-shade12:05
*** slaweq has quit IRC12:10
rodsmordred what about something like http://paste.openstack.org/show/618518/?12:11
rods'is_uuid' needs to be defined, but you get the idea12:12
rodsdo we need the `use_direct_get` flag?12:17
*** slaweq has joined #openstack-shade12:18
rodsif so, we just need to small change `if is_uuid(name_or_id) and cloud.use_direct_get:`12:18
rods*to make a small change12:19
mordredrods: we still need the flag because there are things (like nodepool) that never want to use direct get and instead always want to do the list/filter approach for concurrency reasons12:21
mordredrods: but - I think the is_uuid approach is a good one12:21
mordredrods: there are one or two places where id's are not uuids, but they'll just fallback to the list/filter approach we use today, so I think that's fine12:24
mordredrods: so if is_uuid(name_or_id): becomes if use_direct_get and is_uuid(name_or_id): and I think that's a _great_ approach12:24
rodscool, I'll keep going that direction12:25
*** rods has quit IRC12:36
*** slaweq_ has joined #openstack-shade12:58
*** rods has joined #openstack-shade12:58
*** rods has joined #openstack-shade12:59
openstackgerritMonty Taylor proposed openstack-infra/shade master: Use new keystoneauth version discovery  https://review.openstack.org/49358213:01
*** slaweq_ has quit IRC13:03
*** rods has quit IRC13:09
*** rods has joined #openstack-shade13:10
*** rods has quit IRC13:14
*** gouthamr has joined #openstack-shade13:15
*** rods has joined #openstack-shade13:33
rodslooks like a bunch of projects are defining their own version of the `is_uuid_like` function(http://codesearch.openstack.org/?q=def%20is_uuid_like&i=nope&files=&repos=), even though is already defined in oslo.utils http://git.openstack.org/cgit/openstack/oslo.utils/tree/oslo_utils/uuidutils.py13:50
rodsmordred ^^ how do we feel about adding a dependency? should we just copy/paste the code13:51
mordredrods: let's just copy the code - I'd rather avoid the oslo stack if we can - it's better suited for server-side stuff13:57
rodsya13:58
*** slaweq_ has joined #openstack-shade13:59
*** slaweq_ has quit IRC14:04
*** slaweq has quit IRC14:30
*** gkadam has joined #openstack-shade14:45
*** slaweq has joined #openstack-shade15:00
*** slaweq has quit IRC15:05
*** gkadam is now known as gkadam-afk15:24
*** gkadam-afk has quit IRC15:31
*** gkadam has joined #openstack-shade15:32
*** yolanda has quit IRC15:44
*** yolanda has joined #openstack-shade15:44
kmallocmordred: ++ please no oslo15:55
kmalloc(or more oslo as the case may be)15:55
*** slaweq has joined #openstack-shade16:01
mordredthere is no oslo in shade currently - other than pbr - but that's different16:02
*** slaweq has quit IRC16:06
*** iogg has quit IRC16:09
*** iogg has joined #openstack-shade16:21
*** iogg has quit IRC16:26
*** slaweq has joined #openstack-shade17:03
*** slaweq has quit IRC17:07
* kmalloc still wants to ditch runtime requirement for PBR in ksa17:10
openstackgerritMonty Taylor proposed openstack-infra/shade master: Use new keystoneauth version discovery  https://review.openstack.org/49358217:16
*** gkadam has quit IRC17:25
*** slaweq has joined #openstack-shade18:03
*** slaweq has quit IRC18:09
*** slaweq has joined #openstack-shade18:15
*** iogg has joined #openstack-shade19:49
openstackgerritSlawek Kaplonski proposed openstack-infra/shade master: Don't determine local IPv6 support if force_ip4=True  https://review.openstack.org/49431920:35
openstackgerritSlawek Kaplonski proposed openstack-infra/shade master: Fix determining if IPv6 is supported when it's disabled  https://review.openstack.org/49432120:38
mordredslaweq: wow. that's fun with that AttributeError20:39
slaweqmordred: why? :)20:40
slaweqin fact I cannot reproduce it on my Ubuntu 16.04 but I based on bug report https://storyboard.openstack.org/?#!/story/200100120:40
slaweqmordred: and BTW. You are really fast with reviewing patches ;)20:41
mordredslaweq: :)20:42
*** gouthamr has quit IRC20:46
*** slaweq has quit IRC21:06
*** slaweq has joined #openstack-shade21:06
*** slaweq has quit IRC21:11
*** slaweq has joined #openstack-shade21:36
*** slaweq has quit IRC21:42
*** slaweq has joined #openstack-shade21:43
*** slaweq has quit IRC21:47
*** iogg has quit IRC21:55
*** rods has quit IRC22:08
*** rods has joined #openstack-shade22:11
*** gouthamr has joined #openstack-shade23:27

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!