*** bobh has joined #openstack-sdks | 00:01 | |
*** bobh has quit IRC | 00:02 | |
*** bobh has joined #openstack-sdks | 00:04 | |
*** rajathagasthya has quit IRC | 00:07 | |
*** flanders_ has quit IRC | 00:19 | |
*** bobh has quit IRC | 00:20 | |
*** bobh has joined #openstack-sdks | 00:36 | |
*** rajathagasthya has joined #openstack-sdks | 00:41 | |
*** bobh has quit IRC | 00:53 | |
*** bobh has joined #openstack-sdks | 00:55 | |
*** markvoelker has joined #openstack-sdks | 01:01 | |
*** Kevin_Zheng has joined #openstack-sdks | 01:27 | |
*** bobh has quit IRC | 01:34 | |
*** ragasthya has joined #openstack-sdks | 01:37 | |
*** gouthamr has quit IRC | 01:37 | |
*** rajathagasthya has quit IRC | 01:38 | |
*** fzdarsky_ has joined #openstack-sdks | 01:47 | |
*** fzdarsky has quit IRC | 01:50 | |
*** erlon has quit IRC | 03:01 | |
*** ragasthya has quit IRC | 03:28 | |
*** Kevin_Zheng has quit IRC | 03:37 | |
*** boris_42_ has quit IRC | 03:44 | |
*** gildub has joined #openstack-sdks | 03:48 | |
*** markvoelker has quit IRC | 05:20 | |
*** cfriesen has quit IRC | 06:04 | |
*** rm_work has quit IRC | 06:11 | |
*** rm_work has joined #openstack-sdks | 06:14 | |
*** annp has joined #openstack-sdks | 06:24 | |
*** edmondsw has joined #openstack-sdks | 06:33 | |
*** edmondsw has quit IRC | 06:37 | |
*** jgriffit1 has joined #openstack-sdks | 06:44 | |
*** markvoelker has joined #openstack-sdks | 07:21 | |
*** gildub has quit IRC | 07:30 | |
slaweq | briancurtin: hello, can You take a look once again at https://review.openstack.org/#/c/504111/? | 07:32 |
---|---|---|
slaweq | briancurtin: Your W+1 disappeared probably because of zuul v2 <--> v3 migrations | 07:33 |
*** flanders_ has joined #openstack-sdks | 07:40 | |
*** fzdarsky_ has quit IRC | 07:45 | |
*** ralonsoh has joined #openstack-sdks | 07:47 | |
*** markvoelker has quit IRC | 07:55 | |
*** jpich has joined #openstack-sdks | 07:55 | |
*** fzdarsky has joined #openstack-sdks | 08:08 | |
*** edmondsw has joined #openstack-sdks | 08:21 | |
*** edmondsw has quit IRC | 08:26 | |
slaweq | hi, when will be some new version of openstacksdk released? | 08:47 |
slaweq | I need one feature from it to make properly patch https://review.openstack.org/#/c/501868/ | 08:48 |
slaweq | and I will also need one more patch from SDK for OSC later | 08:48 |
slaweq | is there any schedule of releases for openstack sdk? | 08:49 |
*** dfflanders has joined #openstack-sdks | 08:50 | |
*** markvoelker has joined #openstack-sdks | 08:52 | |
flanders_ | slaweq: you'll want to chat with the API-SIG over on #openstack-api | 09:01 |
slaweq | flanders_: ok, thx | 09:01 |
slaweq | I will talk there | 09:01 |
flanders_ | slaweq: ask for edleafe | 09:02 |
*** e0ne has joined #openstack-sdks | 09:22 | |
*** markvoelker has quit IRC | 09:26 | |
slaweq | ok, thx for tip flanders_ | 09:31 |
*** sdague has joined #openstack-sdks | 09:38 | |
*** edmondsw has joined #openstack-sdks | 10:09 | |
*** edmondsw has quit IRC | 10:13 | |
*** fzdarsky has quit IRC | 10:21 | |
*** markvoelker has joined #openstack-sdks | 10:23 | |
*** annp has quit IRC | 10:24 | |
*** jkilpatr has quit IRC | 10:35 | |
*** fzdarsky has joined #openstack-sdks | 10:42 | |
*** dfflanders has quit IRC | 10:49 | |
*** cdent has joined #openstack-sdks | 10:54 | |
*** markvoelker has quit IRC | 10:55 | |
*** fzdarsky_ has joined #openstack-sdks | 10:55 | |
*** dave-mccowan has joined #openstack-sdks | 11:01 | |
*** jkilpatr has joined #openstack-sdks | 11:10 | |
*** dave-mcc_ has joined #openstack-sdks | 11:11 | |
*** dave-mccowan has quit IRC | 11:13 | |
*** fzdarsky_ has left #openstack-sdks | 11:15 | |
briancurtin | slaweq: not sure what he’s talking about, this is the right place. i’ll take a look at what else has been merged and i can put together a release | 11:18 |
briancurtin | slaweq: i just w+1’ed it so it should be merged soon | 11:20 |
*** dtantsur|afk is now known as dtantsur | 11:22 | |
openstackgerrit | Merged openstack/python-openstacksdk master: Add support for network quota details command https://review.openstack.org/504111 | 11:23 |
slaweq | briancurtin: thx a lot | 11:28 |
slaweq | briancurtin: in fact I will need for OSC patches also this patch which You just w+1'ed :) | 11:29 |
*** markvoelker has joined #openstack-sdks | 11:53 | |
*** ralonsoh has quit IRC | 12:02 | |
*** edmondsw has joined #openstack-sdks | 12:16 | |
*** edmondsw_ has joined #openstack-sdks | 12:17 | |
*** edmondsw has quit IRC | 12:21 | |
*** markvoelker has quit IRC | 12:26 | |
*** markvoelker has joined #openstack-sdks | 12:27 | |
*** e0ne has quit IRC | 12:31 | |
*** e0ne has joined #openstack-sdks | 12:32 | |
*** lbragstad has joined #openstack-sdks | 13:05 | |
mordred | briancurtin: sorry for the delay, yesterday was a bit hectic ... | 13:08 |
*** flanders_ has quit IRC | 13:09 | |
mordred | briancurtin: I'm not anticipating much moving or shaking this week what with all the zuul v3 stuff flying around this week. | 13:10 |
mordred | briancurtin: that said, there was never any intention of removing any existing cores, so I don't think there shouldn't be any time-related issues for getting that in | 13:12 |
*** chlong_ has joined #openstack-sdks | 13:22 | |
*** ralonsoh has joined #openstack-sdks | 13:32 | |
*** cleong has joined #openstack-sdks | 13:44 | |
*** gouthamr has joined #openstack-sdks | 13:53 | |
*** stephenfin has quit IRC | 14:00 | |
*** stephenfin has joined #openstack-sdks | 14:01 | |
*** edmondsw_ is now known as edmondsw | 14:07 | |
*** d0ugal has quit IRC | 14:10 | |
*** bobh has joined #openstack-sdks | 14:11 | |
*** d0ugal has joined #openstack-sdks | 14:13 | |
*** d0ugal has quit IRC | 14:13 | |
*** d0ugal has joined #openstack-sdks | 14:13 | |
*** cfriesen has joined #openstack-sdks | 14:38 | |
*** sdague has quit IRC | 14:50 | |
*** bobh has quit IRC | 14:56 | |
*** edleafe- has joined #openstack-sdks | 15:03 | |
*** edleafe has quit IRC | 15:06 | |
*** sdague has joined #openstack-sdks | 15:14 | |
*** rajathagasthya has joined #openstack-sdks | 15:15 | |
*** erlon has joined #openstack-sdks | 15:24 | |
*** ragasthya has joined #openstack-sdks | 15:48 | |
*** rajathagasthya has quit IRC | 15:50 | |
*** edleafe- is now known as edleafe | 15:52 | |
*** bobh has joined #openstack-sdks | 15:56 | |
*** bobh has quit IRC | 16:01 | |
*** jpich has quit IRC | 16:32 | |
*** jgriffith is now known as Guest73111 | 16:39 | |
*** jgriffit1 is now known as jgriffith | 16:39 | |
*** jgriffith_ has joined #openstack-sdks | 16:39 | |
*** e0ne has quit IRC | 16:40 | |
*** dtantsur is now known as dtantsur|afk | 16:47 | |
*** efried is now known as efried_nomnom | 17:25 | |
*** ralonsoh has quit IRC | 17:30 | |
*** markvoelker has quit IRC | 17:30 | |
*** markvoelker has joined #openstack-sdks | 17:30 | |
*** lbragstad has quit IRC | 17:34 | |
*** jgriffith has quit IRC | 17:45 | |
*** jgriffith_ is now known as jgriffith | 17:45 | |
*** lbragstad has joined #openstack-sdks | 17:57 | |
*** edmondsw has quit IRC | 18:20 | |
*** edmondsw has joined #openstack-sdks | 18:23 | |
*** e0ne has joined #openstack-sdks | 18:25 | |
*** edmondsw has quit IRC | 18:28 | |
*** efried_nomnom is now known as efried | 18:32 | |
openstackgerrit | Hongbin Lu proposed openstack/python-openstackclient master: Added AddNetwork command to server https://review.openstack.org/509209 | 18:47 |
*** edmondsw has joined #openstack-sdks | 18:48 | |
*** cdent has quit IRC | 18:55 | |
*** gouthamr has quit IRC | 18:58 | |
*** gouthamr_ has joined #openstack-sdks | 18:58 | |
*** edmondsw has quit IRC | 19:06 | |
*** edmondsw has joined #openstack-sdks | 19:06 | |
*** chlong_ has quit IRC | 19:16 | |
*** lbragstad has quit IRC | 19:35 | |
*** ragasthya has quit IRC | 19:39 | |
*** bobh has joined #openstack-sdks | 19:41 | |
*** flanders_ has joined #openstack-sdks | 20:26 | |
*** lbragstad has joined #openstack-sdks | 20:27 | |
*** jkilpatr has quit IRC | 20:44 | |
*** cleong has quit IRC | 20:45 | |
*** gouthamr_ has quit IRC | 20:46 | |
*** mriedem has joined #openstack-sdks | 20:52 | |
mriedem | hello! | 20:52 |
mriedem | so apparently the openstack python sdk doesn't have any support for flavor extra specs | 20:52 |
mriedem | which is pretty basic if you're using nova | 20:52 |
mriedem | does anyone know if someone is already working on this? | 20:52 |
briancurtin | no. | 20:53 |
mriedem | no you don't know, or no no one is working on it? | 20:54 |
briancurtin | no, i didn’t get around to implementing that in my free time and i am not working on it nor will i be. | 20:56 |
briancurtin | it’s pretty basic though | 20:56 |
mriedem | ok, yeah, should be - i've just never done any sdk coding, so wanted to ask before spending any time on it | 20:57 |
mriedem | for now i sent someone to novaclient | 20:57 |
briancurtin | great | 20:57 |
flanders_ | Have you looked at python shade SDK mriedem ? | 20:59 |
mriedem | nope | 21:00 |
mriedem | i really don't venture outside of novaclient | 21:00 |
flanders_ | No worries. | 21:00 |
flanders_ | Good luck. | 21:00 |
mriedem | flanders_: so i've heard you have some gap analysis charts | 21:00 |
mriedem | would that be so detailed to the point of knowing some of these major gaps in the compute api in the openstacksdk? | 21:01 |
flanders_ | Analysis was usability study on getting started quickly with each of the sdks | 21:01 |
flanders_ | Shade is the easiest, in short. | 21:02 |
flanders_ | Worth talking with chairs of API-SIG for feedback via #openstack-api | 21:02 |
briancurtin | mriedem: i doubt anyone knows such a thing, but yeah, someone could look at the docs, look at the code, and implement what’s not there. same for just about everything ever. | 21:02 |
mriedem | to get started, but not the most feature complete | 21:02 |
briancurtin | API-SIG and openstack-api has nothing to do with this project. | 21:03 |
mriedem | flanders_: ^ | 21:03 |
briancurtin | yeah it’s not the most feature complete because people building it weren’t on the server-side projects and no one on the server-side projects cared about SDK, so we built what we knew and what we were using | 21:03 |
flanders_ | My bad briancurtin - mea culpa | 21:03 |
mriedem | briancurtin: tbc, i was replying to flanders_ about shade | 21:04 |
edleafe | flanders_: FWIW, we hang out here, not #openstack-api | 21:04 |
flanders_ | Duly noted edleafe | 21:05 |
mriedem | hells bells it's edleafe | 21:05 |
*** xarses has joined #openstack-sdks | 21:08 | |
mordred | mriedem: we've got flavor extra specs in shade - I expect we'll add support for it to sdk as we work on getting the shade layer and the sdk layer integrated with each other | 21:09 |
mriedem | mordred: so if i worked on extra specs in the sdk, that would ultimately benefit shade? | 21:10 |
mriedem | and the sdk | 21:10 |
mordred | mriedem: sure nuff | 21:12 |
xarses | to echo the conversation that was going on in #openstack-dev "<xarses> Given the openstack python sdk, how is one expected to CRUD flavor properties? https://developer.openstack.org/sdks/python/openstacksdk/users/proxies/compute.html Seems to have no clue, and flavor_create took kwargs from me that it did nothing with (I initially figured that sending properties would have done it, but its ignored) " | 21:18 |
*** e0ne has quit IRC | 21:18 | |
xarses | API is: https://developer.openstack.org/api-ref/compute/#flavors-extra-specs-flavors-os-flavor-extra-specs | 21:18 |
*** e0ne has joined #openstack-sdks | 21:19 | |
briancurtin | xarses: create_flavor would take any of the names on https://developer.openstack.org/sdks/python/openstacksdk/users/resources/compute/v2/flavor.html#openstack.compute.v2.flavor.Flavor, so create_flavor(disk=blah, ram=blah, ephemeral=False, …) and calling that does what? | 21:19 |
*** e0ne has quit IRC | 21:19 | |
*** e0ne has joined #openstack-sdks | 21:20 | |
mordred | adding extra specs to a flavor is an additional call - it's not part of the create_flavor flow | 21:20 |
*** e0ne has quit IRC | 21:20 | |
briancurtin | sure, but create_flavor shouldn’t be doing nothing | 21:20 |
mordred | once you have a flavor, you POST to /flavors/{id}/os-extra_specs | 21:20 |
mordred | briancurtin: agreed | 21:21 |
*** e0ne has joined #openstack-sdks | 21:21 | |
xarses | f = {'property': {'hw:cpu_policy': 'dedicated', 'hw:cpu_sockets': 1, 'hw:cpu_threads': 2, 'cost': 148.5, 'hw:cpu_cores': 8, 'hw:cpu_thread_policy': 'prefer'}, 'vcpus': 16, 'ram': 32256, 'name': 'm32-c16-d320-as', 'disk': 320, 'id': 'e2193116-f4f6-4db1-9191-33ef7d958895'} | 21:22 |
*** e0ne has quit IRC | 21:22 | |
xarses | create_flavor(**f) | 21:22 |
xarses | returns the flavor object | 21:22 |
*** e0ne has joined #openstack-sdks | 21:22 | |
xarses | no info about that keys where ignored | 21:22 |
*** e0ne has quit IRC | 21:23 | |
*** e0ne has joined #openstack-sdks | 21:23 | |
briancurtin | yeah, should probably output that and/or fail. i believe there was a ticket to output a warning with the ignored keys | 21:23 |
xarses | I see two problems, it took extra keys | 21:23 |
briancurtin | everything you pass has to match up with something on the associated resource | 21:23 |
*** e0ne has quit IRC | 21:23 | |
xarses | and that there is no interface in sdk.compute to set os-extra_specs | 21:23 |
briancurtin | yeah well someone has the add the later | 21:24 |
briancurtin | im also not sure how you figured you could just send an arbitrary list of keys | 21:24 |
briancurtin | (that’s horribly worded…it’s not a list. arbitrary keyword arguments) | 21:25 |
xarses | by sending them and it just returning the result that I sort-of expected and moving on | 21:25 |
xarses | then accidentally reviewing the output of `openstack flavor list --long` and seeing they where missing | 21:25 |
xarses | I get the most frustrated when the sdk objects don't resemble what you get back on the CLI (like keys are wholly renamed) | 21:26 |
briancurtin | that’s a feature of the SDK, as there are several naming formats across openstack REST responses, including keys which cannot be python names | 21:27 |
briancurtin | for example, most of what you tried to send | 21:28 |
*** jkilpatr has joined #openstack-sdks | 21:28 | |
briancurtin | people want (wanted?) one place to do all of this, one format, one thing to install, consistency all around. a bunch of things get renamed in the process to make it usable for the masses, but yeah, if you’re looking at what are probably database column names or something, they don’t always match up 1-1 with the names in openstacksdk. on purpose. | 21:31 |
*** edmondsw has quit IRC | 21:32 | |
*** edmondsw has joined #openstack-sdks | 21:32 | |
*** edmondsw has quit IRC | 21:37 | |
mordred | ++ | 21:37 |
openstackgerrit | Dean Troyer proposed openstack/osc-lib master: --os-profile option suddenly causes trouble in unit tests https://review.openstack.org/509662 | 22:16 |
*** gouthamr has joined #openstack-sdks | 22:27 | |
*** lbragstad has quit IRC | 22:38 | |
*** edmondsw has joined #openstack-sdks | 22:41 | |
*** edmondsw has quit IRC | 22:46 | |
*** bobh has quit IRC | 22:51 | |
*** xarses has quit IRC | 22:57 | |
*** sdague has quit IRC | 23:00 | |
*** edmondsw has joined #openstack-sdks | 23:13 | |
*** edmondsw has quit IRC | 23:35 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!