Wednesday, 2018-07-18

*** gildub has quit IRC00:09
*** gildub has joined #openstack-sdks00:15
*** gildub has quit IRC00:20
*** dave-mccowan has joined #openstack-sdks00:56
*** chenyb4 has joined #openstack-sdks01:04
*** dave-mccowan has quit IRC01:09
*** slaweq has joined #openstack-sdks01:11
*** harlowja has quit IRC01:13
*** slaweq has quit IRC01:15
*** JudeC has quit IRC01:17
*** dave-mccowan has joined #openstack-sdks01:17
*** dave-mcc_ has joined #openstack-sdks01:21
*** dave-mccowan has quit IRC01:24
*** mriedem has quit IRC01:24
*** annp has quit IRC01:43
*** mhen has quit IRC01:47
*** mhen has joined #openstack-sdks01:49
openstackgerritwangxiyuan proposed openstack/keystoneauth master: Add netloc and version check for version discovery  https://review.openstack.org/58321501:56
*** slaweq has joined #openstack-sdks02:11
*** slaweq has quit IRC02:16
*** shu-mutow has joined #openstack-sdks02:28
*** alex_xu has quit IRC02:31
*** alex_xu has joined #openstack-sdks02:33
*** gildub has joined #openstack-sdks02:52
openstackgerritayoung proposed openstack/keystoneauth master: Add netloc and version check for version discovery  https://review.openstack.org/58321502:54
*** gkadam has joined #openstack-sdks02:55
*** gkadam has quit IRC02:59
*** annp has joined #openstack-sdks03:11
*** slaweq has joined #openstack-sdks04:11
*** slaweq has quit IRC04:16
*** timburke_ has joined #openstack-sdks05:09
*** dayou has joined #openstack-sdks05:09
*** openstackgerrit has quit IRC05:10
*** slaweq has joined #openstack-sdks05:11
*** dayou_ has quit IRC05:16
*** Klumben has quit IRC05:16
*** johnsom has quit IRC05:16
*** ameade has quit IRC05:16
*** NobodyCam has quit IRC05:16
*** DuncanT has quit IRC05:16
*** briancurtin has quit IRC05:16
*** jamielennox has quit IRC05:16
*** timburke has quit IRC05:16
*** slaweq has quit IRC05:16
*** JudeC has joined #openstack-sdks05:18
*** Klumben has joined #openstack-sdks05:35
*** johnsom has joined #openstack-sdks05:35
*** ameade has joined #openstack-sdks05:35
*** NobodyCam has joined #openstack-sdks05:35
*** DuncanT has joined #openstack-sdks05:35
*** briancurtin has joined #openstack-sdks05:35
*** jamielennox has joined #openstack-sdks05:35
*** Klumben has quit IRC05:36
*** Klumben has joined #openstack-sdks05:40
*** Luzi has joined #openstack-sdks05:45
*** dayou has quit IRC05:53
*** dayou has joined #openstack-sdks05:54
*** slaweq has joined #openstack-sdks06:11
*** slaweq has quit IRC06:16
*** gildub has quit IRC06:44
*** slaweq has joined #openstack-sdks06:54
*** gkadam has joined #openstack-sdks07:08
*** peereb has joined #openstack-sdks07:09
*** gtema has joined #openstack-sdks07:22
*** ttsiouts has joined #openstack-sdks07:53
*** tobasco_away is now known as tobasco07:54
*** ttsiouts has quit IRC07:57
*** markvoelker_ has quit IRC08:07
*** e0ne has joined #openstack-sdks08:08
*** openstackgerrit has joined #openstack-sdks08:09
openstackgerritJosephine Seifert proposed openstack/openstacksdk master: Implement signature generation functionality  https://review.openstack.org/58008008:09
*** ttsiouts has joined #openstack-sdks08:13
*** jpich has joined #openstack-sdks08:13
openstackgerritDmitry Tantsur proposed openstack/openstacksdk master: [WIP] Support for microversions in base Resource and baremetal resources  https://review.openstack.org/58349108:18
*** cdent has joined #openstack-sdks08:26
openstackgerritJosephine Seifert proposed openstack/openstacksdk master: Implement signature generation functionality  https://review.openstack.org/58008008:29
*** JudeC has quit IRC08:33
*** ttsiouts has quit IRC08:42
openstackgerritDuc Nguyen proposed openstack/python-openstackclient master: Replace port 35357 with 5000 for "auth_url"  https://review.openstack.org/58351408:51
*** gtema has quit IRC08:52
*** ttsiouts has joined #openstack-sdks08:52
*** dtantsur|afk is now known as dtantsur09:20
openstackgerritDmitry Tantsur proposed openstack/openstacksdk master: [WIP] Support for microversions in base Resource  https://review.openstack.org/58349109:25
openstackgerritDmitry Tantsur proposed openstack/openstacksdk master: [WIP] Support for microversions in baremetal resources  https://review.openstack.org/58353209:26
openstackgerritDmitry Tantsur proposed openstack/openstacksdk master: [WIP] Support for microversions in base Resource  https://review.openstack.org/58349109:44
openstackgerritDmitry Tantsur proposed openstack/openstacksdk master: [WIP] Support for microversions in baremetal resources  https://review.openstack.org/58353209:45
openstackgerritDmitry Tantsur proposed openstack/openstacksdk master: [WIP] Support for microversions in baremetal resources  https://review.openstack.org/58353209:49
*** shu-mutow has quit IRC09:55
*** markvoelker has joined #openstack-sdks10:08
*** ttsiouts has quit IRC10:16
*** ttsiouts has joined #openstack-sdks10:17
*** ttsiouts has quit IRC10:21
*** chenyb4 has quit IRC10:30
*** stevebaker has quit IRC10:35
*** dmellado has quit IRC10:36
*** markvoelker has quit IRC10:42
*** dmellado has joined #openstack-sdks10:42
*** annp has quit IRC11:00
openstackgerritJosephine Seifert proposed openstack/openstacksdk master: Implement signature generation functionality  https://review.openstack.org/58008011:05
*** gtema has joined #openstack-sdks11:08
*** ttsiouts has joined #openstack-sdks11:10
*** tellesnobrega has quit IRC11:29
*** tellesnobrega has joined #openstack-sdks11:32
*** markvoelker has joined #openstack-sdks11:39
*** markvoelker has quit IRC12:05
*** markvoelker has joined #openstack-sdks12:05
*** edmondsw has joined #openstack-sdks12:11
*** chenyb4 has joined #openstack-sdks12:32
*** mriedem has joined #openstack-sdks12:39
*** slaweq has quit IRC12:46
*** chenyb4 has quit IRC12:48
*** slaweq has joined #openstack-sdks12:55
openstackgerritJosephine Seifert proposed openstack/openstacksdk master: Implement signature generation functionality  https://review.openstack.org/58008013:18
*** lbragstad has quit IRC13:19
*** bobh has joined #openstack-sdks13:35
*** bobh has quit IRC13:40
*** lbragstad has joined #openstack-sdks13:46
*** gildub has joined #openstack-sdks13:47
*** gildub has quit IRC13:47
*** chenyb4 has joined #openstack-sdks13:50
*** ttsiouts has quit IRC13:56
*** bobh has joined #openstack-sdks13:57
*** bobh has quit IRC14:01
*** ttsiouts has joined #openstack-sdks14:01
*** ttsiouts has quit IRC14:10
*** daemontool has joined #openstack-sdks14:27
daemontoolhi, anyone around?14:28
daemontoolI'm looking to fetch os-hypervisor data from compute API re: https://developer.openstack.org/api-ref/compute/?#list-hypervisors with sdk (all of thhem not only the list with details)14:29
daemontoolmy understanding is that the interface is still limited from https://github.com/openstack/openstacksdk/blob/master/openstack/compute/v2/hypervisor.py14:31
daemontoolis my understanding correct? (i.e. I'd like to retrieve the stats endpoint /os-hypervisors/statistics)14:32
*** ttsiouts has joined #openstack-sdks14:33
daemontoolI see the list_hypervisors method here: https://github.com/openstack/openstacksdk/blob/master/openstack/cloud/openstackcloud.py#L1111214:37
*** chenyb4 has quit IRC14:46
*** peereb has quit IRC14:51
*** ttsiouts has quit IRC15:03
*** ttsiouts has joined #openstack-sdks15:04
*** ttsiouts has quit IRC15:14
*** ttsiouts has joined #openstack-sdks15:27
*** ttsiouts has quit IRC15:28
*** JudeC has joined #openstack-sdks15:38
*** JudeC has quit IRC15:45
lbragstadwondering if it would be possible to get a couple reviews here https://review.openstack.org/#/q/topic:bp/unified-limits+status:open+project:openstack/python-openstackclient15:49
*** gtema has quit IRC15:52
*** gkadam is now known as gkadam-afk15:59
*** lbragstad has quit IRC16:02
*** Luzi has quit IRC16:21
*** gkadam-afk is now known as gkadam16:23
*** JudeC has joined #openstack-sdks16:25
openstackgerritDmitry Tantsur proposed openstack/openstacksdk master: Support for microversions in base Resource  https://review.openstack.org/58349116:36
dtantsurmordred: would love feedback on the direction ^^^16:36
*** daemontool has quit IRC16:38
tellesnobregahi, is osc_lib being release tomorrow?16:39
*** tosky has joined #openstack-sdks16:39
dtroyertellesnobrega: osc-lib was released late last week, I wasn't planning on another one16:41
tellesnobregalast week is good enough for us16:41
tellesnobregathanks16:41
dtroyercool16:41
*** jpich has quit IRC16:45
*** lbragstad has joined #openstack-sdks16:50
*** e0ne has quit IRC16:51
*** dtantsur is now known as dtantsur|afk17:26
toskyquestion about OSC: boolean CLI parameters seems to always follow the argparse convention (a bool --do-something flips the default value)17:32
toskywould the usage of --enable-this=True/False be allowed, or should it be avoided for consistency?17:32
toskypro: it may help distinguish between an explicit choice and the usage of the internal default17:32
tosky(context: discussion in https://review.openstack.org/#/c/580727/ )17:33
Shrewsthat seems like an awkward usage, tbh. one that i personally cannot recall ever seeing in any cli17:34
*** gkadam has quit IRC17:38
*** e0ne has joined #openstack-sdks17:39
*** JudeC has quit IRC17:42
*** e0ne has quit IRC17:44
*** e0ne has joined #openstack-sdks17:48
*** e0ne has quit IRC17:51
*** JudeC has joined #openstack-sdks17:59
*** JudeC has quit IRC18:03
*** JudeC has joined #openstack-sdks18:08
*** e0ne has joined #openstack-sdks18:10
*** JudeC has quit IRC18:12
*** e0ne has quit IRC18:17
openstackgerritHongbin Lu proposed openstack/python-openstackclient master: [DNM] Test neutron change  https://review.openstack.org/58369018:23
*** cdent has quit IRC18:25
*** JudeC has joined #openstack-sdks18:27
*** JudeC has quit IRC18:32
*** JudeC has joined #openstack-sdks18:34
*** JudeC has quit IRC18:51
*** harlowja has joined #openstack-sdks18:54
*** JudeC has joined #openstack-sdks19:18
*** JudeC has quit IRC19:31
*** e0ne has joined #openstack-sdks19:39
*** crunchengine has joined #openstack-sdks19:42
*** e0ne has quit IRC19:52
*** JudeC has joined #openstack-sdks20:15
*** gkadam has joined #openstack-sdks20:45
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Add /v3 to the auth_url for vexxhost  https://review.openstack.org/58373720:54
*** gkadam has quit IRC21:04
mordredShrews: you seem to be back ... have a sec for that ^^ ?21:14
mordreddtantsur|afk: I started looking at it but haven't properly read it yet21:14
Shrewsmordred: sure21:15
Shrewsmordred: done21:16
mordredShrews: thanks21:18
mordredShrews: I think we need to split that into a library21:18
mordredShrews: like service-types-authority/os-service-types21:19
mordredShrews: because it kinda sucks to need to release a whole new sdk just to fix a vendor profile21:19
*** edmondsw has quit IRC21:54
corvuscon = sw.create_container(name='corvustest', read_ACL=".r:*")22:01
corvuswhen i do that, the read acl isn't set22:01
corvusi have to do a set_container_metadata call22:02
corvus(sw = conn.object_store)22:02
mordredcorvus: so - I'll have to dig in on that one a bit - another option is conn.create_container(name='corvustest', public=True)22:26
corvusoh neat, i didn't see that22:26
corvusmordred: also, the next thing i was about to dig into (once it's unbroken) is how do i set X-Container-Meta-Web-Index ?22:27
mordredcorvus: it's the shade layer rather than the sdk object layer - also, fwiw, conn.create_object will automatically use large object segments for you if any of your files are over the object size limit for the cloud22:27
corvusmordred: oh, i feel like i missed an important fork in the road :)22:28
mordredcorvus: conn.update_container(headers={'X-Container-Meta-Web-Index': 'blah'}) should do the trick22:29
corvusmordred: i went to https://docs.openstack.org/openstacksdk/latest/user/index.html#api-documentation which led me to https://docs.openstack.org/openstacksdk/latest/user/proxies/object_store.html  and that's why i thought i should be using conn.object_store22:29
mordredcorvus: ah - that's a great feedback note22:29
*** lbragstad has quit IRC22:29
mordredcorvus: I'll work on some better entrypoint roadmapping ...22:30
mordredcorvus: https://docs.openstack.org/openstacksdk/latest/user/connection.html might be interesting to look at22:30
corvusmordred: i see https://docs.openstack.org/openstacksdk/latest/user/connection.html now22:30
corvusya22:30
mordredcorvus: although - I'm now going to apologize for lacking some docstrings22:30
mordredcorvus: you're making several todo list items for me :)22:31
corvusmordred: i think i would have needed that to be the first thing, and probably the text "The Connection class is the primary interface to the Python SDK" in the introduction page.  that would have gotten me to the right place.22:31
mordredcorvus: yeah ... there's a piece of narrative that needs to be written22:31
mordredcorvus: that describes the different interfaces in some short but descriptive terms and leads you to the one that you want22:32
corvusmordred: when you said you were going to apologize for lacking some docstrings, was the docstring for "create_container" one of them? :)22:33
mordredcorvus: yes. also for set_container_access and get_container and update_container and get_object_metadata22:34
*** crunchengine has quit IRC22:42
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Add missing swift docstrings  https://review.openstack.org/58379022:45
mordredcorvus: ^^22:45
mordredcorvus: sorry about that22:46
corvusmordred: oh noes you have the whitespace in that change22:48
mordredNOT WHITESPACE OH NO WE'RE ALL DOOMED22:48
openstackgerritMonty Taylor proposed openstack/openstacksdk master: Add missing swift docstrings  https://review.openstack.org/58379022:49
mordredcorvus: now - your use case brings up an interesting point ... which is that I could see you _not_ wanting the "create client-side-checksums and upload as metadata" behavior22:50
mordredcorvus: which is on by default to help prevent double-uploads of large files22:50
mordredbut there isn't a great way to disable it22:50
corvusmordred: there's a really good chance we'll upload the same file more than once22:51
corvuslike a nova config file22:51
mordredcorvus: yah - but it would be to different paths22:51
mordredso that's fine22:51
corvusoh ok22:51
corvusso you're just concerned about the time spent generating the checksum?22:51
mordredyeah. it's wasted22:51
mordredfor the log upload case22:52
corvustrue.  probably not huge though.22:52
mordredyah. I'll make a flag and you can pick it up in an update22:52
*** honza has quit IRC22:59
*** haleyb has quit IRC23:03
*** haleyb has joined #openstack-sdks23:04
*** tosky has quit IRC23:20

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