Wednesday, 2017-12-06

*** cdent has quit IRC00:02
samueldmqheya, I heard Shade has moved house?00:15
samueldmq:)00:15
* mordred waves to samueldmq00:17
* samueldmq waves back to mordred 00:19
samueldmqWe look a bigger team now, with awesome people in the channel :)00:19
samueldmqGlad to be back00:20
*** sdague has quit IRC00:20
*** sdague has joined #openstack-sdks00:26
*** tonythomas has quit IRC00:41
*** shu-mutou-AWAY is now known as shu-mutou01:05
*** frickler has quit IRC01:09
*** frickler has joined #openstack-sdks01:10
*** markvoelker has quit IRC01:38
*** bobh has joined #openstack-sdks02:18
*** bobh has quit IRC02:20
*** bobh has joined #openstack-sdks02:34
*** bobh has quit IRC02:36
*** markvoelker has joined #openstack-sdks02:39
*** dave-mccowan has joined #openstack-sdks02:45
*** thrash is now known as thrash|g0ne02:50
*** bobh has joined #openstack-sdks02:52
*** bobh has quit IRC03:12
*** annp has joined #openstack-sdks03:37
*** bobh has joined #openstack-sdks03:53
*** sdague has quit IRC04:05
*** umbSublime has joined #openstack-sdks04:07
*** umbSublime has joined #openstack-sdks04:07
*** bobh has quit IRC04:08
*** bobh has joined #openstack-sdks04:16
*** bobh has quit IRC04:17
*** dave-mccowan has quit IRC04:23
*** gouthamr has quit IRC04:36
*** annp has quit IRC04:41
*** annp has joined #openstack-sdks04:42
*** gildub has joined #openstack-sdks05:08
*** gildub has quit IRC06:30
*** gkadam has joined #openstack-sdks06:54
*** e0ne has joined #openstack-sdks07:06
*** ioggstream has joined #openstack-sdks07:31
*** slaweq_ has joined #openstack-sdks07:47
*** shu-mutou has quit IRC07:48
*** samueldmq has quit IRC08:04
*** samueldmq has joined #openstack-sdks08:05
*** knikolla has quit IRC08:06
*** knikolla has joined #openstack-sdks08:07
*** zhongjun has quit IRC08:08
*** csatari has quit IRC08:09
*** csatari has joined #openstack-sdks08:12
*** ralonsoh has joined #openstack-sdks08:24
frickleris there a way to deprecate an option to a command? this seems to only reference deprecation a complete command https://docs.openstack.org/python-openstackclient/pike/contributor/command-wrappers.html08:25
fricklersee https://bugs.launchpad.net/python-designateclient/+bug/1736161 for context08:26
openstackLaunchpad bug 1736161 in python-designateclient "The records option gobbles up all trailing parameters" [Undecided,In progress] - Assigned to Dr. Jens Harbott (j-harbott)08:26
*** e0ne has quit IRC08:32
*** shu-mutou has joined #openstack-sdks08:34
*** GreenBlood has quit IRC08:50
*** GreenBlood has joined #openstack-sdks08:51
*** slaweq has joined #openstack-sdks08:55
*** slaweq has quit IRC09:00
*** jpich has joined #openstack-sdks09:03
*** zhongjun has joined #openstack-sdks09:35
*** d0ugal has quit IRC09:37
*** d0ugal has joined #openstack-sdks09:41
*** e0ne has joined #openstack-sdks09:48
*** sdague has joined #openstack-sdks09:59
*** annp has quit IRC10:14
*** shu-mutou is now known as shu-mutou-AWAY10:39
*** d0ugal has quit IRC10:39
*** gildub has joined #openstack-sdks10:54
*** d0ugal has joined #openstack-sdks11:01
*** cdent has joined #openstack-sdks11:19
*** dtantsur|afk is now known as dtantsur11:53
*** jkilpatr has joined #openstack-sdks12:00
*** openstackgerrit has quit IRC12:03
*** dave-mccowan has joined #openstack-sdks12:13
*** openstackgerrit has joined #openstack-sdks12:13
openstackgerritJake Yip proposed openstack/osc-lib master: Fix sorting in Python 3  https://review.openstack.org/52604612:13
*** bobh has joined #openstack-sdks12:18
*** gildub has quit IRC12:41
*** slaweq_ has quit IRC12:45
*** thrash|g0ne is now known as thrash12:46
*** chenybd_ has joined #openstack-sdks12:49
openstackgerritJake Yip proposed openstack/osc-lib master: Fix sorting in Python 3  https://review.openstack.org/52604612:55
openstackgerritJake Yip proposed openstack/osc-lib master: Fix sorting in Python 3  https://review.openstack.org/52604612:57
*** ioggstream has quit IRC13:12
*** jkilpatr has quit IRC13:16
*** dtantsur is now known as dtantsur|lunch13:18
*** markvoelker has quit IRC13:24
*** markvoelker has joined #openstack-sdks13:25
*** bobh has quit IRC13:31
*** dtantsur|lunch is now known as dtantsur13:40
*** bobh has joined #openstack-sdks13:40
*** jkilpatr has joined #openstack-sdks13:42
*** bobh has quit IRC13:45
dtroyerfrickler: we've done it "by hand" in the past, ie set help to SUPPRESS and log a warning in take_action() if it is used13:54
*** dayou has quit IRC13:58
fricklerdtroyer: thx, I did the second part, do you have a sample for the help change? https://review.openstack.org/52600814:01
*** bobh has joined #openstack-sdks14:03
dtroyerit's just using help=argparse.SUPPRESS in the option declaration14:05
dtroyerso the old option doesn't appear any moreā€¦14:06
*** dayou has joined #openstack-sdks14:07
*** kuzko has quit IRC14:07
*** GreenBlood has quit IRC14:07
*** bobh has quit IRC14:07
*** kuzko has joined #openstack-sdks14:09
*** GreenBlood has joined #openstack-sdks14:09
*** adriant has quit IRC14:11
fricklerah, that's easy, thanks again14:11
*** adriant has joined #openstack-sdks14:11
*** slaweq_ has joined #openstack-sdks14:13
*** bobh has joined #openstack-sdks14:15
*** dave-mccowan has quit IRC14:17
*** gkadam has quit IRC14:18
*** bobh has quit IRC14:20
*** chenybd_ has quit IRC14:21
*** chenybd_ has joined #openstack-sdks14:21
*** chenybd_ has quit IRC14:21
*** bobh has joined #openstack-sdks14:22
*** bobh has quit IRC14:27
*** salv-orlando has joined #openstack-sdks14:35
*** ioggstream has joined #openstack-sdks14:37
*** iogg has joined #openstack-sdks14:40
*** ioggstream has quit IRC14:41
*** bobh has joined #openstack-sdks14:43
*** slaweq_ has quit IRC14:44
*** gouthamr has joined #openstack-sdks14:46
*** bobh has quit IRC14:48
*** bobh has joined #openstack-sdks14:54
*** bobh has quit IRC14:59
*** salv-orlando has quit IRC15:03
*** salv-orlando has joined #openstack-sdks15:10
*** salv-orlando has quit IRC15:13
*** bobh has joined #openstack-sdks15:13
*** bobh has quit IRC15:17
*** bobh has joined #openstack-sdks15:18
*** cdent has quit IRC15:23
*** salv-orlando has joined #openstack-sdks15:37
*** salv-orlando has quit IRC15:45
*** dave-mccowan has joined #openstack-sdks15:48
openstackgerritMerged openstack/os-service-types master: Updated from global requirements  https://review.openstack.org/52538815:59
openstackgerritMark Goddard proposed openstack-infra/shade master: Baremetal NIC list should return a list  https://review.openstack.org/52610516:05
openstackgerritMonty Taylor proposed openstack-infra/shade master: Use devstack functional test base job  https://review.openstack.org/52611616:21
openstackgerritMonty Taylor proposed openstack/python-openstackclient master: Use devstack functional base job  https://review.openstack.org/52611716:22
*** gouthamr has quit IRC16:23
openstackgerritDean Troyer proposed openstack/python-openstackclient master: Fix SDK Connection creation alternative to Profile  https://review.openstack.org/52393816:24
*** cdent has joined #openstack-sdks16:24
*** salv-orlando has joined #openstack-sdks16:58
*** jeblair has joined #openstack-sdks17:04
*** e0ne has quit IRC17:07
*** salv-orlando has quit IRC17:09
*** salv-orlando has joined #openstack-sdks17:10
openstackgerritMonty Taylor proposed openstack-infra/shade master: Fix batching for floating ips and ports  https://review.openstack.org/52612717:13
*** sdague has quit IRC17:13
*** salv-orlando has quit IRC17:14
*** thrash is now known as thrash|biab17:16
*** iogg has quit IRC17:25
*** salv-orlando has joined #openstack-sdks17:26
*** salv-orlando has quit IRC17:26
*** salv-orlando has joined #openstack-sdks17:27
*** ralonsoh has quit IRC17:31
*** salv-orlando has quit IRC17:32
*** dtantsur is now known as dtantsur|afk17:33
*** dmsimard has joined #openstack-sdks17:36
dmsimardmordred: ohai17:36
* mordred waves17:39
dmsimardsupplemental is being called from here https://github.com/openstack-infra/shade/blob/master/shade/meta.py#L414 and add_server_interfaces is used in a couple places17:41
*** jpich has quit IRC17:43
dmsimardlike in these two blocks https://github.com/openstack-infra/shade/blob/master/shade/openstackcloud.py#L3144-L315517:43
dmsimardso 'addresses' is not populated until _get_supplemental_addresses runs at least once ?17:44
*** gouthamr has joined #openstack-sdks17:44
dmsimardso we're falling in that block and then recursing https://github.com/openstack-infra/shade/blob/6b613f1a387f0c49ce834b0396ac70efb848d565/shade/meta.py#L37217:45
dmsimardwhich ends up doing all those floating IP calls ? /me adds debug17:45
*** Kevin_Zheng has quit IRC17:46
dmsimardfor fip in cloud.search_floating_ips( filters=dict(port_id=port['id'])):17:47
dmsimardsounds very much like GET call to network for https://phx2.cloud.rdoproject.org:13696/v2.0/floatingips.json?port_id=2fde8e86-ba92-448b-bbee-29c16f635cc3 used request id req-2d6942ca-2eab-41d1-a411-188aa6c5305e17:47
dmsimardbut we have the mapping of port id <-> floating ip in list_floating_ips(), let me try that17:48
mordreddmsimard: ah - hrm.17:50
dmsimardhang on, I might have a patch17:52
openstackgerritDean Troyer proposed openstack/osc-lib master: Use converged SDK insead of os-client-config  https://review.openstack.org/51824017:54
*** RuiChen has quit IRC17:55
*** salv-orlando has joined #openstack-sdks18:10
*** bobh has quit IRC18:13
*** thrash|biab is now known as thrash18:16
*** dave-mccowan has quit IRC18:20
*** salv-orlando has quit IRC18:21
*** bobh has joined #openstack-sdks18:21
*** salv-orlando has joined #openstack-sdks18:21
*** peter___ has joined #openstack-sdks18:22
peter___hello all, does anybody know why after making connection:  conn = connection.Connection(**auth_args) and I want display project projects = conn.identity.list_projects() in ossdk doesnt working?18:24
peter___looks like object conn doesnt have identity.list_projects() method.18:25
*** bobh has quit IRC18:25
*** salv-orlando has quit IRC18:26
*** bobh has joined #openstack-sdks18:31
*** gkadam has joined #openstack-sdks18:32
*** bobh has quit IRC18:36
*** e0ne has joined #openstack-sdks18:39
*** bobh has joined #openstack-sdks18:45
dmsimardmordred: yeah... so I'm seeing the problem but I'm not sure what's the best way to fix it. Here's a summary of what's happening for a server with 5 ports: http://paste.openstack.org/raw/628306/18:47
dmsimardmordred: We're doing 5 calls to list_floating_ips to check if any of those ports are a floating ip.18:48
dmsimardmordred: It sounds like we should be filtering client side -- do one list_ports, one list_floating_ips, make them friends18:48
dmsimardThat's the two for loops from here: https://github.com/openstack-infra/shade/blob/6b613f1a387f0c49ce834b0396ac70efb848d565/shade/meta.py#L377-L38018:49
*** bobh has quit IRC18:50
dmsimardIf you're thinking "why does this server have like 5 ports", it's a tenant in which tripleo runs heat stacks for nested tripleo testing with isolated networks18:50
*** pabelanger has joined #openstack-sdks18:51
*** bobh has joined #openstack-sdks18:53
dmsimardSo if you have 100 servers with 5 ports each, we're doing 1*list_port, 5*list_floating_ips per server, that's 600 API calls just for _get_supplemental_addresses18:57
*** bobh has quit IRC18:58
peter___    import openstack.config ModuleNotFoundError: No module named 'openstack.config'19:18
*** dave-mccowan has joined #openstack-sdks19:25
*** bobh has joined #openstack-sdks19:32
*** bobh has quit IRC19:38
*** umbSublime_ has joined #openstack-sdks19:41
*** umbSublime has quit IRC19:43
*** cdent has quit IRC19:56
*** bobh has joined #openstack-sdks20:01
*** bobh has quit IRC20:06
*** gkadam has quit IRC20:14
*** dtantsur|afk has quit IRC20:31
*** purplerbot has quit IRC20:31
*** Anticime1 has quit IRC20:31
*** dgonzalez has quit IRC20:31
*** dave-mccowan has quit IRC20:31
*** dtroyer has quit IRC20:31
*** bobh has joined #openstack-sdks20:32
*** bobh has quit IRC20:38
*** peter___ has quit IRC20:38
*** adriant has quit IRC20:38
*** adriant has joined #openstack-sdks20:40
*** dtantsur|afk has joined #openstack-sdks20:47
*** purplerbot has joined #openstack-sdks20:47
*** Anticime1 has joined #openstack-sdks20:47
*** dgonzalez has joined #openstack-sdks20:47
*** dave-mccowan has joined #openstack-sdks20:47
*** dtroyer has joined #openstack-sdks20:47
*** bobh has joined #openstack-sdks20:52
*** jkilpatr has quit IRC20:54
*** bobh has quit IRC20:56
openstackgerritJulia Kreger proposed openstack-infra/shade master: Baremetal NIC list should return a list  https://review.openstack.org/52610520:59
*** bobh has joined #openstack-sdks21:03
*** bobh has quit IRC21:07
*** salv-orlando has joined #openstack-sdks21:08
*** bobh has joined #openstack-sdks21:11
*** bobh has quit IRC21:16
*** salv-orlando has quit IRC21:16
*** salv-orlando has joined #openstack-sdks21:17
openstackgerritDean Troyer proposed openstack/os-client-config master: Make the get_service_type() overrides tolernat of no defaults  https://review.openstack.org/52620121:19
openstackgerritDean Troyer proposed openstack/python-openstacksdk master: Make the get_service_type() overrides tolernat of no defaults  https://review.openstack.org/52620221:20
*** salv-orlando has quit IRC21:21
openstackgerritDean Troyer proposed openstack/osc-lib master: Use converged SDK insead of os-client-config  https://review.openstack.org/51824021:26
openstackgerritDean Troyer proposed openstack/osc-lib master: Use converged SDK insead of os-client-config  https://review.openstack.org/51824021:26
*** bobh has joined #openstack-sdks21:32
*** gouthamr has quit IRC21:36
*** bobh has quit IRC21:37
*** sdague has joined #openstack-sdks21:38
*** openstackgerrit has quit IRC21:38
*** SamYaple has quit IRC21:38
*** lifeless has quit IRC21:38
*** SamYaple has joined #openstack-sdks21:49
SamYaplemordred: i just found out there was a netsplit because i couldnt see you in any of the channels. so thanks forthat21:51
SamYapleim wondering if you have any ideas on how to do an introspective valid_kwargs type thing with the saltstack shade modules21:52
*** bobh has joined #openstack-sdks21:52
*** bobh has quit IRC21:53
*** bobh has joined #openstack-sdks21:53
*** openstackgerrit has joined #openstack-sdks22:01
*** lifeless has joined #openstack-sdks22:01
*** e0ne has quit IRC22:06
*** e0ne has joined #openstack-sdks22:07
*** e0ne has quit IRC22:07
*** e0ne has joined #openstack-sdks22:08
*** e0ne has quit IRC22:08
*** e0ne has joined #openstack-sdks22:08
*** e0ne has quit IRC22:09
*** e0ne has joined #openstack-sdks22:10
*** e0ne has quit IRC22:10
*** e0ne has joined #openstack-sdks22:11
*** e0ne has quit IRC22:11
*** e0ne has joined #openstack-sdks22:12
*** e0ne has quit IRC22:12
*** e0ne has joined #openstack-sdks22:12
*** e0ne has quit IRC22:13
*** jkilpatr has joined #openstack-sdks22:20
*** salv-orlando has joined #openstack-sdks22:27
*** gouthamr has joined #openstack-sdks22:28
*** salv-orlando has quit IRC22:32
openstackgerritDean Troyer proposed openstack/python-openstacksdk master: Make the get_service_type() overrides tolernat of no defaults  https://review.openstack.org/52620222:47
*** gouthamr has quit IRC22:53
*** gouthamr has joined #openstack-sdks22:55
*** salv-orlando has joined #openstack-sdks22:57
*** salv-orlando has quit IRC23:05
*** salv-orlando has joined #openstack-sdks23:05
*** salv-orlando has quit IRC23:10
*** gildub has joined #openstack-sdks23:10
*** zacksh has quit IRC23:25
*** openstack has joined #openstack-sdks23:30
*** ChanServ sets mode: +o openstack23:30
*** zacksh has joined #openstack-sdks23:33
*** zacksh has quit IRC23:38
*** zacksh has joined #openstack-sdks23:41
*** edmondsw has joined #openstack-sdks23:42
*** sdague has quit IRC23:42
openstackgerritJake Yip proposed openstack/osc-lib master: Fix sorting in Python 3  https://review.openstack.org/52604623:44
*** salv-orlando has joined #openstack-sdks23:46
openstackgerritJake Yip proposed openstack/osc-lib master: Fix sorting in Python 3  https://review.openstack.org/52604623:46
*** salv-orlando has quit IRC23:50
*** salv-orlando has joined #openstack-sdks23:51
*** salv-orlando has quit IRC23:55
*** salv-orlando has joined #openstack-sdks23:57

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