Wednesday, 2017-11-29

openstackgerritJulia Kreger proposed openstack-infra/shade master: de-client-ify baremetal get_machine  https://review.openstack.org/49977400:03
openstackgerritJulia Kreger proposed openstack-infra/shade master: Catch attrbute error for other APIs  https://review.openstack.org/49977500:03
openstackgerritJulia Kreger proposed openstack-infra/shade master: De-clientify baremetal create/delete  https://review.openstack.org/50011900:03
openstackgerritJulia Kreger proposed openstack-infra/shade master: De-client-ify baremetal machine port list  https://review.openstack.org/50012000:03
openstackgerritJulia Kreger proposed openstack-infra/shade master: De-client-ify machine patch operations  https://review.openstack.org/50012100:03
*** lbragstad has joined #openstack-sdks00:06
*** gildub has joined #openstack-sdks00:07
*** slaweq has joined #openstack-sdks00:13
*** slaweq has quit IRC00:18
*** bobh has joined #openstack-sdks00:32
*** mgagne has joined #openstack-sdks00:34
*** salv-orl_ has quit IRC00:38
*** salv-orlando has joined #openstack-sdks00:38
*** salv-orlando has quit IRC00:43
*** sdague has quit IRC00:44
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Fix py35 and pypy tox env  https://review.openstack.org/52338301:14
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Cleanup objects that we create on behalf of images  https://review.openstack.org/52297401:14
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Add method to cleanup autocreated image objects  https://review.openstack.org/52297501:14
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Complete move of baremetal machine tests  https://review.openstack.org/52297601:14
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Treat clouds.yaml with one cloud like envvars  https://review.openstack.org/52297701:14
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Protect against p_opt not having prompt attribute  https://review.openstack.org/52297801:14
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Update make_rest_client to work with version discovery  https://review.openstack.org/52297901:14
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Added nat_source flag for networks.  https://review.openstack.org/52298001:14
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Shift image tests from test_operator  https://review.openstack.org/52325801:14
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Switch baremetal nics/ports tests over  https://review.openstack.org/52335501:14
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Start using Connection in openstack.cloud  https://review.openstack.org/52325901:14
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Remove get_legacy_client  https://review.openstack.org/52348301:14
* mordred hopes everyone enjoys the current patch-bomb01:14
rodswow01:14
SamYapleone patch a day mordred. thats my review rate for your patches. youre being throttled01:16
*** salv-orlando has joined #openstack-sdks01:39
openstackgerritHengqing Hu proposed openstack/python-openstacksdk master: Add pools attribute to load balancer heath monitor  https://review.openstack.org/52296201:40
*** gildub has quit IRC01:41
*** salv-orlando has quit IRC01:44
*** gildub has joined #openstack-sdks01:52
*** ldl has joined #openstack-sdks01:54
*** purplerbot has quit IRC01:56
*** purplerbot has joined #openstack-sdks01:56
*** annp has joined #openstack-sdks01:59
TheJuliaSamYaple: What about for patches written by others? :)02:03
SamYapleTheJulia: dont subvert the spirit of my decleration with your hacker-think!02:04
TheJuliaMuahahahahaha!02:04
*** shu-mutou-AWAY has quit IRC02:09
*** salv-orlando has joined #openstack-sdks02:40
*** fzdarsky_ has joined #openstack-sdks02:40
*** bobh has quit IRC02:42
*** fzdarsky|afk has quit IRC02:42
*** dave-mccowan has quit IRC02:42
*** salv-orlando has quit IRC02:45
openstackgerritJamie Lennox proposed openstack/keystoneauth master: Mark SAML loader properties as required  https://review.openstack.org/52367503:40
*** gildub has quit IRC03:46
*** prg3 has quit IRC03:51
*** prg3 has joined #openstack-sdks03:51
openstackgerritJamie Lennox proposed openstack/keystoneauth master: Mark SAML loader properties as required  https://review.openstack.org/52367503:58
*** slaweq has joined #openstack-sdks04:15
*** d0ugal has quit IRC04:18
*** ykarel|away has joined #openstack-sdks04:18
*** slaweq has quit IRC04:19
*** ldl has quit IRC04:21
*** ykarel|away has quit IRC04:23
*** gkadam_ has joined #openstack-sdks04:23
*** bobh has joined #openstack-sdks04:25
*** d0ugal has joined #openstack-sdks04:25
*** bobh has quit IRC04:29
*** shu-mutou has joined #openstack-sdks04:29
*** markvoelker has quit IRC04:30
*** ldl has joined #openstack-sdks04:32
*** prg3 has quit IRC04:41
*** salv-orlando has joined #openstack-sdks04:42
*** gouthamr has quit IRC04:43
*** salv-orlando has quit IRC04:46
*** ldl has quit IRC04:47
*** ldl has joined #openstack-sdks04:48
*** reedip has quit IRC05:17
*** markvoelker has joined #openstack-sdks05:30
*** gouthamr has joined #openstack-sdks05:46
*** gouthamr has quit IRC06:04
*** Kvisle has joined #openstack-sdks06:07
*** alex_xu has quit IRC06:10
*** alex_xu has joined #openstack-sdks06:11
*** slaweq has joined #openstack-sdks06:17
*** salv-orlando has joined #openstack-sdks06:25
*** slaweq has quit IRC06:35
*** slaweq has joined #openstack-sdks06:35
*** slaweq has quit IRC06:40
*** gkadam_ has quit IRC06:58
*** reedip has joined #openstack-sdks08:01
*** jpich has joined #openstack-sdks08:17
*** gkadam_ has joined #openstack-sdks08:22
*** e0ne has joined #openstack-sdks08:44
*** ralonsoh has joined #openstack-sdks08:49
openstackgerritOpenStack Proposal Bot proposed openstack/keystoneauth master: Updated from global requirements  https://review.openstack.org/52373608:58
*** fzdarsky_ is now known as fzdarsky09:03
*** ioggstream has joined #openstack-sdks09:11
*** hoangcx has quit IRC09:24
*** dtantsur|afk is now known as dtantsur09:26
*** fzdarsky has quit IRC09:43
*** fzdarsky has joined #openstack-sdks09:48
*** fzdarsky has quit IRC09:54
*** slaweq has joined #openstack-sdks09:55
*** slaweq has quit IRC10:00
*** annp has quit IRC10:02
*** ldl has quit IRC10:05
*** fzdarsky has joined #openstack-sdks10:10
*** ldl has joined #openstack-sdks10:11
openstackgerritÉdouard Thuleau proposed openstack/python-openstacksdk master: Set empty Tag list if Network Tag API extension not supported  https://review.openstack.org/52383410:11
*** shu-mutou is now known as shu-mutou-AWAY10:21
*** ldl has quit IRC10:26
*** ldl has joined #openstack-sdks10:28
*** ldl has quit IRC10:43
*** ldl has joined #openstack-sdks10:48
*** slaweq has joined #openstack-sdks11:10
*** LindaWang1 has joined #openstack-sdks11:12
*** slaweq has quit IRC11:19
*** slaweq has joined #openstack-sdks11:19
*** slaweq has quit IRC11:24
*** sdague has joined #openstack-sdks11:27
*** jkilpatr has quit IRC11:46
*** slaweq has joined #openstack-sdks12:10
*** ScrewTSW has joined #openstack-sdks12:10
*** jkilpatr has joined #openstack-sdks12:17
*** bobh has joined #openstack-sdks12:20
*** slaweq has quit IRC12:21
fricklermordred: how about doing a shade release fixing https://storyboard.openstack.org/#!/story/2001265 ?12:41
*** dtantsur is now known as dtantsur|brb12:47
*** bobh has quit IRC12:50
*** bobh has joined #openstack-sdks12:51
*** thrash|g0ne is now known as thrash12:59
*** bobh has quit IRC13:11
*** chenybd_ has joined #openstack-sdks13:15
*** ldl has quit IRC13:17
*** markvoelker has quit IRC13:19
*** markvoelker has joined #openstack-sdks13:19
*** mmedvede has joined #openstack-sdks13:21
*** LindaWang1 has quit IRC13:25
*** edmondsw has joined #openstack-sdks13:32
*** rcarrillocruz has joined #openstack-sdks13:32
*** dave-mccowan has joined #openstack-sdks13:36
openstackgerritDavid Shrewsbury proposed openstack-infra/shade master: WIP: os_router idempotency check  https://review.openstack.org/52387313:38
Shrewsmordred: wow, your changes are not happy moving through to gate13:41
Shrewsfrickler: i'm looking at that now13:41
Shrews523873 trying to confirm what's being seen13:41
*** openstackstatus has quit IRC13:43
*** openstack has joined #openstack-sdks13:46
*** ChanServ sets mode: +o openstack13:46
fricklerShrews: the bug is triggered only when Neutron is configured with HA (or maybe DVR) and the router also uses that, so I'm not sure you will see it in gate easily13:50
Shrewsfrickler: yeah, just noticed that comment. trying to find the api for that13:51
Shrewsfrickler: not being familiar with that extension, was https://review.openstack.org/482153 totally the wrong thing to do then?13:54
Shrewsmordred: i'm wondering what problem 482153 was solving and if it should just be reverted13:54
Shrewsthe commit message says "L3 HA ports do not correspond to a router interface" but obviously that's not correct13:56
Shrewsfrickler: do you know if that is something that can be enabled in devstack?13:58
fricklerShrews: iiuc 482153 solved the issue not to list the L3 HA ports that are more or less internal to the Neutron HA implementation14:01
fricklerShrews: and you can sure enable things in devstack, neutron is running various scenarios with DVR, not sure about HA14:02
Shrewsoh! seems a fix is already committed14:03
Shrewsok, i thought we needed a fix AND release. but just a release is needed then14:03
fricklerShrews: ah, yes, I did a fix for that, sorry, I assumed that you had seen it. I thought you were trying to verify the fix14:03
Shrewsfrickler: my fault, i misunderstood. yeah, only mordred can do the release14:04
fricklerShrews: adding your check above and maybe a devstack scenario that runs Neutron in HA mode still seem useful to me14:05
Shrewswould be nice if we could find out if devstack supported this though14:05
Shrewsfrickler: yeah. i don't know the devstack magic for that  :(14:06
fricklerShrews: I'll put it on my list, hopefully sometime this week14:07
*** cdent has joined #openstack-sdks14:10
cdentsdague: how did your microversions talk go? was it at apistrat?14:15
sdagueit went pretty well, it was at apistrat. It was the end of the last day, so I got a couple of questions on it, but not a lot of space for broader discussion14:16
cdentdid anyone have an epiphany?14:18
*** LindaWang1 has joined #openstack-sdks14:20
*** dtantsur|brb is now known as dtantsur14:24
mordredShrews, frickler: releases are actually run by the release team now, so you can actually submit a patch requesting one without needing me ... but, I can do that this morning - I think we're overdue for a release anyway14:38
Shrewsmordred: oh right. is that process described anywhere?14:42
*** prg3 has joined #openstack-sdks14:46
mordredShrews: it's pretty much making a patch to openstack/releases ... you'll find a file, deliverables/queens/shade.yaml - that has entries you can copy-pasta14:46
mordredShrews: you need a git sha - so doing a pull on master is usuallya good first step14:46
*** openstack has quit IRC14:46
*** openstack has joined #openstack-sdks14:52
*** ChanServ sets mode: +o openstack14:52
celebdor1Does anybody know if shade support heat tags? I couldn't find it with simple grepping14:52
Shrewsmordred: ah, the README there has the process... but the PTL or release liaison has to submit the request14:52
mordredcelebdor1: I don't think it does, no - but adding it would be a great idea14:53
celebdor1mordred: It is indeed14:54
celebdor1I need it for queens though :P14:54
mordredcelebdor1: :) it's pretty quick to add things to shade and get them released - I don't think getting it in for queens should be a problem14:55
*** d0ugal has quit IRC14:56
mordredShrews: remote:   https://review.openstack.org/523890 Release shade 1.25.014:57
celebdor1mordred: thanks for the info14:58
celebdor1:-)14:58
mordredShrews: also, I have learned this morning that there are a few openstack projects, octavia-dashboard, senlin-dashboard, tricircle, bilean, senlin, heat and a couple others - that an sdk release is going to break14:59
*** cdent has quit IRC14:59
mordredShrews: so I think I need to put 'get patches landed to each of those projects' to the list of things we do before we cut an sdk release with the new changes in it15:00
Shrewsmordred: that's fun15:00
*** salv-orl_ has joined #openstack-sdks15:02
mordredShrews: oh - actually, no - we kept compat for the thing that would break them15:02
mordredso we can release, then change the interface they all use15:02
*** salv-orlando has quit IRC15:03
*** d0ugal has joined #openstack-sdks15:04
*** marst has joined #openstack-sdks15:06
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Sort image update results before comparing  https://review.openstack.org/52389315:11
mordredShrews: that ^^ should fix the unittest failures that are happening15:12
mordredShrews: I'm guessing the jsonpatch release on november 25 is to blame, fwiw15:13
*** bobh has joined #openstack-sdks15:14
*** thrash is now known as thrash|biab15:15
*** d0ugal_ has joined #openstack-sdks15:17
*** d0ugal has quit IRC15:20
*** gouthamr has joined #openstack-sdks15:22
*** cdent has joined #openstack-sdks15:32
*** d0ugal has joined #openstack-sdks15:35
*** d0ugal_ has quit IRC15:37
openstackgerritMonty Taylor proposed openstack-infra/shade master: Avoid tox_install.sh for constraints support  https://review.openstack.org/50806115:48
openstackgerritMonty Taylor proposed openstack-infra/shade master: Fix basepython setting in tox.ini  https://review.openstack.org/52391515:48
*** chenybd_ has quit IRC15:49
*** chenybd_ has joined #openstack-sdks15:49
*** chenybd_ has quit IRC15:54
*** LindaWang1 has quit IRC15:56
*** ScrewTSW has quit IRC15:56
*** e0ne has quit IRC15:59
*** edmondsw_ has joined #openstack-sdks16:00
*** thrash|biab is now known as thrash16:02
*** edmondsw has quit IRC16:03
*** edmondsw_ is now known as edmondsw16:03
mordredincoming patch bomb ... sorry for the rebase ... it was needed to get in the jsonpatch sorting fix16:16
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Add ability to work in other auth contexts  https://review.openstack.org/52297016:16
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Add helper property to get the current user id  https://review.openstack.org/52297116:16
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Remove reference to context-managers from release note  https://review.openstack.org/52297216:16
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Document current_user_id in a release note  https://review.openstack.org/52297316:16
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Fix py35 and pypy tox env  https://review.openstack.org/52338316:16
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Cleanup objects that we create on behalf of images  https://review.openstack.org/52297416:16
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Add method to cleanup autocreated image objects  https://review.openstack.org/52297516:16
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Complete move of baremetal machine tests  https://review.openstack.org/52297616:16
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Treat clouds.yaml with one cloud like envvars  https://review.openstack.org/52297716:16
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Protect against p_opt not having prompt attribute  https://review.openstack.org/52297816:16
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Update make_rest_client to work with version discovery  https://review.openstack.org/52297916:16
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Added nat_source flag for networks.  https://review.openstack.org/52298016:16
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Shift image tests from test_operator  https://review.openstack.org/52325816:16
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Switch baremetal nics/ports tests over  https://review.openstack.org/52335516:16
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Start using Connection in openstack.cloud  https://review.openstack.org/52325916:16
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Remove get_legacy_client  https://review.openstack.org/52348316:16
mordredShrews: those should, you know, pass this time16:16
sdaguecdent: I don't know that there were any real epiphanies from folks. I think a new interesting spin on it was with graphql, someone asked if that solved the problem all by itself16:17
sdaguewhich, it solves a related problem in theory, though in practice, if your applications don't consume the API directly, but through a 3rd party SDK, as we've seen, graphql probably just always asks for everything, then you are back to REST resources.16:18
cdentI’ve read elsewhere of graphql being a way out of a versioning problem, if you start there16:19
cdentbut if you’re not already there…16:19
sdagueyeh16:20
sdaguealso, I think graphql seems to work best when the front end has intimate knowledge of the costs of asking for things on the backend. So as a layer between the github ui and services, it's awesome16:23
mordredsdague: yah - or, as soon as they finish adding all of the things to the graphql layer, it'll help zuul's github driver make fewer API calls and thus avoid rate-limit issues16:27
sdaguemordred: sure16:28
mordredsdague: but I agree, in general, with the assessment about intimate knowledge - in this example, the zuul thing is a cost optimization - it's certainly not an easier/better way to write the first version of the thing16:28
sdaguemordred: and, you are hitting the API raw, because you need that level of granularity16:29
mordredyup16:29
sdaguebut, if you went through someone's random SDK16:29
sdagueyou are unlikely to get those optimizations16:29
mordredyup. exactly16:29
*** calebb has joined #openstack-sdks16:30
mordredthat said - I'd kind of LOVE a graphql api option for openstack service ... for similar reasons16:30
*** melwitt has joined #openstack-sdks16:30
mordredfinding the port that's ona subnet on a network is basically doing three full list calls and doing a client-side in-memory join16:30
sdaguemordred: honestly, building a graphql porcelin for all of openstack would be a totally legit thing to do16:31
sdagueit would be different enough that I don't think it would be confusing between the rest resources at the point sevices and what it returned16:31
mordredsdague: yah. although having a per-service graphql as well that the porcelin could use for push-downs for efficiency would also be nice ... but yes, a graphql openstack porcelain that could do "I want to create a floating IP on a port from the server that is on this subnet of this network"...16:32
mordredwould be awesome to do as one call16:33
openstackgerritMonty Taylor proposed openstack-infra/shade master: Fix basepython setting in tox.ini  https://review.openstack.org/52391516:41
openstackgerritMerged openstack/python-openstackclient master: Set correct designate endpoint in docs  https://review.openstack.org/52356716:56
openstackgerritDean Troyer proposed openstack/python-openstackclient master: DNM: Test -tips variations  https://review.openstack.org/52393817:17
*** thrash is now known as thrash|biab17:25
*** gkadam_ has quit IRC17:27
*** jpich has quit IRC17:29
*** ioggstream has quit IRC17:34
*** ralonsoh has quit IRC17:36
*** e0ne has joined #openstack-sdks17:44
*** celebdor1 has quit IRC17:46
*** _alastor_ has quit IRC17:53
*** _alastor_ has joined #openstack-sdks17:55
*** salv-orl_ has quit IRC17:59
*** salv-orlando has joined #openstack-sdks17:59
*** salv-orlando has quit IRC17:59
*** salv-orlando has joined #openstack-sdks18:03
openstackgerritMonty Taylor proposed openstack-infra/shade master: Fix basepython setting in tox.ini  https://review.openstack.org/52391518:07
openstackgerritMonty Taylor proposed openstack-infra/shade master: Avoid tox_install.sh for constraints support  https://review.openstack.org/50806118:07
KvisleHi! I can see that https://review.openstack.org/#/c/522004/ looks good with review, but it doesn't seem to be merged yet. Do I need to do anything?18:08
ShrewsKvisle: No. Just waiting for mordred to have a chance to look it over first.18:10
KvisleAh =)18:10
*** dtantsur is now known as dtantsur|afk18:10
*** fzdarsky is now known as fzdarsky|afk18:14
mordredKvisle: +A - thanks!18:14
Kvisle\o/18:15
*** _alastor_ has quit IRC18:16
Shrewsmordred: that's an interesting error you got there on that image sorting fix. rsync seems to think there's a MITM attack18:20
mordredShrews: yay!18:21
Shrewshttp://logs.openstack.org/93/523893/1/gate/openstack-tox-py27/8ddfac1/ara/result/38e984ce-db99-4dac-8399-5e4002a0025b/18:21
mordredShrews: that sounds like a thing we should bring up over in infra land18:25
Shrewsk18:25
thingeemordred: I'm still interested on working on oaktree. I read through the brain dump email and appreciate you writing that up, finally ;)18:35
*** gkadam_ has joined #openstack-sdks18:35
*** salv-orlando has quit IRC18:36
*** salv-orlando has joined #openstack-sdks18:36
thingeemordred: I would like to keep my core seat please.18:37
cdentI’d like to work on oaktree too, but I’m struggling to think I’ll have the time :(18:40
*** salv-orlando has quit IRC18:41
openstackgerritMerged openstack-infra/shade master: Implement availability_zone_hints for networks and routers.  https://review.openstack.org/52200418:51
Shrewsjust for the record, if oaktree attempts to handle more than just openstack clouds (which is already insanely complex), it will be doomed to failure. <EOM>19:06
cdentShrews++19:35
*** salv-orlando has joined #openstack-sdks19:37
*** salv-orlando has quit IRC19:42
SamYapleShrews: all we gotta do is abstract a little bit more. easy peasy19:43
openstackgerritHarald Jensås proposed openstack/python-openstackclient master: Allow setting network-segment on subnet update  https://review.openstack.org/52397419:44
thingeeShrews: +119:48
*** thrash|biab is now known as thrash19:53
openstackgerritDean Troyer proposed openstack/python-openstackclient master: DNM: Test -tips variations  https://review.openstack.org/52393820:18
*** salv-orlando has joined #openstack-sdks20:27
openstackgerritDean Troyer proposed openstack/python-openstackclient master: DNM: Test -tips variations  https://review.openstack.org/52393820:32
openstackgerritHarald Jensås proposed openstack/python-openstackclient master: Allow setting network-segment on subnet update  https://review.openstack.org/52397420:55
*** salv-orlando has quit IRC20:58
*** salv-orlando has joined #openstack-sdks21:04
mordredthingee: woot. sorry it took me so long to get that down on paper in any useful way21:04
mordredSamYaple: agree21:05
mordredcdent: I'm going to give you core for now, just because - if it doesn't work out, no biggie21:05
cdentmordred: I think I can handle that responsibly. Thanks.21:06
*** d0ugal has quit IRC21:07
openstackgerritMerged openstack/python-openstacksdk master: Sort image update results before comparing  https://review.openstack.org/52389321:09
openstackgerritMerged openstack/python-openstacksdk master: Add ability to work in other auth contexts  https://review.openstack.org/52297021:09
openstackgerritMerged openstack/python-openstacksdk master: Add helper property to get the current user id  https://review.openstack.org/52297121:09
openstackgerritMerged openstack/python-openstacksdk master: Remove reference to context-managers from release note  https://review.openstack.org/52297221:09
openstackgerritMerged openstack/python-openstacksdk master: Document current_user_id in a release note  https://review.openstack.org/52297321:09
SamYaplemordred: ill try to get on the rest of the reviews after i land in denver21:10
SamYaplekeep them small and ill keep reviewing :P21:11
mordredSamYaple, Shrews: I think we need a tag or a topic or something to mark "this already landed in shade or os-client-config and is just a cherry-pick to get them up to date" vs. "this is actual code that needs actual review other than 'do the tests pass'"21:18
openstackgerritDean Troyer proposed openstack/python-openstackclient master: DNM: Test -tips variations  https://review.openstack.org/52393821:19
dtroyermordred: at what point would you want to reverse that?  ie, SDK is source of truth and shade/occ are 'backports'?  when they become shims?21:20
openstackgerritMonty Taylor proposed openstack/cliff master: Use in-tree cliffdemo app for docs build  https://review.openstack.org/51501621:22
openstackgerritMonty Taylor proposed openstack/cliff master: Move doc requirements to doc/requirements.txt  https://review.openstack.org/52236921:22
openstackgerritMonty Taylor proposed openstack/cliff master: Remove tox_install.sh and just pass -c in tox  https://review.openstack.org/52398421:22
openstackgerritMonty Taylor proposed openstack/cliff master: DNM testing docs and releasenotes jobs  https://review.openstack.org/52237021:22
mordreddtroyer: yah- when they become shims21:25
mordreddtroyer: and hopefully at that point we don't have to do any cherry-picking/backports *fingers crossed*21:25
*** tonythomas has joined #openstack-sdks21:27
openstackgerritJulia Kreger proposed openstack-infra/shade master: De-client-ify many baremetal calls  https://review.openstack.org/52398621:35
openstackgerritJulia Kreger proposed openstack-infra/shade master: Fix operator cloud get_nic_by_mac  https://review.openstack.org/52398721:35
openstackgerritJulia Kreger proposed openstack-infra/shade master: De-client-ify fixed method get_nic_by_mac  https://review.openstack.org/52398821:35
openstackgerritJulia Kreger proposed openstack-infra/shade master: Remove python-ironicclient  https://review.openstack.org/52398921:35
openstackgerritMonty Taylor proposed openstack-infra/shade master: Avoid tox_install.sh for constraints support  https://review.openstack.org/50806121:37
Shrewsmordred: maybe. i just compared git logs to discover that, but if it would help others, fine with me21:37
Shrewsmordred: there is a git option to leave a "cherry picked" comment, iirc21:39
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Remove use of tox-siblings role  https://review.openstack.org/52399321:39
Shrewsgit cherry-pick -x ... or similar21:39
Shrewsi thought git-review carried it over, too21:39
TheJulia-X21:40
TheJulia-x doesn't create the comment21:40
Shrewswell boo21:41
Shrewsoh, but -X does?21:41
TheJuliac'est la vie21:41
TheJuliayes, it does21:41
Shrewswhoomp, there it is21:42
mordredShrews: neat!21:44
mordredoh- also - wow ... TheJulia do I see a Remove python-ironicclient patch up there???21:44
TheJuliamordred: is it too early to consider it a birthday gift?21:44
* mordred hands TheJulia a pastry full of other pastries that are all full of chickens that are stuffed with whiskey21:45
TheJuliammm whisky21:45
TheJuliaSeriously though, Yes, I hope it is right.  Unit tests pass locally, which is a good sign. I fired up a dnm test on bifrost to pull it in and see if it breaks. I also moved my wip tag accordingly.21:46
Shrewswe should, ya know, merge that and stuff21:48
*** kmalloc has joined #openstack-sdks21:49
TheJuliaShrews: yeah, for some reason my removal of my wip tag earlier today from the patch chain didn't take... :\21:50
mordredTheJulia, Shrews: +2 with comment on https://review.openstack.org/#/c/499774/3 - comment applies to the previous patch too (which is already +A'd) - I think it's totally fine for us to deal with in a followup21:50
*** edmondsw has quit IRC21:51
mordredTheJulia: also, I think there is a rebase oops in https://review.openstack.org/#/c/500119/321:52
openstackgerritMerged openstack-infra/shade master: Fix basepython setting in tox.ini  https://review.openstack.org/52391521:52
TheJuliamordred: replied, and agreed, I'll rip that out in the morning.21:53
Shrewswhat's funny is, that it still passed tests21:53
*** edmondsw has joined #openstack-sdks21:53
Shrewss/funny/sad/ ??21:53
TheJuliawow... fun rebase failure :(21:54
* TheJulia pulls the rev down to fix and then cry21:54
openstackgerritJulia Kreger proposed openstack-infra/shade master: De-clientify baremetal create/delete  https://review.openstack.org/50011921:57
openstackgerritJulia Kreger proposed openstack-infra/shade master: De-client-ify baremetal machine port list  https://review.openstack.org/50012021:57
mordredTheJulia: AHA - normalize_machines only removes novaclient noise - I was wondering how the old method worked with normalize_machines(MachienPortList()) :)21:57
* TheJulia sighs21:57
TheJuliamordred: my guess, cp -a python-novaclient python-ironicclient21:58
*** edmondsw has quit IRC21:58
mordredTheJulia: also, left a note for later in https://review.openstack.org/#/c/500119 - I don't think we should do anything about it today or tomorrow22:01
mordredTheJulia: thank you for leaving the comment there though - it was very helpful :)22:01
openstackgerritJulia Kreger proposed openstack-infra/shade master: De-client-ify machine patch operations  https://review.openstack.org/50012122:01
mordredTheJulia, Shrews: stack up to the WIP is all +2 from me.22:02
adriantOut of curiosity, for the openstackSDK, if "param profile: DEPRECATED" what am I meant to use in code programatically to define what region I need to talk to? The docs for openstackSDK do not mention the profile deprecation, and as much as I dislike the profile mechanism, it made sense (although the ability/need to define a different region for mul22:02
adrianttiple services in the same connection object was odd).22:02
*** cdent has quit IRC22:03
mordredTheJulia: THANK YOU! I think as soon as that last patch lands we should cut another release, since removing that depend will make life **WAY** easier on packagers22:03
mordredadriant: that'sa great question - and we should clearly make a document about that22:03
mordredadriant: one second - lemme link you to something22:03
TheJuliamordred: awesome, I'm going to disappear shortly for at least the next few hours22:04
TheJuliamordred: I just feel bad I'm just now getting to it....22:04
* TheJulia swears it is not stress hacking on code... but it really is22:04
adriantmordred: I'm trying to switch a bunch of tools to openstackSDK, but none of them rely on clouds.yaml (it doesn't make sense to) and I need to pass in config stuff. From keystoneauth I can get my session, find, but region I've always done with profile.22:05
mordredadriant: well, this isn't nearly as useful a link as I'd hoped, but ...22:05
mordredhttp://git.openstack.org/cgit/openstack/python-openstackclient/tree/openstackclient/network/client.py#n3922:05
adriantmordred: that still uses profile :P22:05
mordredadriant: yah- the answer for you is gonna be to make a CloudConfig object basically  just like you've been making a profile22:05
*** jkilpatr has quit IRC22:05
openstackgerritDean Troyer proposed openstack/python-openstackclient master: Release note cleanup  https://review.openstack.org/52400422:06
mordredadriant: lemme make a quick patch to something else that shows the ACTUAL answer22:06
mordredadriant: and also a doc patch :)22:06
adriantmordred: k, I had a feeling i'd end up having to make a config object :P22:06
mordredadriant: out of curiosity - do you want your use to explicitly *not* support clouds.yaml - or more you don't  have any clouds.yaml and don't care22:07
mordred(example patch is different depending on which of those is true - I should probably make both examples)22:07
adriantmordred: the thing I'm working on in question is a django site/service that has it's own config file. So clouds.yaml doesn't make sense.22:08
mordredadriant: nod. cool - example coming22:08
adriantsame again with a different API service I've got22:08
adriantthen the rest of my tools are built on top of the openstackclient, so they natively just use clouds.yaml22:08
adriantI find that if I'm writing any scripts for openstack, I just make them an openstackclient plugin and forget all the tiresome stuff and focus on functionality22:09
adriantmordred: and thanks :)22:09
*** jkilpatr has joined #openstack-sdks22:29
mordredadriant: https://review.openstack.org/524011 Update openstacksdk construction to be forward compatible22:31
mordredadriant: I'm going to extract that into a proper doc - but that should have all the pieces you need (and more)22:32
*** edmondsw has joined #openstack-sdks22:32
openstackgerritMerged openstack-infra/shade master: De-client-ify baremetal node_set_provision_state  https://review.openstack.org/49977322:34
*** edmondsw has quit IRC22:37
openstackgerritDean Troyer proposed openstack/python-openstackclient master: Release note cleanup  https://review.openstack.org/52400422:38
adriantmordred: ty, and love the comment22:42
mordredadriant: :)22:46
adriantmordred: I have to admin, that's much nicer than the profile stuff. The profile stuff was my main reason for not liking the SDK since it just seemed overcomplicated22:48
adriantadmit*22:48
*** edmondsw has joined #openstack-sdks22:48
adriantlike sure, you could have swift in one region, nova in another, and cinder in a third, all in the same connection object. the question though is why!?22:49
*** e0ne has quit IRC22:49
*** e0ne has joined #openstack-sdks22:50
*** e0ne has quit IRC22:51
*** e0ne has joined #openstack-sdks22:51
*** e0ne has quit IRC22:51
*** e0ne has joined #openstack-sdks22:52
*** e0ne has quit IRC22:52
*** e0ne has joined #openstack-sdks22:53
*** e0ne has quit IRC22:53
*** e0ne has joined #openstack-sdks22:54
*** e0ne has quit IRC22:55
*** e0ne has joined #openstack-sdks22:55
*** e0ne has quit IRC22:55
*** prg3 has quit IRC23:03
*** d0ugal has joined #openstack-sdks23:04
adriantmordred: and the thing you were talking about at the summit was "get_session_client" right? So in the context of openstackSDK you can just do raw API calls if the code doesn't support the feature you.23:05
adriantmordred: but that appears to be on the config class, rather than the connection/service class. Which means I need to keep the config class around if I need to call APIs directly, or is there a way I can get at that on the connection/service class?23:06
adriantI was imagining it as "resp = conn.object_store._client.get("/thing")23:07
adriantI'm sure the adapter is in there somewhere, and i can probably find it by trawling the code some more, just was curious if there was a nice way to do access it.23:09
*** salv-orlando has quit IRC23:22
*** salv-orlando has joined #openstack-sdks23:22
adriantmordred: also, a passthrough or shortcut for "OpenStackConfig(load_yaml_config=False).get_one_cloud" might not be a bad idea. Since we shouldn't assume clouds.yaml is the default. It's only the default from a cli/tools perspective, and we really should make use the SDK in services and such much easier. Or at least initialising it.23:25
*** bobh has quit IRC23:25
*** bobh has joined #openstack-sdks23:26
*** salv-orlando has quit IRC23:27
*** bobh has quit IRC23:30
openstackgerritMonty Taylor proposed openstack/python-openstacksdk master: Add some docs about not using Profile  https://review.openstack.org/52402123:31
mordredadriant: sorry - was writing that ^^23:32
mordredadriant: SO - in the master branch currently you don't need do do a get_session_client at all - once you have a connectoin, each service's Proxy object is actually also an Adapter23:32
mordredadriant: so you can do conn.compute.get('/foo')23:32
mordredadriant: also, fwiw, the service proxy objects all all by service_type as per the service type registry, and there's also one for any known alias ... although still todo is to make sure old aliases like volumev2 actually construct appropriately versioned adapters23:35
mordredadriant: AND - yes, definitely shortcuts such as what you say - there are several littered about, but we need to rationalize it all since the codebase merges23:35
mordredadriant: so, like, in master, you can do "import openstack ; openstack.connect(**parameters_you_would_have_passed_to_get_one_cloud)"23:36
SamYapleTheJulia: w00t! congrats on getting whiskey chicken. seems like a fair trade for that work (now you just have to hold monty to it)23:37
mordredadriant: maybe we should make 2 factory functions - one for no-clouds.yaml and one for yes-clouds.yaml ... cause for utility scripts I gotta tell you I would never ever use not clouds.yaml and the extra typing to turn on loading the files would drive me batty23:39
mordredadriant: *waves hands* ... fundamentally, totally agree with the things you're saying, we can work out what the shortcut things do pretty easily so we're all happy :)23:39
*** marst has quit IRC23:49
*** bobh has joined #openstack-sdks23:53

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