Monday, 2016-11-14

*** yolanda has quit IRC04:18
*** abregman has joined #openstack-shade06:05
*** yolanda has joined #openstack-shade07:33
*** abregman_ has joined #openstack-shade08:37
*** abregman has quit IRC08:39
*** abregman_ has quit IRC08:47
*** abregman has joined #openstack-shade08:47
*** abregman has quit IRC09:12
*** abregman has joined #openstack-shade09:18
*** openstackgerrit has quit IRC09:47
*** openstackgerrit has joined #openstack-shade09:48
openstackgerritMonty Taylor proposed openstack/oaktree: Rename Search to List  https://review.openstack.org/39716712:32
openstackgerritMerged openstack/oaktreemodel: Rename search methods to list  https://review.openstack.org/39693612:32
openstackgerritMonty Taylor proposed openstack/oaktreemodel: Update generated code  https://review.openstack.org/39718013:13
openstackgerritMonty Taylor proposed openstack/oaktreemodel: Add tarball to .gitignore  https://review.openstack.org/39718113:13
openstackgerritMerged openstack/oaktree: Rename Search to List  https://review.openstack.org/39716713:38
Shrewsjlk: i think we have an issue (discovered by shade tests) for your os_user change: https://github.com/ansible/ansible-modules-core/pull/521913:59
Shrewsjlk: http://logs.openstack.org/53/396953/1/check/gate-shade-dsvm-ansible-dev-nv/6c2097d/console.html#_2016-11-13_18_08_55_60396613:59
Shrewsjlk: basically, when state=absent, it's expecting a password, which is a backward incompatible change14:00
Shrewsand forcing playbooks to now set update_password=on_create to delete a user is not really a good option14:02
openstackgerritMonty Taylor proposed openstack-infra/shade: Collapse list/search for networks, users and keypairs  https://review.openstack.org/39720814:18
mordredShrews: ^^ that's going to take a smidge longer than I originally anticipated14:18
mordredShrews: (that said, poking at it continues to find little tiny bits of poo - so I think it's not unworth it)14:23
*** edtubill has joined #openstack-shade15:14
openstackgerritMonty Taylor proposed openstack-infra/shade: Collapse list/search for networks, users and keypairs  https://review.openstack.org/39720815:36
*** abregman is now known as abregman|mtg15:44
*** edtubill has quit IRC16:12
*** edtubill has joined #openstack-shade16:13
*** abregman|mtg is now known as abregman16:27
*** abregman has quit IRC17:08
openstackgerritMonty Taylor proposed openstack/oaktreemodel: Add dict mapping for searching for things  https://review.openstack.org/39693717:10
jlkShrews: oops, okay good catch. Want me to work a patch?17:25
jlkugh, I don't think our module utils has a built in for this. We only need this IF state = present.17:28
mordredjlk: I thought there was a module_utils thing that would do required if a value ...17:29
jlkwell17:30
jlkhere's the scenario17:30
jlkupdate_password defaults to "always" for backwards compat.17:30
jlkif update_password is always, THEN a "password" argument is also required.17:30
jlkBUT only if state = present17:30
mordredah - yes. I grok17:31
mordredjlk: the argument processing in ansible is amazing ... until it can't handle something17:33
jlklol yes17:33
openstackgerritMonty Taylor proposed openstack-infra/shade: Collapse list/search for networks, users and keypairs  https://review.openstack.org/39720817:40
jlkShrews: I think https://github.com/ansible/ansible-modules-core/pull/5601 will fix it, I haven't tested yet, just tossed that change together.17:42
openstackgerritMerged openstack/oaktreemodel: Update generated code  https://review.openstack.org/39718017:43
openstackgerritMerged openstack/oaktreemodel: Add tarball to .gitignore  https://review.openstack.org/39718117:43
jlkugh, did Canonical do something with launchpad logins recently?17:47
Shrewsjlk: ok. let me know if testing looks good17:49
openstackgerritMonty Taylor proposed openstack-infra/shade: Be specific about protected being bool  https://review.openstack.org/39732318:01
openstackgerritMonty Taylor proposed openstack-infra/shade: Be specific about protected being bool  https://review.openstack.org/39732318:09
thingeedoh18:57
openstackgerritMonty Taylor proposed openstack-infra/shade: Be specific about protected being bool  https://review.openstack.org/39732319:12
openstackgerritMonty Taylor proposed openstack/os-client-config: Revert "Remove validate_auth_ksc"  https://review.openstack.org/39734319:23
openstackgerritMonty Taylor proposed openstack-infra/shade: Be specific about protected being bool  https://review.openstack.org/39732319:29
openstackgerritMonty Taylor proposed openstack-infra/shade: Make unittest resilient against occ internals  https://review.openstack.org/39734519:29
openstackgerritMonty Taylor proposed openstack-infra/shade: Remove pointless and fragile unittest  https://review.openstack.org/39734519:34
openstackgerritMonty Taylor proposed openstack-infra/shade: Be specific about protected being bool  https://review.openstack.org/39732319:38
*** abregman has joined #openstack-shade19:38
mordredthingee: ikr?19:38
Shrewsmordred: was i not supposed to +A that protected change?19:47
clarkbShrews: it was fine it just didn't pass tests19:47
clarkbShrews: hence the rebasing madness19:47
mordredShrews: yah - what clarkb said19:48
openstackgerritMerged openstack/os-client-config: Revert "Remove validate_auth_ksc"  https://review.openstack.org/39734320:48
*** abregman has quit IRC20:55
thingeemordred where can I read about the generated tags in structs here? (assuming I'm saying that right) https://review.openstack.org/#/c/396937/2/oaktreemodel/common.pb.go21:24
mordredthingee: I'm not sure - much of the content of that file is blackmagic to me21:25
mordredthingee: s/much of the content of that file/pretty much all of the content of the go files/ ... also I feel totally dirty committing generated code21:42
thingeemordred I'm just trying to find any documentation about it21:43
clarkbmordred: there is protobuf support for compiling things at python package build time iirc (though not sure if you can trigger the asme compiles for go things)21:46
clarkboh readme calls that out21:46
clarkbyay go?21:46
mordredclarkb: yah21:46
mordredclarkb: I looked at some of the other folks doing it more deeply - like etcd3 and whatnot - and they all seem to take the same approach21:47
mordredI'm just about to put up a project-config patch to add a test to make sure people don't forget to add their generated go code21:47
mordredclarkb, thingee: https://review.openstack.org/39738521:48
clarkbmordred: I especially like that the code generated code has whitespace edits21:50
clarkb(I am guessing because gofmt, but still )21:50
thingeewhat is the difference with json: and json=21:51
thingeethe syntax is interesting :)21:52
thingeewell I couldn't find any documentation on the generated stuff21:53
mordredthat is a truly fascinating question21:54
mordredthingee: maybe it's documented in the generator code21:54
thingeeI was reading that omitentry is just hardcoded in the source code, so that's always a thing.21:55
mordredyah - I believe that's always the protobuf-json mapping behavior21:56
mordredhttps://github.com/golang/protobuf/tree/master/protoc-gen-go is the generator, fwiw21:56
*** edtubill has quit IRC22:40
*** edtubill has joined #openstack-shade22:56
*** edtubill has quit IRC23:11
openstackgerritMerged openstack/oaktreemodel: Add dict mapping for searching for things  https://review.openstack.org/39693723:51

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