| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-sdks - 2018-10-22 | |||
| 10:49:05 | cdent | I'm not sure that nova has fully bought in to the new way, thus just happen to accept it because i put the code in | |
| 10:49:41 | dtantsur | heh | |
| 10:49:52 | dtantsur | oh, I don't need service_types_by_project, I need project_by_service_type :( | |
| 11:09:35 | openstackgerrit | Maxim Babushkin proposed openstack/openstacksdk master: Add vnic_type to create_port valid kwargs https://review.openstack.org/612162 | |
| 11:18:28 | openstackgerrit | Maxim Babushkin proposed openstack/openstacksdk master: Add vnic_type to create_port valid kwargs https://review.openstack.org/612162 | |
| 12:23:11 | mordred | dtantsur|brb: if you're using python, keystoneauth should be sending both old and new style headers for you already | |
| 12:50:29 | mordred | dtantsur|brb: oh - you're talking about service-types.json - I'm guessing maybe for the rust client ... yeah, os-service-types has a bunch of methods for stuff like that | |
| 13:04:32 | dtantsur | mordred: well, I'm not talking about Python :) | |
| 13:22:33 | mordred | dtantsur: yah ... I was thinking that might be the case :) | |
| 13:22:46 | dtantsur | :) | |
| 13:23:19 | mordred | dtantsur: http://git.openstack.org/cgit/openstack/keystoneauth/tree/keystoneauth1/session.py#n66 | |
| 13:23:27 | mordred | dtantsur: that's what keystoneauth does to handle it | |
| 13:23:28 | dtantsur | I'd like to get rid of such explicit stuff: https://github.com/dtantsur/rust-openstack/blob/master/src/compute/base.rs#L341-L346 | |
| 13:23:40 | dtantsur | OMG | |
| 13:24:19 | mordred | dtantsur: in ksa we decided to not spend to much time to make it elegant since it was just backwards-compat for 2 services | |
| 13:24:29 | dtantsur | so, all other services use the new form? | |
| 13:24:32 | mordred | (and didn't want to inspire anybody new to use the old thing) | |
| 13:24:38 | mordred | dtantsur: to my knowledge, yes | |
| 13:24:48 | dtantsur | okay, ugly hack be it :D | |
| 13:25:41 | mordred | \o/ | |
| 13:54:42 | openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Add support for per-service rate limits https://review.openstack.org/604521 | |
| 13:54:42 | openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Replace TaskManager with a keystoneauth concurrency https://review.openstack.org/604926 | |
| 14:20:27 | openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Stop running shade tests https://review.openstack.org/612407 | |
| 15:10:59 | openstackgerrit | Merged openstack/openstacksdk master: Don't start task managers passed in to Connection https://review.openstack.org/612186 | |
| 19:42:49 | smcginnis | I'm looking at a different command. For command.Lister commands there is the mechanism to provide better display names than the raw returned names. Is there something similar for command.ShowOne commands? | |
| 21:42:08 | dtroyer | smcginnis: no there isn't but cliff might like an optional one. IIRC it would basically be rewriting the data dict with new keys (its been a while, I hope I'm remembering that right) | |
| 21:42:32 | smcginnis | OK, that's what I figured walking through things. I think I have sort of a workaround. | |
| 21:42:44 | smcginnis | We'll see if it's too hacky. ;) | |
| 23:30:55 | openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Use python3 format syntax for citycloud https://review.openstack.org/612536 | |
| #openstack-sdks - 2018-10-23 | |||
| 07:11:21 | ml | mordred: thanks for the +2 | |
| 12:29:20 | openstackgerrit | Dmitry Tantsur proposed openstack/keystoneauth master: Make new-style single endpoint version discovery actually work for ironic https://review.openstack.org/612680 | |
| 12:30:07 | dtantsur | mordred: should fix the bifrost CI when released ^^^ | |
| 12:31:09 | dtantsur | TheJulia ^^^ | |
| 15:41:31 | openstackgerrit | Sean McGinnis proposed openstack/python-openstackclient master: Add volume backup import/export commands https://review.openstack.org/612735 | |
| 16:47:32 | openstackgerrit | Sean McGinnis proposed openstack/python-openstackclient master: Remove deprecated volume commands and args https://review.openstack.org/612751 | |
| 16:53:38 | openstackgerrit | Sean McGinnis proposed openstack/python-openstackclient master: Update release note version reference table https://review.openstack.org/612754 | |
| 17:06:14 | openstackgerrit | Merged openstack/keystoneauth master: Make new-style single endpoint version discovery actually work for ironic https://review.openstack.org/612680 | |
| 19:04:39 | openstackgerrit | Sean McGinnis proposed openstack/python-openstackclient master: Remove deprecated compute commands https://review.openstack.org/612781 | |
| 20:40:53 | openstackgerrit | Sean McGinnis proposed openstack/python-openstackclient master: Remove deprecated identity commands and args https://review.openstack.org/612798 | |
| 20:45:25 | openstackgerrit | Sean McGinnis proposed openstack/python-openstackclient master: Remove deprecated volume commands and args https://review.openstack.org/612751 | |
| #openstack-sdks - 2018-10-24 | |||
| 01:18:16 | openstackgerrit | Sean McGinnis proposed openstack/python-openstackclient master: Remove deprecated identity commands and args https://review.openstack.org/612798 | |
| 02:52:33 | openstackgerrit | Monty Taylor proposed openstack/keystoneauth master: Add missing release note for ironic discovery fix https://review.openstack.org/612872 | |
| 12:23:03 | peschk_l | Hello everybody, I'm from the cloudkitty team. In the last releases, we changed the way cloudkitty processes data. In consequence, we need to implement a new API. I saw on the wiki that the API workgroup holds two office sessions every thursday on this channel. Would these be the right place to ask some questions ? If so, are tomorrow's sessions maintained ? If not, where should I ask ? Thank you for your help | |
| 13:23:14 | edleafe | peschk_l: Office hours are the best times to engage with the API-SIG in IRC. If they aren't convenient for you, then an email with [api-sig] in the subject will also work. | |
| 13:24:44 | peschk_l | edleafe: Office hours are fine. Thanks for the info ! | |
| 15:13:42 | corvus | hi. there may be an issue with openstacksdk 18.1 and image uploads to rackspace. i get the following error: | |
| 15:13:43 | corvus | openstack.exceptions.HttpException: HttpException: 403: Client Error for url: https://iad.images.api.rackspacecloud.com/v2/images/150c0756-95ed-4d77-8c6e-c96226f9d647, Forbidden | |
| 15:14:22 | corvus | clarkb suggests that maybe sdk is not using the glance task api as it should for rax uploads | |
| 15:15:02 | corvus | does that sound plausible? is anyone familiar with that enough to help debug? | |
| 16:32:19 | Shrews | corvus: mordred: i suspect something in https://review.openstack.org/609683 | |
| 18:46:13 | mordred | Shrews: yah - that's my hunch too | |
| 19:00:52 | openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Don't pass disk_format or container_format to image task upload https://review.openstack.org/613141 | |
| #openstack-sdks - 2018-10-25 | |||
| 09:09:42 | dtantsur | morning folks | |
| 09:46:27 | nmimi | Hi all!My name is Nikos | |
| 09:46:35 | nmimi | I have a task in sfc project, in which i have to replace SNAPS library with SDK and i am facing some difficulties... | |
| 09:46:48 | nmimi | I have a list of SDK objects and in the end of the test case, inside a for loop, i delete them(object.delete(conn.session) | |
| 09:46:56 | nmimi | I have successfully deleted floating ips, instances, images, flavors, but when i try to delete router i get the following error: | |
| 09:47:05 | nmimi | HttpException: HttpException: Unknown error | |
| 09:47:14 | nmimi | i have tried also : | |
| 09:47:21 | nmimi | obj.remove_gateway(conn.session) & obj.remove_interface(conn.session) but i get the following error message: | |
| 09:47:28 | nmimi | EndpointNotFound: Could not find requested endpoint in Service Catalog. | |
| 09:47:38 | nmimi | After that errors, i have executed: | |
| 09:47:46 | nmimi | self.conn.network.remove_interface_from_router(creator.id, subnet_obj.id) | |
| 09:48:01 | nmimi | self.conn.network.delete_router(obj) | |
| 09:48:08 | nmimi | and the router has been deleted successfully. | |
| 09:48:17 | nmimi | Could please someone tell me what i am doing wrong and i get these error messages? | |
| 09:54:11 | dtantsur | nmimi: hi! maybe the problem is that the router is still connected to a subnet? I seem to recall you cannot delete connected routers | |
| 09:54:18 | dtantsur | "Unknwon error" is not good, of course | |
| 09:56:58 | nmimi | yes the first time i try to delete the router with command router.delete(conn.session) the subnet is still connected | |
| 09:57:05 | nmimi | but i ahave tried also: | |
| 09:57:19 | nmimi | router.delete(conn.session) | |
| 09:57:39 | nmimi | sorry wrong command | |
| 09:58:10 | nmimi | router.remove_interface(conn.session) | |
| 09:58:30 | nmimi | and router.remove_gateway(conn.session) | |
| 09:58:48 | nmimi | but i get the error messages | |
| 10:02:10 | dtantsur | about the endpoint not found? | |
| 10:02:49 | nmimi | yes exactly | |
| 10:03:08 | dtantsur | mmmm | |
| 10:03:16 | dtantsur | slaweq: I wonder if you have an idea ^^^ | |
| 10:04:24 | slaweq | dtantsur: checking | |
| 10:06:35 | slaweq | dtantsur: I don't know why it's like that, maybe nmimi should open bug for that? | |
| 10:08:47 | nmimi | ok i will investigate it a bit more and if the error persists i will open a bug | |
| 15:04:24 | openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Add disk and container format to image task test https://review.openstack.org/613349 | |
| 15:06:21 | mordred | dtantsur, nmimi: the session argument to Resource objects is misleading. try router.remove_interface(conn.network) | |
| 15:09:45 | mordred | we really should rename that parameter, but MAN that'll be a big patch | |
| 15:21:41 | dtantsur | oh yeah | |
| 15:31:42 | mordred | dtantsur: are we having bifrost job issues again? I thought we'd fixed that | |
| 15:33:21 | openstackgerrit | Monty Taylor proposed openstack/openstacksdk master: Don't pass disk_format or container_format to image task upload https://review.openstack.org/613141 | |
| 15:33:26 | dtantsur | mordred: did keystoneauth with the fix hit upper-constraints? | |
| 15:34:04 | mordred | oh. upper-constraints. hrm. not sure ... | |
| 15:34:34 | dtantsur | do we have any docs on how to use keystoneauth1.loading.adapter.load_from_conf_options? | |
| 15:34:49 | dtantsur | whatever I do, it fails with __init__() missing 1 required positional argument: 'session' | |
| 15:35:09 | mordred | dtantsur: they use it in nova | |
| 15:35:27 | dtantsur | we use it in ironic too, but that's part of tribal knowledge I don't posess.. | |
| 15:35:29 | mordred | oh maybe they don't | |
| 15:36:17 | mordred | yeah they do - nova/utils.py | |
| 15:36:44 | mordred | dtantsur: fwiw, I want to make an sdk equiv | |
| 15:37:34 | mordred | but with less tribal knowledge required - basicaly a "from_conf_options" that will get you a connection with all of the services having been configured from any config values in your CONF object | |
| 15:37:47 | dtantsur | that would be awesome | |
| 15:38:09 | mordred | I started work on it a couple of days ago - will try oto get an initial thing up tmorrow | |