Friday, 2019-07-05

*** slaweq has joined #openstack-sdks00:16
*** slaweq has quit IRC00:24
*** ricolin has joined #openstack-sdks00:56
*** slaweq has joined #openstack-sdks01:13
*** slaweq has quit IRC01:25
*** adriant has joined #openstack-sdks01:49
*** ricolin_ has joined #openstack-sdks02:08
*** ricolin has quit IRC02:11
*** slaweq has joined #openstack-sdks02:15
*** ricolin__ has joined #openstack-sdks02:18
*** ricolin_ has quit IRC02:21
*** slaweq has quit IRC02:24
*** whoami-rajat has joined #openstack-sdks02:26
*** slaweq has joined #openstack-sdks03:14
*** slaweq has quit IRC03:25
*** slaweq has joined #openstack-sdks04:16
*** slaweq has quit IRC04:24
*** slaweq has joined #openstack-sdks05:16
*** slaweq has quit IRC05:24
*** Luzi has joined #openstack-sdks05:27
*** ricolin_ has joined #openstack-sdks05:32
*** ricolin__ has quit IRC05:34
*** slaweq has joined #openstack-sdks06:11
*** slaweq has quit IRC06:17
*** slaweq has joined #openstack-sdks06:26
*** slaweq has quit IRC06:35
*** e0ne has joined #openstack-sdks06:44
*** slaweq has joined #openstack-sdks06:46
*** ricolin__ has joined #openstack-sdks07:10
*** ITD27M01 has joined #openstack-sdks07:11
*** ricolin_ has quit IRC07:13
*** gtema has quit IRC07:25
*** gtema has joined #openstack-sdks07:25
ITD27M01Hi Guys. Who can help me with cache feature in OpenStack SDK? I did not understand how it works. If cache enabled in "clouds.yaml", then the list_servers always return an empty collection.07:27
gtemaITD27M01 I recommend not to really use cache at the moment. We are thinking how to "fix" it. Basically currently you need to have also "memcached" running to be able to use it07:28
gtemaof cource file based works as well07:29
gtemabut it only works from the cloud layer, and not proxy/resource07:29
ITD27M01gtema: I tried different classes - memory, memcached and pylibmc but the behavior is the same.07:30
gtemahmm, it works for me. But I prefer not to use it at all. From my POV as of now it make sense only for flavors07:31
ITD27M01gtema: connection.list_servers is a cloud layer ?07:31
gtemayes, it is07:31
*** gtema_ has joined #openstack-sdks07:33
gtemacan you please share somehow your clouds.yaml cache section?07:33
openstackgerritzhangqing proposed openstack/python-openstackclient master: Fix cliff formattable columns in volume type  https://review.opendev.org/66928007:34
ITD27M01gtema: Yes, few seconds please.07:34
ITD27M01gtema: https://gist.github.com/ITD27M01/2705328e31d77770f02e85eeca55651d07:36
ITD27M01gtema: the first example with memory cache07:36
gtema_you miss the further configuration. Gimme a sec to share07:38
ITD27M01gtema: the second one with pylibmc https://gist.github.com/ITD27M01/68ecbfb77707b3ee3cf794e31e7dc1b607:39
gtema_yes, the second one is correct07:40
gtema_is your memcached running?07:40
ITD27M01gtema: last one with memcached https://gist.github.com/ITD27M01/6752eecd9ab4633beba4226d8a28e80707:40
ITD27M01(venv) [root@srv8-byappi ~]# ss -nlt | grep 1121107:41
ITD27M01LISTEN   0         128                 0.0.0.0:11211            0.0.0.0:*07:41
gtema_pylibmc still requires memcached to be running. It's basically the same memcached backend07:41
gtema_I played around only with pylibmc and file backend, not the others07:42
gtema_can you please try the pylibmc and give a proper port for memcached?07:42
*** jpich has joined #openstack-sdks07:44
*** ricolin__ is now known as ricolin07:44
ITD27M01gtema: Updated https://gist.github.com/ITD27M01/68ecbfb77707b3ee3cf794e31e7dc1b607:45
ITD27M01gtema: Is this correct?07:45
gtema_yes, whould be07:45
ITD27M01gtema: Still empty output in list_servers :(07:47
gtema_and without caching it works? Just to be sure07:47
ITD27M01gtema: Without caching and with expiration.servers: 0 it works07:48
ITD27M01gtema: connection.list_servers(detailed=False, bare=True, filters=filters) it is the list_servers call07:48
gtema_hm. I am not sure there are proper logging for the caching, but can you try with debug mode? Also, is SDK able to connect to memcached? (I was always using the default port, so not specifying it at all)07:49
gtema_and the last question, which version of SDK are you using?07:53
ITD27M01gtema: openstacksdk==0.31.1, the memcached server on the local machine I will try to debug07:54
gtema_ok, I will be afk for next hour07:54
*** ttsiouts has joined #openstack-sdks07:55
*** ralonsoh has joined #openstack-sdks08:00
*** tosky has joined #openstack-sdks08:01
*** gkadam has joined #openstack-sdks08:02
*** gtema_ has quit IRC08:02
*** gtema_ has joined #openstack-sdks08:03
*** ttsiouts has quit IRC08:06
*** ttsiouts has joined #openstack-sdks08:07
*** ttsiouts has quit IRC08:11
ITD27M01gtema: Debug with cache _disabled_ https://gist.github.com/ITD27M01/57b4fc69c13e6a166fe4af149848f3f908:14
ITD27M01gtema: Debug with enabled cache: https://gist.github.com/ITD27M01/cea8b04c0b836c0cef5fda21564efd0408:15
*** gtema_ has quit IRC08:16
*** gtema_ has joined #openstack-sdks08:16
gtemaITD27M01: would you mind trying to add into the config expiration for the flavor (on the same level as server:3600)  -  flavor: -108:20
gtemaI do not see the default for the flavor expiration, and this is the only thing which differs08:21
ITD27M01gtema: The same log, last line is a call to servers/detail and that's it.08:24
ITD27M01  expiration:08:24
ITD27M01    server: 508:24
ITD27M01    flavor: -108:24
*** ttsiouts has joined #openstack-sdks08:26
*** ricolin has quit IRC09:08
openstackgerritzhangqing proposed openstack/python-openstackclient master: Use cliff formattable columns in compute commands  https://review.opendev.org/66930409:10
*** gtema_ has quit IRC09:17
openstackgerritzhangqing proposed openstack/python-openstackclient master: Use cliff formattable columns in compute commands  https://review.opendev.org/66930409:39
ITD27M01gtema: Cache works fine in openstacksdk-0.17.2 (lowest version I need). I will check where the caching stops to work.09:40
*** gtema_ has joined #openstack-sdks09:48
*** gtema has quit IRC09:50
ITD27M01gtema: Cache does not work starting openstacksdk-0.20.009:59
gtema_ok10:00
ITD27M01gtema: What are my prospects now?10:02
gtema_do not know yet, for me it was working with latest version10:03
gtema_sorry, am busy now. Will try to look bit later10:03
ITD27M01gtema: Ok, thank you10:06
*** ttsiouts has quit IRC10:08
*** ttsiouts has joined #openstack-sdks10:08
*** ttsiouts has quit IRC10:13
*** whoami-rajat has quit IRC11:06
*** gtema_ has quit IRC11:09
*** gtema has joined #openstack-sdks11:11
openstackgerritVishakha Agarwal proposed openstack/openstacksdk master: [WIP] Add application credential CRUD support  https://review.opendev.org/66933111:15
*** cdent has joined #openstack-sdks11:16
openstackgerritVishakha Agarwal proposed openstack/openstacksdk master: [WIP] Add application credential CRUD support  https://review.opendev.org/66933111:28
*** gtema has quit IRC11:32
*** gtema has joined #openstack-sdks11:33
*** ttsiouts has joined #openstack-sdks11:49
*** openstackgerrit has quit IRC12:04
*** whoami-rajat has joined #openstack-sdks12:19
*** goldyfruit has quit IRC12:21
*** cdent has quit IRC13:03
*** jangutter has quit IRC13:13
*** jangutter has joined #openstack-sdks13:14
*** goldyfruit has joined #openstack-sdks13:29
*** cdent has joined #openstack-sdks13:33
*** mriedem has joined #openstack-sdks13:36
*** gkadam_ has joined #openstack-sdks13:50
*** Luzi has quit IRC13:50
*** gkadam has quit IRC13:52
*** cdent has quit IRC14:09
*** gtema has quit IRC14:10
*** gtema has joined #openstack-sdks14:11
*** gtema has quit IRC14:14
*** gtema has joined #openstack-sdks14:14
*** gtema has quit IRC14:16
*** gtema has joined #openstack-sdks14:17
*** e0ne has quit IRC14:27
*** ttsiouts has quit IRC14:30
*** ttsiouts has joined #openstack-sdks14:31
*** ttsiouts has quit IRC14:36
*** ttsiouts has joined #openstack-sdks14:37
*** goldyfruit has quit IRC14:54
*** gtema has quit IRC14:55
*** gtema has joined #openstack-sdks14:55
*** cdent has joined #openstack-sdks15:13
*** openstackgerrit has joined #openstack-sdks15:46
openstackgerritRodolfo Alonso Hernandez proposed openstack/openstacksdk master: Increase randomness in ZONE creation  https://review.opendev.org/66937715:46
*** goldyfruit has joined #openstack-sdks15:58
*** jpich has quit IRC16:20
*** ttsiouts has quit IRC16:21
*** ttsiouts has joined #openstack-sdks16:21
*** jangutter has quit IRC16:22
*** ttsiouts has quit IRC16:26
openstackgerritMerged openstack/shade master: Mailing lists change openstack-dev to openstack-discuss  https://review.opendev.org/66843816:27
*** cdent has quit IRC16:32
*** gkadam_ has quit IRC16:37
*** slaweq has quit IRC16:52
*** factor has joined #openstack-sdks17:03
*** whoami-rajat has quit IRC17:06
*** factor has quit IRC17:08
*** ralonsoh has quit IRC17:23
openstackgerritMerged openstack/openstacksdk master: Fix invalid assert state  https://review.opendev.org/66879417:43
openstackgerritMerged openstack/openstacksdk master: Allow deeper levels of nesting for pdf builds  https://review.opendev.org/66711417:43
*** factor has joined #openstack-sdks17:48
*** slaweq has joined #openstack-sdks17:55
*** slaweq has quit IRC18:05
openstackgerritCorey Bryant proposed openstack/cliff master: Add Python 3 Train unit tests  https://review.opendev.org/66944518:17
openstackgerritCorey Bryant proposed openstack/openstackclient master: Add Python 3 Train unit tests  https://review.opendev.org/63773918:18
openstackgerritCorey Bryant proposed openstack/osc-lib master: Add Python 3 Train unit tests  https://review.opendev.org/66944618:20
*** factor has quit IRC18:20
openstackgerritCorey Bryant proposed openstack/python-openstackclient master: Add Python 3 Train unit tests  https://review.opendev.org/66944718:33
openstackgerritCorey Bryant proposed openstack/openstacksdk master: Add Python 3 Train unit tests  https://review.opendev.org/66944918:34
*** factor has joined #openstack-sdks18:34
openstackgerritCorey Bryant proposed openstack/os-client-config master: Add Python 3 Train unit tests  https://review.opendev.org/66945018:35
*** gtema_ has joined #openstack-sdks18:35
*** gtema has quit IRC18:36
openstackgerritCorey Bryant proposed openstack/os-service-types master: Add Python 3 Train unit tests  https://review.opendev.org/66945118:36
openstackgerritCorey Bryant proposed openstack/shade master: Add Python 3 Train unit tests  https://review.opendev.org/66945218:36
*** factor has quit IRC18:40
*** factor has joined #openstack-sdks18:40
*** factor has quit IRC18:47
openstackgerritMerged openstack/openstacksdk master: Increase randomness in ZONE creation  https://review.opendev.org/66937719:01
*** gtema_ has quit IRC19:08
*** gtema has joined #openstack-sdks19:09
*** factor has joined #openstack-sdks19:16
*** gtema_ has joined #openstack-sdks19:18
*** slaweq has joined #openstack-sdks19:21
*** tosky has quit IRC19:25
*** gtema_ has quit IRC19:26
*** gtema has quit IRC19:42
*** goldyfruit has quit IRC20:09
*** e0ne has joined #openstack-sdks20:14
*** e0ne has quit IRC21:14
*** e0ne has joined #openstack-sdks21:15
*** mriedem has quit IRC22:47

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