Thursday, 2016-11-17

mordredhahaha00:09
mordredjlk: https://github.com/ansible/ansibullbot/pull/212 :)00:11
jlkmordred: looks like some labeling also happens at https://github.com/ansible/ansibullbot/blob/master/lib/triagers/ansible_ansible_pulltriager.py so I'm confused00:13
mordredsigh00:14
jlkI mean, I think your PR does the right thing, it's just confusing that there is a secondary place where labeling happens00:14
jlkbut I think they said a rewrite was in progress, so ¯\_(ツ)_/¯00:15
mordredI'm honestly a little pissed that there are branches for every cloud BUT openstack00:15
mordredincluding vmware and digitalocean00:15
mordredbut whatev00:15
clarkbmordred: thats because openstack is a fad00:16
mordredjlk: I added a patch to deal with the right openstack things there too00:17
*** cdent has quit IRC00:27
*** abregman has joined #openstack-shade06:23
openstackgerritArie Bregman proposed openstack-infra/shade: Add compute usage support  https://review.openstack.org/39387307:57
*** jroll has quit IRC08:27
*** abregman has quit IRC08:28
*** abregman has joined #openstack-shade08:30
*** abregman has quit IRC08:40
*** jroll has joined #openstack-shade08:41
*** gouthamr has joined #openstack-shade08:45
*** abregman has joined #openstack-shade08:53
*** gouthamr has quit IRC09:05
*** gouthamr has joined #openstack-shade09:14
*** openstackgerrit has quit IRC09:48
*** openstackgerrit has joined #openstack-shade09:48
*** gouthamr has quit IRC10:53
*** cdent has joined #openstack-shade11:12
*** purplerbot has quit IRC11:29
*** purplerbot has joined #openstack-shade11:29
*** gouthamr has joined #openstack-shade11:32
*** purplerbot has quit IRC11:34
*** purplerbot has joined #openstack-shade11:35
*** gouthamr has quit IRC11:47
*** gouthamr has joined #openstack-shade11:52
*** gouthamr has quit IRC12:52
*** gouthamr has joined #openstack-shade13:30
*** purplerbot has quit IRC13:43
*** abregman has quit IRC13:43
*** purplerbot has joined #openstack-shade13:45
*** cdent_ has joined #openstack-shade15:18
*** cdent has quit IRC15:20
*** cdent_ is now known as cdent15:20
*** abregman has joined #openstack-shade16:06
*** abregman has quit IRC16:06
*** gouthamr has quit IRC16:23
*** cdent_ has joined #openstack-shade16:46
*** cdent has quit IRC16:48
*** cdent has joined #openstack-shade16:49
*** cdent_ has quit IRC16:52
*** cdent has quit IRC17:33
*** cdent has joined #openstack-shade17:34
*** cdent has quit IRC18:58
*** abregman has joined #openstack-shade19:34
mordredabregman: in answer to your question in infra channel earlier- the normalize functions in _utils just haven't been moved yet19:40
mordredabregman: all of them should be documented, made to support the things that the _normalize ones do (location, properties, strict_mode) and moved to _normalize19:41
mordredabregman: I've been doing them one resource at a time as I can19:41
abregmanmordred: ack, I can move them. btw, can you please tell me if this failure is due to my change or infra related issue?: https://review.openstack.org/#/c/39387319:42
abregmanbecause locally the tests pass for me19:42
*** openstackgerrit has quit IRC19:48
*** openstackgerrit has joined #openstack-shade19:48
mordredabregman: hrm. that's weird ... lemme look at it in just a bit19:48
abregmanthanks19:51
mordredI don't see how your patch could have caused most of those errors - but there is one failure related to your patch:19:53
mordredhttp://logs.openstack.org/73/393873/8/check/gate-shade-dsvm-functional-nova/b38f9c1/console.html#_2016-11-17_17_46_06_19349919:53
mordredabregman: I wonder if the devstack config for our nova-network test is somehow causing the usage stuff to not show up?19:54
abregmanmordred: hmm it started to fail after I updated the change with normalizing the usage data, but I don't see how it could cause this issue19:58
mordredme either19:59
*** abregman is now known as abregman|afk20:08
dtroyerquick question because I'm too lazy to look in the share repo… which Image API version does shade default to?  or does it not set a default, letting the app do it?21:10
dtroyer*shade repo21:10
mordreddtroyer: well -21:12
mordreddtroyer: that's in the middle of changing slightly21:12
mordredbut at the moment it believes whatever the cloud setting it got from occ21:13
dtroyerocc only has 3 entries in the vendor files for image v1, none for v221:13
mordredyah. it defaults to v2 - then we annotate clouds that are v121:13
dtroyerah, ok, I forgot it has opinions on that21:13
mordredin the switch-to-rest patches, I've got the code to do version discovery on the glance endpoint21:14
dtroyerdefaults.json, why must you hide from me?21:14
dtroyerthe conclusion I am looking for is in changing OSC to default to 2, sounds like it already is for anything using occ that isn't OSC, so we should be good21:15
mordredyah - 2 is pretty widely out there21:15
mordreddtroyer: https://review.openstack.org/#/c/384208 is the patch which switches list_images to rest and also switches it to defaulting to CURRENT version if version discovery works - fwiw21:17
morgan_mordred: looks like we fixed betamax in ksa. next step task21:22
mordredmorgan_: woot21:23
*** hoolio has joined #openstack-shade22:14
*** cdent has joined #openstack-shade22:15
mordredhoolio: hi! what's up?22:15
hooliohey22:15
hooliothis works;22:15
hooliohttp://paste.ubuntu.com/23492642/22:16
hooliobut if i specify the security group, it errors out22:16
hooliohttp://paste.ubuntu.com/23492647/22:16
hooliothe sec group uid is correct, and i've also tried the sec group by name (SSH)22:17
hoolioif i specify the sec group via name i get "..Unable to find security_group with name 'H'.."22:19
mordredhoolio: (looking at code - one sec)22:22
hooliok, np22:22
*** cdent has quit IRC22:23
mordredhoolio: I believe security_groups is supposed to be a list22:24
mordredhoolio: we could do a better job in shade of detecting this and fixing it for you ...22:25
* hoolio googles "single element list python"22:25
mordredhoolio: just wrap it in []22:26
mordredhoolio: but I'll make that better real quick ...22:26
hooliolist3 = ["a"]22:26
mordredyup22:26
hooliookies22:26
hoolioso i tried pulling from git://git.openstack.org/openstack-infra/shade but it seems it's the same version as pip22:27
hoolioi wondered if there was any latency in propagation between the two22:28
mordredyah - I'll make a patch to make this better for you - but it'll take a little bit22:28
hoolioyeah np.  i really wanted to submit a patch myself, but the code is a bit over my head at the moment22:28
hoolioI'm only reasonably new to python22:28
hoolioi should get the o'reilly book ;)22:29
hooliocoz you know, just having it makes you better ..22:30
hoolioit works!22:37
hooliothx mordred22:38
mordredwoot!23:06
openstackgerritMonty Taylor proposed openstack-infra/shade: Allow security_groups to be a scalar  https://review.openstack.org/39929023:08
mordredhoolio: ^^23:08
mordredhoolio: when that lands and we make a new release, just passing a single security group should be fine23:09
hoolionp.  will leaving it as a single element list still work?23:09
mordredyup23:18
mordredit'll work both ways23:18

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