Thursday, 2018-05-03

*** lbragstad has quit IRC00:17
*** chenyb4 has joined #openstack-sdks01:06
*** annp has joined #openstack-sdks02:12
*** lbragstad has joined #openstack-sdks02:24
*** thrash is now known as thrash|g0ne02:28
pooja_jadhavcmurphy: Hi02:58
*** honza has quit IRC03:06
*** jpena|off has quit IRC04:29
*** jpena|off has joined #openstack-sdks04:31
*** e0ne has joined #openstack-sdks05:03
*** e0ne has quit IRC05:03
*** markvoelker has quit IRC05:08
pooja_jadhavkmalloc: Hello05:36
pooja_jadhavcmurphy, kmalloc, cdent : Actually, mordred has proposed patch[1] and that got merged. He has added split_loggers functionality in keystoneauth. Now I am trying to use that split_loggers parameter in core projects for enabling split logging. So instead of adding split_loggers parameter in individual projects, can we add one config option in keystoneauth for split_loggers so that, all core projects can use that config option for enabling the05:41
pooja_jadhavsplit logging. Please give me your suggestions on the same. [1]https://review.openstack.org/#/c/50576405:41
*** markvoelker has joined #openstack-sdks06:09
*** gildub has quit IRC06:35
*** gildub has joined #openstack-sdks06:39
*** markvoelker has quit IRC06:44
cmurphypooja_jadhav: keystoneauth isn't a central service, it's a library that each project consumes, so i don't see how you could set the logger option globally for all services06:56
pooja_jadhavcmurphy: Then how can I configure the split_logger such a that core projects can use it? Can you guide me for the same?07:01
*** gtema has joined #openstack-sdks07:01
cmurphypooja_jadhav: hmm, we might need to expose the parameter in the Adapter class for openstack services to be use it, I'm not sure07:18
pooja_jadhavcmurphy: Ohk07:21
*** ioggstream has joined #openstack-sdks07:21
*** tosky has joined #openstack-sdks07:29
*** jpena|off is now known as jpena07:35
*** gkadam has joined #openstack-sdks07:39
*** openstackgerrit has joined #openstack-sdks07:40
openstackgerritPavlo Shchelokovskyy proposed openstack/python-openstackclient master: Support locking user password  https://review.openstack.org/56420007:40
*** markvoelker has joined #openstack-sdks07:41
openstackgerritPavlo Shchelokovskyy proposed openstack/python-openstackclient master: Support locking user password  https://review.openstack.org/56420007:53
*** jpich has joined #openstack-sdks07:55
*** markvoelker has quit IRC08:13
*** gildub has quit IRC08:17
*** gildub has joined #openstack-sdks08:19
*** e0ne has joined #openstack-sdks08:31
*** gildub has quit IRC08:48
*** slaweq has quit IRC08:56
*** slaweq has joined #openstack-sdks08:57
*** markvoelker has joined #openstack-sdks09:10
openstackgerritStephen Finucane proposed openstack/cliff master: Remove travis.yml  https://review.openstack.org/56601009:39
*** markvoelker has quit IRC09:44
*** yolanda_ has joined #openstack-sdks09:49
*** yolanda has quit IRC09:51
*** yolanda has joined #openstack-sdks09:56
*** yolanda_ has quit IRC09:59
*** yolanda has quit IRC10:02
*** chenyb4 has quit IRC10:05
*** yolanda has joined #openstack-sdks10:15
*** yolanda has quit IRC10:25
*** edmondsw has joined #openstack-sdks10:31
*** edmondsw has quit IRC10:36
*** yolanda has joined #openstack-sdks10:39
*** annp has quit IRC10:40
*** markvoelker has joined #openstack-sdks10:41
*** dtantsur|afk is now known as dtantsur10:50
*** jpena is now known as jpena|lunch10:58
*** slaweq has quit IRC10:58
*** slaweq has joined #openstack-sdks11:10
*** markvoelker has quit IRC11:14
*** slaweq has quit IRC11:15
umbSublimeIf possible, how can I get os-aggregates from the SDK ? Follow-up question, if not possible what is the current method to create a custom API call from a connection, in this case https://developer.openstack.org/api-ref/compute/#list-aggregates11:27
dtantsurmordred: hey, can I bother you about os_ironic_node ansible thingy? and overall ansible support for ironic?11:44
*** thrash|g0ne is now known as thrash11:49
*** salv-orlando has joined #openstack-sdks11:53
*** salv-orlando has quit IRC11:58
*** jpena|lunch is now known as jpena12:11
*** markvoelker has joined #openstack-sdks12:11
*** edmondsw has joined #openstack-sdks12:16
*** markvoelker has quit IRC12:20
*** markvoelker has joined #openstack-sdks12:20
*** yolanda has quit IRC12:57
*** bobh has joined #openstack-sdks13:05
*** honza has joined #openstack-sdks13:06
*** chenyb4 has joined #openstack-sdks13:06
*** honza is now known as Guest9522413:07
*** Guest95224 is now known as honza_13:07
*** slaweq has joined #openstack-sdks13:10
*** yolanda has joined #openstack-sdks13:11
*** slaweq has quit IRC13:16
*** slaweq has joined #openstack-sdks13:19
umbSublimeany hints ?13:20
*** dayou_ has joined #openstack-sdks13:44
dtantsurmordred: and am I the only one who find it weird to have baremetal stuff in shade referring to "machine", but then "node_set_provision_state"? :)13:52
mordreddtantsur: what's up with os_ironic_node? and also - we can totally rename stuff in shade if you want14:11
*** chenyb4 has quit IRC14:13
mordredumbSublime: you can make any rest call you want on the connection ...14:18
mordredumbSublime: conn.compute.get('/os-aggregates') will return you a requests.Response object14:18
dtantsurmordred: o/ to be honest, os_ironic_node is a bit of a mess.. I don't quite get why the same command does provisioning and setting maintenance :) anyway, is it possible to attach VIFs with it? and overall, are you open to developing something more high-level there?14:18
*** yolanda has quit IRC14:19
mordreddtantsur: I have no idea why it is how it is - and yes, if you want to make something better and/or more high level ABSOLUTELY14:19
mordreddtantsur: I'll happily accept it upstream and add you to the maintainers list for it14:20
dtantsurheh, okay :) I'll see what I can do. It won't be quick though - I have a bit of prototyping ahead first.14:20
*** honza_ is now known as honza14:21
mordredumbSublime: otherwise, we'd need to add a Resource for aggregates in openstack/compute/v2 - like probably openstack/compute/v2/aggregate.py - and then some methods in openstack/compute/v2/_proxy.py to go along with it14:21
mordredumbSublime: it shouldn't be too hard to add if you feel like making a patch14:21
umbSublimemordred: yah I'm getting more and more familiar with the code base every day. I'll consider it for sure14:22
mordredcool. in the mean time, you should be able to just make direct rest calls when you hit things without direct support14:23
umbSublimeindeed that works as intented !14:30
*** dayou_ has quit IRC14:37
mordred\o/14:40
mordredcmurphy: I think what pooja_jadhav might have been getting at is that keystoneauth has a set of config options and registration methods that can be used to add them to oslo.config things14:41
mordredlike register_adapter_conf_options14:42
mordredso if nova, for instance, wanted to set the split_loggers option on an Adapter they're using, currently all of that flows through the nova.ini file - and if we don't have a split_loggers option in register_*_conf_options, then it gets awkward to set14:43
mordredI think it might want to be in register_session_conf_options actually14:43
*** yolanda has joined #openstack-sdks14:53
*** slaweq has quit IRC15:17
openstackgerritMerged openstack/cliff master: Remove travis.yml  https://review.openstack.org/56601015:24
*** e0ne has quit IRC15:40
*** slaweq has joined #openstack-sdks15:40
elmikodtantsur: ping16:01
dtantsuro/16:01
*** yolanda has quit IRC16:06
*** gildub has joined #openstack-sdks16:29
*** slaweq has quit IRC16:29
*** ioggstream has quit IRC16:29
*** slaweq has joined #openstack-sdks16:29
*** slaweq has quit IRC16:30
*** ioggstream has joined #openstack-sdks16:30
edleafeelmiko: dtantsur: ready for review https://etherpad.openstack.org/p/api-sig-newsletter16:48
* dtantsur has fried brain16:49
edleafe<homer> Mmmm... fried brain </homer>16:50
edleafedtantsur: https://www.youtube.com/watch?v=dc77--BjFYQ16:52
dtantsurhehe16:52
*** yolanda has joined #openstack-sdks16:53
*** ioggstream has quit IRC16:59
elmikoedleafe: lgtm17:00
*** yolanda_ has joined #openstack-sdks17:01
*** jpena is now known as jpena|off17:01
*** gkadam has quit IRC17:02
*** dtantsur is now known as dtantsur|afk17:02
edleafesent17:02
*** yolanda has quit IRC17:04
*** yolanda has joined #openstack-sdks17:05
elmikothanks edleafe, heads up, i'll be out next week17:06
elmikodtantsur|afk: ^^17:06
*** yolanda_ has quit IRC17:08
*** jpich has quit IRC17:10
*** slaweq has joined #openstack-sdks17:11
*** _alastor_ has joined #openstack-sdks17:12
*** slaweq has quit IRC17:16
*** e0ne has joined #openstack-sdks17:16
*** e0ne has quit IRC17:18
*** gtema has quit IRC17:20
edleafeelmiko: ack17:25
* jroll just read the api-sig meeting17:30
jrollfwiw, I did some graphql in the time I spent away from openstack. super awesome for quickly iterating on a product, especially the separation between front and back end17:31
jrollalso, pretty neat on the backend, in terms of only building the response you need and such, in general writing the code was pleasant17:31
jrollthat said, the python tooling for graphql backends is absolutely terrible, and if we started using it I highly suspect we'd end up writing our own17:32
mordredjroll: awesome17:32
* jroll doesn't really think it's worthwhile to move existing projects to it, though it'd be worth playing with on a new project, or maybe with oaktree17:33
mordredjroll: yah - it seems like a thing like oaktree would be an excellent place (especially since doing joins across things like servers, networks, subnets and ports is a legit thing)17:35
jroll++17:36
*** e0ne has joined #openstack-sdks17:37
*** gildub has quit IRC17:46
_alastor_I'm trying to add some Cinder v3 APIs to the openstacksdk, but I'm running into an issue where the "Body" resource I've defined on a "Resource" type is not getting populated17:46
_alastor_Example: http://paste.openstack.org/show/720311/17:46
_alastor_The resulting object does not have the 'extra_specs' body attribute populated and the '_body' attribute is empty17:47
_alastor_But from the debug curl call, you can see that the data was received17:48
edleafejroll: hope you can join our discussion in Vancouver!17:51
elmikojroll: i think your comments on this email thread would be most welcome, http://lists.openstack.org/pipermail/openstack-dev/2018-April/129987.html17:52
jrolledleafe: I cannot :(17:53
jrollelmiko: I've been following along, was waiting to see where it went for a bit17:53
edleafeheh, jaypipes already poo-pooed the idea. <shock!>17:56
*** yolanda has quit IRC18:20
*** yolanda has joined #openstack-sdks18:35
elmikojroll: ++18:39
openstackgerritMonty Taylor proposed openstack/os-client-config master: Allow monkeypatching CONFIG_FILES  https://review.openstack.org/56613918:48
openstackgerritMonty Taylor proposed openstack/os-client-config master: Allow monkeypatching CONFIG_FILES  https://review.openstack.org/56613918:53
*** openstackgerrit has quit IRC19:05
*** slaweq has joined #openstack-sdks19:21
*** slaweq has quit IRC19:22
*** slaweq has joined #openstack-sdks19:22
_alastor_nevermind, looks like I needed to define a custom list function similar to this one for Server_IPs: https://github.com/openstack/openstacksdk/blob/master/openstack/compute/v2/server_ip.py#L3719:22
*** ioggstream has joined #openstack-sdks19:38
*** ioggstream has quit IRC19:40
*** stevebaker has quit IRC19:47
*** stevebaker has joined #openstack-sdks19:49
*** gtema has joined #openstack-sdks19:49
*** gtema has quit IRC20:10
*** e0ne has quit IRC20:15
_alastor_I can't find any examples for simple operations with the SDK.  Creation/Listing examples exist, but no example for how to modify an SDK resource20:19
_alastor_For example, how do I go about changing the name of a volume using the SDK?20:19
_alastor_vol = conn.block_storage.get_volume('some-vol-id')20:20
_alastor_vol.name = "my-new-name"20:21
_alastor_then what?20:21
_alastor_Or maybe vol.update(conn.session, name="my-new-name")?20:22
_alastor_Maybe objects are look-but-don't-touch once created?20:25
*** openstackgerrit has joined #openstack-sdks20:28
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Implement service_type alias lookups  https://review.openstack.org/46221820:28
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Add methods to get all of the version data  https://review.openstack.org/55915420:29
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Make VersionData class  https://review.openstack.org/56446920:29
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Turn normalize_status into a class  https://review.openstack.org/56411020:29
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Infer version from old versioned service type aliases  https://review.openstack.org/56429920:29
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Use Status variables in tests  https://review.openstack.org/56425820:29
openstackgerritMonty Taylor proposed openstack/keystoneauth master: Reference class variable in Status  https://review.openstack.org/56426220:30
*** dtruong_ has quit IRC21:13
*** edmondsw has quit IRC21:15
*** edmondsw has joined #openstack-sdks21:16
*** edmondsw has quit IRC21:21
*** bobh has quit IRC22:11
*** slaweq has quit IRC22:23
*** slaweq has joined #openstack-sdks22:35
*** slaweq has quit IRC23:13
*** dmellado has quit IRC23:19
*** stevebaker has quit IRC23:20
*** dmellado has joined #openstack-sdks23:51

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