mriedem | dtroyer: https://review.openstack.org/653176 is my wip for that --config-drive thing, problem noted within on nargs='?' which maybe you know...tomorrow | 00:00 |
---|---|---|
Sundar | mriedem: 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-sdks | 00:26 | |
*** ricolin has joined #openstack-sdks | 00:56 | |
*** bobh has joined #openstack-sdks | 01:16 | |
*** whoami-rajat has joined #openstack-sdks | 01:31 | |
*** bobh has quit IRC | 01:40 | |
*** Sundar has quit IRC | 01:58 | |
*** bobh has joined #openstack-sdks | 02:14 | |
*** bobh has quit IRC | 02:15 | |
*** bobh has joined #openstack-sdks | 02:47 | |
*** bobh has quit IRC | 02:58 | |
openstackgerrit | Erik Olof Gunnar Andersson proposed openstack/openstacksdk master: Actually pass on network_data when building configdrive https://review.openstack.org/653271 | 03:24 |
*** e0ne has joined #openstack-sdks | 04:35 | |
*** e0ne has quit IRC | 04:42 | |
*** e0ne has joined #openstack-sdks | 04:44 | |
*** e0ne has quit IRC | 05:16 | |
*** e0ne has joined #openstack-sdks | 05:40 | |
*** e0ne has quit IRC | 05:59 | |
*** ralonsoh has joined #openstack-sdks | 06:21 | |
*** holser_ has joined #openstack-sdks | 06:44 | |
openstackgerrit | Artem Goncharov proposed openstack/openstacksdk master: Continue refactoring of the image https://review.openstack.org/651534 | 06:53 |
*** gtema has joined #openstack-sdks | 06:54 | |
openstackgerrit | Artem Goncharov proposed openstack/openstacksdk master: Add image.stage methods https://review.openstack.org/652981 | 06:57 |
*** yolanda_ has joined #openstack-sdks | 07:07 | |
*** tosky has joined #openstack-sdks | 07:29 | |
*** dtantsur|afk is now known as dtantsur | 07:33 | |
openstackgerrit | Dmitry Tantsur proposed openstack/openstacksdk master: Actually pass on network_data when building configdrive https://review.openstack.org/653271 | 07:42 |
dtantsur | gtema: morning, have a second for an easy approval? ^^^ | 07:43 |
gtema | yeah, am on call now, in a few minutes | 07:43 |
dtantsur | thx | 07:48 |
*** e0ne has joined #openstack-sdks | 07:51 | |
gtema | wlcm | 07:55 |
*** jpich has joined #openstack-sdks | 08:01 | |
*** ttsiouts has joined #openstack-sdks | 08:06 | |
*** ttsiouts has quit IRC | 08:17 | |
*** ttsiouts has joined #openstack-sdks | 08:17 | |
*** ttsiouts has quit IRC | 08:22 | |
*** ttsiouts has joined #openstack-sdks | 08:28 | |
*** e0ne has quit IRC | 08:38 | |
*** e0ne has joined #openstack-sdks | 08:42 | |
*** e0ne has quit IRC | 08:43 | |
*** e0ne has joined #openstack-sdks | 08:43 | |
*** e0ne has quit IRC | 08:58 | |
*** e0ne has joined #openstack-sdks | 08:59 | |
*** e0ne has quit IRC | 09:02 | |
*** gtema has quit IRC | 09:03 | |
*** gtema has joined #openstack-sdks | 09:06 | |
*** e0ne has joined #openstack-sdks | 09:09 | |
*** ttsiouts has quit IRC | 09:17 | |
*** ttsiouts has joined #openstack-sdks | 09:18 | |
openstackgerrit | Artem Goncharov proposed openstack/openstacksdk master: Update baremetal to use proxy logger https://review.openstack.org/652083 | 09:18 |
*** ttsiouts_ has joined #openstack-sdks | 09:19 | |
*** ttsiouts has quit IRC | 09:19 | |
*** e0ne has quit IRC | 09:37 | |
*** e0ne has joined #openstack-sdks | 09:40 | |
*** e0ne has quit IRC | 09:46 | |
*** holser_ is now known as holser|lunch | 09:49 | |
*** e0ne has joined #openstack-sdks | 09:53 | |
*** gkadam has joined #openstack-sdks | 10:16 | |
*** e0ne has quit IRC | 10:27 | |
*** e0ne has joined #openstack-sdks | 10:31 | |
*** ttsiouts_ has quit IRC | 10:37 | |
*** ttsiouts has joined #openstack-sdks | 10:38 | |
*** ttsiouts has quit IRC | 10:42 | |
*** gkadam is now known as gkadam-afk | 11:06 | |
*** ttsiouts has joined #openstack-sdks | 11:08 | |
*** ttsiouts has quit IRC | 11:20 | |
*** ttsiouts has joined #openstack-sdks | 11:21 | |
*** ttsiouts has quit IRC | 11:25 | |
*** holser|lunch is now known as holser_ | 11:26 | |
*** ttsiouts has joined #openstack-sdks | 11:27 | |
*** cdent has joined #openstack-sdks | 11:36 | |
*** gtema has quit IRC | 11:37 | |
*** ttsiouts has quit IRC | 11:43 | |
*** ttsiouts has joined #openstack-sdks | 11:44 | |
*** ttsiouts_ has joined #openstack-sdks | 11:46 | |
*** ttsiouts has quit IRC | 11:47 | |
*** gkadam-afk is now known as gkadam | 11:51 | |
*** ttsiouts_ has quit IRC | 11:51 | |
*** bobh has joined #openstack-sdks | 11:51 | |
openstackgerrit | Merged openstack/openstacksdk master: Actually pass on network_data when building configdrive https://review.openstack.org/653271 | 11:53 |
*** bobh has quit IRC | 11:54 | |
*** cdent has quit IRC | 11:59 | |
*** e0ne has quit IRC | 12:00 | |
*** bobh has joined #openstack-sdks | 12:01 | |
*** cdent has joined #openstack-sdks | 12:04 | |
*** bobh has quit IRC | 12:05 | |
*** dtantsur is now known as dtantsur|brb | 12:07 | |
*** e0ne has joined #openstack-sdks | 12:10 | |
*** e0ne has quit IRC | 12:34 | |
*** e0ne has joined #openstack-sdks | 12:58 | |
*** dtantsur|brb is now known as dtantsur | 13:07 | |
*** bobh has joined #openstack-sdks | 13:22 | |
cdent | elmiko, 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 ideas | 13:28 |
mordred | cdent: oh goodie! | 13:28 |
* dtantsur puts on his list | 13:28 | |
edleafe | cdent: ack | 13:28 |
mordred | cdent: it's open in my browser | 13:28 |
mordred | cdent: 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 works | 13:29 |
cdent | mordred++ | 13:29 |
mordred | cdent: corvus is going to be doing a keynote on the topic too - but as a keynote, it'll obviously be missing details :) | 13:29 |
cdent | I 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 |
mordred | I 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 feedback | 13:30 |
*** e0ne has quit IRC | 13:30 | |
mordred | cdent: me either. but I think this is a good targetted opportunity, so I'll do my best to remember | 13:30 |
cdent | I will endeavor as well | 13:30 |
cdent | btw: the docker stuff got a story too: https://storyboard.openstack.org/#!/story/2005463 | 13:31 |
*** cdent has quit IRC | 13:36 | |
*** cdent has joined #openstack-sdks | 13:36 | |
elmiko | cdent: ack, will take a look | 13:39 |
*** cdent has quit IRC | 13:40 | |
*** bobh_ has joined #openstack-sdks | 14:05 | |
*** bobh has quit IRC | 14:06 | |
*** cdent has joined #openstack-sdks | 14:28 | |
*** bobh_ has quit IRC | 14:33 | |
*** markvoelker has joined #openstack-sdks | 14:35 | |
elmiko | cdent: 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 |
cdent | elmiko: 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 it | 14:48 |
cdent | elmiko: basically if you have comments on the goal (get sharding working in placement) the story would be the right place | 14:48 |
cdent | but if you have coments on the concept of an 'openstack-shard: header' somewhere else might be better | 14:49 |
elmiko | ack, thanks! | 14:50 |
elmiko | at this point i'm working more at the conceptual level, athough i did follow the email thread | 14:51 |
elmiko | i 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. ++ imo | 14:52 |
*** e0ne has joined #openstack-sdks | 14:53 | |
*** dustinc has quit IRC | 14:56 | |
*** dustinc has joined #openstack-sdks | 14:56 | |
*** dustinc is now known as dustinc_away | 14:56 | |
efried | mordred, dtroyer: I had another thing I wanted to bring up about consuming the SDK in projects like nova/cyborg... | 15:00 |
efried | We find ourselves having a tough time with testing at several levels because of the internal magic Connection does when you instantiate it | 15:00 |
efried | and 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 methods | 15:01 |
efried | but 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 |
efried | tl;dr: would you support openstacksdk publishing a ConnectionFixture for use by consumers' tests? | 15:03 |
mordred | efried: yes. | 15:06 |
mordred | efried: so - in sdk's tests, we use requests-mock and do exactly that - we only mock the HTTP interactions, not the actual connection methods | 15:06 |
mordred | efried: to support that, we have a bunch of fixtures and other stuff to set up keystone catalogs and endpoints and whatnot | 15:06 |
efried | mordred: How hard to expose some subset of those fixtures? | 15:07 |
mordred | I've been meaning for a WHILE to make that stuff re-consumable - because people consuming Connection should also really be mocking http not mocking methods | 15:07 |
mordred | it shouldn't be too hard- it'll mostly be about organization and cleanup | 15:07 |
efried | mordred: though I wouldn't actually mind being able to mock the object thingies rather than the raw http payloads... | 15:08 |
mordred | and probably making a top-level Fixture class that can be easily instantiated | 15:08 |
mordred | efried: the tests we inherited from the sdk codebase do that ... and I find them to be exceptionally brittle | 15:08 |
mordred | however - 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 repo | 15:09 |
efried | So e.g. I can say mock.patch.object(conn.image, 'images', side_effect=[list, of, Image, objects, returned, by, the, generator]) | 15:09 |
efried | that ^ wouldn't exactly work, since the return value needs to *be* the generator, but it's the general idea. | 15:10 |
mordred | yeah - 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 |
mordred | but that's just me :) | 15:10 |
*** cdent has quit IRC | 15:11 | |
*** bobh has joined #openstack-sdks | 15:11 | |
mordred | in any case - I am very supportive of the problem you want to solve | 15:11 |
mordred | quibbling about impl details notwithstanding | 15:11 |
efried | cool. Finding someone to do the work any time in the near future, that's going to be the tough part. | 15:11 |
mordred | yeah. but maybe we can! | 15:11 |
efried | I guess I should file a story or something. | 15:11 |
mordred | efried: 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 it | 15:13 |
efried | mordred: Other than slots for three or so of the xproj sessions, I haven't put it together yet. | 15:13 |
mordred | ok. cool. I'll keep my eyes out :) | 15:14 |
*** adriant has quit IRC | 15:51 | |
*** adriant has joined #openstack-sdks | 15:53 | |
*** cdent has joined #openstack-sdks | 15:54 | |
*** bobh has quit IRC | 15:59 | |
*** holser_ has quit IRC | 16:05 | |
efried | mordred, dustinc_away: https://storyboard.openstack.org/#!/story/2005475 | 16:06 |
*** dims has quit IRC | 16:07 | |
*** gtema has joined #openstack-sdks | 16:12 | |
*** jpich has quit IRC | 16:20 | |
*** dtantsur is now known as dtantsur|afk | 16:24 | |
*** dims has joined #openstack-sdks | 16:54 | |
*** gkadam has quit IRC | 16:57 | |
*** dims has quit IRC | 16:59 | |
*** e0ne has quit IRC | 17:01 | |
*** dims has joined #openstack-sdks | 17:01 | |
*** ricolin has quit IRC | 17:04 | |
*** gtema has quit IRC | 17:16 | |
*** gtema has joined #openstack-sdks | 17:26 | |
*** markvoelker has quit IRC | 17:31 | |
*** markvoelker has joined #openstack-sdks | 17:31 | |
*** markvoelker has quit IRC | 17:35 | |
*** ralonsoh has quit IRC | 17:36 | |
*** jangutter has quit IRC | 17:39 | |
*** bobh has joined #openstack-sdks | 17:50 | |
openstackgerrit | Artem Goncharov proposed openstack/openstacksdk master: Continue refactoring of the image https://review.openstack.org/651534 | 17:54 |
*** gtema has quit IRC | 18:00 | |
elmiko | edleafe, 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/8933049334 | 18:17 |
elmiko | the general topic has been relayed as gitops | 18:18 |
openstackgerrit | Jeremy Houser proposed openstack/python-openstackclient master: Prevent setUpClass failures in volume v1 tests https://review.openstack.org/648760 | 18:18 |
openstackgerrit | Jeremy Houser proposed openstack/python-openstackclient master: Alter test_volume.py to ensure volume deletion https://review.openstack.org/652682 | 18:18 |
cdent | blast from the past | 18:18 |
elmiko | yeah totally! | 18:18 |
elmiko | when i saw his name popup on my email i thought i had to check it out | 18:19 |
elmiko | i guess the openshift commons group invited him to give a talk | 18:19 |
cdent | In about 45 minutes I hope to be buried in my dinner | 18:19 |
edleafe | That's a novel way of disposing of a corpse | 18:19 |
cdent | need something to eat for the long journey | 18:20 |
elmiko | lol | 18:21 |
openstackgerrit | Jeremy Houser proposed openstack/python-openstackclient master: Alter test_volume.py to ensure volume deletion https://review.openstack.org/652682 | 18:21 |
elmiko | cdent: as a followup to your request from earlier, i think the sharding story makes sense at the level presented in the doc | 18:21 |
elmiko | i think there will be plenty of technical challenges, but in general i like the /idea/ | 18:22 |
cdent | elmiko: does a header seems like the sensible route? | 18:22 |
elmiko | i think so, for me it has the lowest impact on things that are already installed | 18:23 |
elmiko | i can't imagine modifying the body of requests, well i can but it's not pretty | 18:23 |
elmiko | the other option would be something in the uri, but i /really/ don't like that | 18:23 |
elmiko | imo, unless someone comes with a better idea, the header seems like a good first approach | 18:24 |
cdent | cool, thanks | 18:25 |
elmiko | np =) | 18:25 |
cdent | i'm hoping that mordred is going to have something to say about a universal "this is openstack X" identifier that is already in the works | 18:26 |
elmiko | wouldn't that be lovely | 18:28 |
openstackgerrit | Jeremy Houser proposed openstack/python-openstackclient master: Alter test_volume.py to ensure volume deletion https://review.openstack.org/652682 | 19:00 |
*** cdent has quit IRC | 19:04 | |
*** keekz is now known as nicholas | 19:08 | |
*** holser_ has joined #openstack-sdks | 19:12 | |
*** e0ne has joined #openstack-sdks | 19:17 | |
*** e0ne has quit IRC | 19:20 | |
*** e0ne has joined #openstack-sdks | 19:22 | |
openstackgerrit | Jeremy Houser proposed openstack/python-openstackclient master: Alter test_volume.py to ensure volume deletion https://review.openstack.org/652682 | 19:52 |
*** bobh has quit IRC | 19:56 | |
*** e0ne has quit IRC | 20:31 | |
*** holser_ has quit IRC | 20:54 | |
*** whoami-rajat has quit IRC | 21:01 | |
*** slaweq has quit IRC | 21:17 | |
*** slaweq has joined #openstack-sdks | 21:19 | |
openstackgerrit | Jeremy Houser proposed openstack/python-openstackclient master: Alter test_volume.py to ensure volume deletion https://review.openstack.org/652682 | 21:23 |
*** slaweq has quit IRC | 21:24 | |
*** slaweq has joined #openstack-sdks | 21:40 | |
*** slaweq has quit IRC | 21:45 | |
*** slaweq has joined #openstack-sdks | 21:50 | |
*** slaweq has quit IRC | 21:55 | |
openstackgerrit | Eric Fried proposed openstack/openstacksdk master: WIP Make factory for a CloudRegion from CONF objects https://review.openstack.org/643601 | 22:53 |
efried | mordred, 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 |
openstackgerrit | Eric Fried proposed openstack/openstacksdk master: WIP Make factory for a CloudRegion from CONF objects https://review.openstack.org/643601 | 22:57 |
*** zigo has quit IRC | 22:58 | |
*** tosky has quit IRC | 23:38 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!