Wednesday, 2019-04-17

mriedemdtroyer: https://review.openstack.org/653176 is my wip for that --config-drive thing, problem noted within on nargs='?' which maybe you know...tomorrow00:00
Sundarmriedem: One advantage, from what I see, is that it gives a uniform way for one project to talk to any other project, without having to have a separate entry in the conf file for every single callee.00:00
*** mriedem has left #openstack-sdks00:26
*** ricolin has joined #openstack-sdks00:56
*** bobh has joined #openstack-sdks01:16
*** whoami-rajat has joined #openstack-sdks01:31
*** bobh has quit IRC01:40
*** Sundar has quit IRC01:58
*** bobh has joined #openstack-sdks02:14
*** bobh has quit IRC02:15
*** bobh has joined #openstack-sdks02:47
*** bobh has quit IRC02:58
openstackgerritErik Olof Gunnar Andersson proposed openstack/openstacksdk master: Actually pass on network_data when building configdrive  https://review.openstack.org/65327103:24
*** e0ne has joined #openstack-sdks04:35
*** e0ne has quit IRC04:42
*** e0ne has joined #openstack-sdks04:44
*** e0ne has quit IRC05:16
*** e0ne has joined #openstack-sdks05:40
*** e0ne has quit IRC05:59
*** ralonsoh has joined #openstack-sdks06:21
*** holser_ has joined #openstack-sdks06:44
openstackgerritArtem Goncharov proposed openstack/openstacksdk master: Continue refactoring of the image  https://review.openstack.org/65153406:53
*** gtema has joined #openstack-sdks06:54
openstackgerritArtem Goncharov proposed openstack/openstacksdk master: Add image.stage methods  https://review.openstack.org/65298106:57
*** yolanda_ has joined #openstack-sdks07:07
*** tosky has joined #openstack-sdks07:29
*** dtantsur|afk is now known as dtantsur07:33
openstackgerritDmitry Tantsur proposed openstack/openstacksdk master: Actually pass on network_data when building configdrive  https://review.openstack.org/65327107:42
dtantsurgtema: morning, have a second for an easy approval? ^^^07:43
gtemayeah, am on call now, in a few minutes07:43
dtantsurthx07:48
*** e0ne has joined #openstack-sdks07:51
gtemawlcm07:55
*** jpich has joined #openstack-sdks08:01
*** ttsiouts has joined #openstack-sdks08:06
*** ttsiouts has quit IRC08:17
*** ttsiouts has joined #openstack-sdks08:17
*** ttsiouts has quit IRC08:22
*** ttsiouts has joined #openstack-sdks08:28
*** e0ne has quit IRC08:38
*** e0ne has joined #openstack-sdks08:42
*** e0ne has quit IRC08:43
*** e0ne has joined #openstack-sdks08:43
*** e0ne has quit IRC08:58
*** e0ne has joined #openstack-sdks08:59
*** e0ne has quit IRC09:02
*** gtema has quit IRC09:03
*** gtema has joined #openstack-sdks09:06
*** e0ne has joined #openstack-sdks09:09
*** ttsiouts has quit IRC09:17
*** ttsiouts has joined #openstack-sdks09:18
openstackgerritArtem Goncharov proposed openstack/openstacksdk master: Update baremetal to use proxy logger  https://review.openstack.org/65208309:18
*** ttsiouts_ has joined #openstack-sdks09:19
*** ttsiouts has quit IRC09:19
*** e0ne has quit IRC09:37
*** e0ne has joined #openstack-sdks09:40
*** e0ne has quit IRC09:46
*** holser_ is now known as holser|lunch09:49
*** e0ne has joined #openstack-sdks09:53
*** gkadam has joined #openstack-sdks10:16
*** e0ne has quit IRC10:27
*** e0ne has joined #openstack-sdks10:31
*** ttsiouts_ has quit IRC10:37
*** ttsiouts has joined #openstack-sdks10:38
*** ttsiouts has quit IRC10:42
*** gkadam is now known as gkadam-afk11:06
*** ttsiouts has joined #openstack-sdks11:08
*** ttsiouts has quit IRC11:20
*** ttsiouts has joined #openstack-sdks11:21
*** ttsiouts has quit IRC11:25
*** holser|lunch is now known as holser_11:26
*** ttsiouts has joined #openstack-sdks11:27
*** cdent has joined #openstack-sdks11:36
*** gtema has quit IRC11:37
*** ttsiouts has quit IRC11:43
*** ttsiouts has joined #openstack-sdks11:44
*** ttsiouts_ has joined #openstack-sdks11:46
*** ttsiouts has quit IRC11:47
*** gkadam-afk is now known as gkadam11:51
*** ttsiouts_ has quit IRC11:51
*** bobh has joined #openstack-sdks11:51
openstackgerritMerged openstack/openstacksdk master: Actually pass on network_data when building configdrive  https://review.openstack.org/65327111:53
*** bobh has quit IRC11:54
*** cdent has quit IRC11:59
*** e0ne has quit IRC12:00
*** bobh has joined #openstack-sdks12:01
*** cdent has joined #openstack-sdks12:04
*** bobh has quit IRC12:05
*** dtantsur is now known as dtantsur|brb12:07
*** e0ne has joined #openstack-sdks12:10
*** e0ne has quit IRC12:34
*** e0ne has joined #openstack-sdks12:58
*** dtantsur|brb is now known as dtantsur13:07
*** bobh has joined #openstack-sdks13:22
cdentelmiko, edleafe, dtantsur, mordred when you have a moment please look at https://storyboard.openstack.org/#!/story/2005474 at the concept of "openstack-shard" mooted in there and the command line client issues it might present. apologies for the haphazard text there, just trying to get things written up without losing ideas13:28
mordredcdent: oh goodie!13:28
* dtantsur puts on his list13:28
edleafecdent: ack13:28
mordredcdent: it's open in my browser13:28
mordredcdent: also - I haven't followed the rest of the email thread about placement and docker - but I definitely want to sit down with you at the PTG and show you what we've got and how it works13:29
cdentmordred++13:29
mordredcdent: corvus is going to be doing a keynote on the topic too - but as a keynote, it'll obviously be missing details :)13:29
cdentI will probably need to coralled in order to remember. Do not feel bad about hassling me if it comes to that. I'm not good at remembering things at large gatherings.13:30
mordredI figure placement is a popular enough kid that if we get you hooked up it might serve as a good blueprint for other people - or if that doesn't work it can serve as good feedback13:30
*** e0ne has quit IRC13:30
mordredcdent: me either. but I think this is a  good targetted opportunity, so I'll do my best to remember13:30
cdentI will endeavor as well13:30
cdentbtw: the docker stuff got a story too: https://storyboard.openstack.org/#!/story/200546313:31
*** cdent has quit IRC13:36
*** cdent has joined #openstack-sdks13:36
elmikocdent: ack, will take a look13:39
*** cdent has quit IRC13:40
*** bobh_ has joined #openstack-sdks14:05
*** bobh has quit IRC14:06
*** cdent has joined #openstack-sdks14:28
*** bobh_ has quit IRC14:33
*** markvoelker has joined #openstack-sdks14:35
elmikocdent: are the storyboard comments an appropriate place to leave my thoughts about your idea?14:47
elmiko(sorry, don't have a ton of storyboard experience)14:47
cdentelmiko: If you like, but I was thinking of it more as fodder for some api-sig noodling that would then be reflected back to either to the story or a guideline if everyone loved it14:48
cdentelmiko: basically if you have comments on the goal (get sharding working in placement) the story would be the right place14:48
cdentbut if you have coments on the concept of an 'openstack-shard: header' somewhere else might be better14:49
elmikoack, thanks!14:50
elmikoat this point i'm working more at the conceptual level, athough i did follow the email thread14:51
elmikoi actually find the placement stuff to be kind of exciting/invigorating for the openstack community. it's nice to see that this community can still accept projects with the potential for high impact. ++ imo14:52
*** e0ne has joined #openstack-sdks14:53
*** dustinc has quit IRC14:56
*** dustinc has joined #openstack-sdks14:56
*** dustinc is now known as dustinc_away14:56
efriedmordred, dtroyer: I had another thing I wanted to bring up about consuming the SDK in projects like nova/cyborg...15:00
efriedWe find ourselves having a tough time with testing at several levels because of the internal magic Connection does when you instantiate it15:00
efriedand could really use a fixture to mock out enough of those bits that we can use Connection mostly like it's supposed to be used, just mocking e.g. response payloads for certain methods15:01
efriedbut writing those fixtures in the consuming project is going to be either really brittle because we patch out internals that could change; or too high-level because we patch out the whole Connection and essentially rewrite the SDK framework in our fixture.15:03
efriedtl;dr: would you support openstacksdk publishing a ConnectionFixture for use by consumers' tests?15:03
mordredefried: yes.15:06
mordredefried: so - in sdk's tests, we use requests-mock and do exactly that - we only mock the HTTP interactions, not the actual connection methods15:06
mordredefried: to support that, we have a bunch of fixtures and other stuff to set up keystone catalogs and endpoints and whatnot15:06
efriedmordred: How hard to expose some subset of those fixtures?15:07
mordredI've been meaning for a WHILE to make that stuff re-consumable - because people consuming Connection should also really be mocking http not mocking methods15:07
mordredit shouldn't be too hard- it'll mostly be about organization and cleanup15:07
efriedmordred: though I wouldn't actually mind being able to mock the object thingies rather than the raw http payloads...15:08
mordredand probably making a top-level Fixture class that can be easily instantiated15:08
mordredefried: the tests we inherited from the sdk codebase do that ... and I find them to be exceptionally brittle15:08
mordredhowever - if it's a thing that people need to be able to do and someone figures out how to write it - I would not be opposed to it living in the sdk repo15:09
efriedSo e.g. I can say mock.patch.object(conn.image, 'images', side_effect=[list, of, Image, objects, returned, by, the, generator])15:09
efriedthat ^ wouldn't exactly work, since the return value needs to *be* the generator, but it's the general idea.15:10
mordredyeah - I find it easier to do:15:10
mordred            dict(method='GET',15:10
mordred                 uri='https://image.example.com/v2/images',15:10
mordred                 json=self.fake_search_return),15:10
mordredbut that's just me :)15:10
*** cdent has quit IRC15:11
*** bobh has joined #openstack-sdks15:11
mordredin any case - I am very supportive of the problem you want to solve15:11
mordredquibbling about impl details notwithstanding15:11
efriedcool. Finding someone to do the work any time in the near future, that's going to be the tough part.15:11
mordredyeah. but maybe we can!15:11
efriedI guess I should file a story or something.15:11
mordredefried: mildly related - where's the nova ptg schedule? I believe there's an sdk related topic and I want to make sure it's on my calendar so I don't forget about it15:13
efriedmordred: Other than slots for three or so of the xproj sessions, I haven't put it together yet.15:13
mordredok. cool. I'll keep my eyes out :)15:14
*** adriant has quit IRC15:51
*** adriant has joined #openstack-sdks15:53
*** cdent has joined #openstack-sdks15:54
*** bobh has quit IRC15:59
*** holser_ has quit IRC16:05
efriedmordred, dustinc_away: https://storyboard.openstack.org/#!/story/200547516:06
*** dims has quit IRC16:07
*** gtema has joined #openstack-sdks16:12
*** jpich has quit IRC16:20
*** dtantsur is now known as dtantsur|afk16:24
*** dims has joined #openstack-sdks16:54
*** gkadam has quit IRC16:57
*** dims has quit IRC16:59
*** e0ne has quit IRC17:01
*** dims has joined #openstack-sdks17:01
*** ricolin has quit IRC17:04
*** gtema has quit IRC17:16
*** gtema has joined #openstack-sdks17:26
*** markvoelker has quit IRC17:31
*** markvoelker has joined #openstack-sdks17:31
*** markvoelker has quit IRC17:35
*** ralonsoh has quit IRC17:36
*** jangutter has quit IRC17:39
*** bobh has joined #openstack-sdks17:50
openstackgerritArtem Goncharov proposed openstack/openstacksdk master: Continue refactoring of the image  https://review.openstack.org/65153417:54
*** gtema has quit IRC18:00
elmikoedleafe, cdent, wanted to give you a heads up, etoews is giving a talk about the work he's doing in about 45 minutes, url for video conference https://bluejeans.com/893304933418:17
elmikothe general topic has been relayed as gitops18:18
openstackgerritJeremy Houser proposed openstack/python-openstackclient master: Prevent setUpClass failures in volume v1 tests  https://review.openstack.org/64876018:18
openstackgerritJeremy Houser proposed openstack/python-openstackclient master: Alter test_volume.py to ensure volume deletion  https://review.openstack.org/65268218:18
cdentblast from the past18:18
elmikoyeah totally!18:18
elmikowhen i saw his name popup on my email i thought i had to check it out18:19
elmikoi guess the openshift commons group invited him to give a talk18:19
cdentIn about 45 minutes I hope to be buried in my dinner18:19
edleafeThat's a novel way of disposing of a corpse18:19
cdentneed something to eat for the long journey18:20
elmikolol18:21
openstackgerritJeremy Houser proposed openstack/python-openstackclient master: Alter test_volume.py to ensure volume deletion  https://review.openstack.org/65268218:21
elmikocdent: as a followup to your request from earlier, i think the sharding story makes sense at the level presented in the doc18:21
elmikoi think there will be plenty of technical challenges, but in general i like the /idea/18:22
cdentelmiko: does a header seems like the sensible route?18:22
elmikoi think so, for me it has the lowest impact on things that are already installed18:23
elmikoi can't imagine modifying the body of requests, well i can but it's not pretty18:23
elmikothe other option would be something in the uri, but i /really/ don't like that18:23
elmikoimo, unless someone comes with a better idea, the header seems like a good first approach18:24
cdentcool, thanks18:25
elmikonp =)18:25
cdenti'm hoping that mordred is going to have something to say about a universal "this is openstack X" identifier that is already in the works18:26
elmikowouldn't that be lovely18:28
openstackgerritJeremy Houser proposed openstack/python-openstackclient master: Alter test_volume.py to ensure volume deletion  https://review.openstack.org/65268219:00
*** cdent has quit IRC19:04
*** keekz is now known as nicholas19:08
*** holser_ has joined #openstack-sdks19:12
*** e0ne has joined #openstack-sdks19:17
*** e0ne has quit IRC19:20
*** e0ne has joined #openstack-sdks19:22
openstackgerritJeremy Houser proposed openstack/python-openstackclient master: Alter test_volume.py to ensure volume deletion  https://review.openstack.org/65268219:52
*** bobh has quit IRC19:56
*** e0ne has quit IRC20:31
*** holser_ has quit IRC20:54
*** whoami-rajat has quit IRC21:01
*** slaweq has quit IRC21:17
*** slaweq has joined #openstack-sdks21:19
openstackgerritJeremy Houser proposed openstack/python-openstackclient master: Alter test_volume.py to ensure volume deletion  https://review.openstack.org/65268221:23
*** slaweq has quit IRC21:24
*** slaweq has joined #openstack-sdks21:40
*** slaweq has quit IRC21:45
*** slaweq has joined #openstack-sdks21:50
*** slaweq has quit IRC21:55
openstackgerritEric Fried proposed openstack/openstacksdk master: WIP Make factory for a CloudRegion from CONF objects  https://review.openstack.org/64360122:53
efriedmordred, dustinc_away: FYI, filed a blueprint for openstacksdk-in-nova (https://blueprints.launchpad.net/nova/+spec/openstacksdk-in-nova) and updated topics and commit messages in the nova and sdk patches to refer to it https://review.openstack.org/#/q/topic:bp/openstacksdk-in-nova+(status:open+OR+status:merged)22:54
openstackgerritEric Fried proposed openstack/openstacksdk master: WIP Make factory for a CloudRegion from CONF objects  https://review.openstack.org/64360122:57
*** zigo has quit IRC22:58
*** tosky has quit IRC23:38

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