*** slaweq has joined #openstack-sdks | 00:16 | |
*** slaweq has quit IRC | 00:24 | |
*** ricolin has joined #openstack-sdks | 00:56 | |
*** slaweq has joined #openstack-sdks | 01:13 | |
*** slaweq has quit IRC | 01:25 | |
*** adriant has joined #openstack-sdks | 01:49 | |
*** ricolin_ has joined #openstack-sdks | 02:08 | |
*** ricolin has quit IRC | 02:11 | |
*** slaweq has joined #openstack-sdks | 02:15 | |
*** ricolin__ has joined #openstack-sdks | 02:18 | |
*** ricolin_ has quit IRC | 02:21 | |
*** slaweq has quit IRC | 02:24 | |
*** whoami-rajat has joined #openstack-sdks | 02:26 | |
*** slaweq has joined #openstack-sdks | 03:14 | |
*** slaweq has quit IRC | 03:25 | |
*** slaweq has joined #openstack-sdks | 04:16 | |
*** slaweq has quit IRC | 04:24 | |
*** slaweq has joined #openstack-sdks | 05:16 | |
*** slaweq has quit IRC | 05:24 | |
*** Luzi has joined #openstack-sdks | 05:27 | |
*** ricolin_ has joined #openstack-sdks | 05:32 | |
*** ricolin__ has quit IRC | 05:34 | |
*** slaweq has joined #openstack-sdks | 06:11 | |
*** slaweq has quit IRC | 06:17 | |
*** slaweq has joined #openstack-sdks | 06:26 | |
*** slaweq has quit IRC | 06:35 | |
*** e0ne has joined #openstack-sdks | 06:44 | |
*** slaweq has joined #openstack-sdks | 06:46 | |
*** ricolin__ has joined #openstack-sdks | 07:10 | |
*** ITD27M01 has joined #openstack-sdks | 07:11 | |
*** ricolin_ has quit IRC | 07:13 | |
*** gtema has quit IRC | 07:25 | |
*** gtema has joined #openstack-sdks | 07:25 | |
ITD27M01 | Hi 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 |
---|---|---|
gtema | ITD27M01 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 it | 07:28 |
gtema | of cource file based works as well | 07:29 |
gtema | but it only works from the cloud layer, and not proxy/resource | 07:29 |
ITD27M01 | gtema: I tried different classes - memory, memcached and pylibmc but the behavior is the same. | 07:30 |
gtema | hmm, it works for me. But I prefer not to use it at all. From my POV as of now it make sense only for flavors | 07:31 |
ITD27M01 | gtema: connection.list_servers is a cloud layer ? | 07:31 |
gtema | yes, it is | 07:31 |
*** gtema_ has joined #openstack-sdks | 07:33 | |
gtema | can you please share somehow your clouds.yaml cache section? | 07:33 |
openstackgerrit | zhangqing proposed openstack/python-openstackclient master: Fix cliff formattable columns in volume type https://review.opendev.org/669280 | 07:34 |
ITD27M01 | gtema: Yes, few seconds please. | 07:34 |
ITD27M01 | gtema: https://gist.github.com/ITD27M01/2705328e31d77770f02e85eeca55651d | 07:36 |
ITD27M01 | gtema: the first example with memory cache | 07:36 |
gtema_ | you miss the further configuration. Gimme a sec to share | 07:38 |
ITD27M01 | gtema: the second one with pylibmc https://gist.github.com/ITD27M01/68ecbfb77707b3ee3cf794e31e7dc1b6 | 07:39 |
gtema_ | yes, the second one is correct | 07:40 |
gtema_ | is your memcached running? | 07:40 |
ITD27M01 | gtema: last one with memcached https://gist.github.com/ITD27M01/6752eecd9ab4633beba4226d8a28e807 | 07:40 |
ITD27M01 | (venv) [root@srv8-byappi ~]# ss -nlt | grep 11211 | 07:41 |
ITD27M01 | LISTEN 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 backend | 07:41 |
gtema_ | I played around only with pylibmc and file backend, not the others | 07:42 |
gtema_ | can you please try the pylibmc and give a proper port for memcached? | 07:42 |
*** jpich has joined #openstack-sdks | 07:44 | |
*** ricolin__ is now known as ricolin | 07:44 | |
ITD27M01 | gtema: Updated https://gist.github.com/ITD27M01/68ecbfb77707b3ee3cf794e31e7dc1b6 | 07:45 |
ITD27M01 | gtema: Is this correct? | 07:45 |
gtema_ | yes, whould be | 07:45 |
ITD27M01 | gtema: Still empty output in list_servers :( | 07:47 |
gtema_ | and without caching it works? Just to be sure | 07:47 |
ITD27M01 | gtema: Without caching and with expiration.servers: 0 it works | 07:48 |
ITD27M01 | gtema: connection.list_servers(detailed=False, bare=True, filters=filters) it is the list_servers call | 07: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 |
ITD27M01 | gtema: openstacksdk==0.31.1, the memcached server on the local machine I will try to debug | 07:54 |
gtema_ | ok, I will be afk for next hour | 07:54 |
*** ttsiouts has joined #openstack-sdks | 07:55 | |
*** ralonsoh has joined #openstack-sdks | 08:00 | |
*** tosky has joined #openstack-sdks | 08:01 | |
*** gkadam has joined #openstack-sdks | 08:02 | |
*** gtema_ has quit IRC | 08:02 | |
*** gtema_ has joined #openstack-sdks | 08:03 | |
*** ttsiouts has quit IRC | 08:06 | |
*** ttsiouts has joined #openstack-sdks | 08:07 | |
*** ttsiouts has quit IRC | 08:11 | |
ITD27M01 | gtema: Debug with cache _disabled_ https://gist.github.com/ITD27M01/57b4fc69c13e6a166fe4af149848f3f9 | 08:14 |
ITD27M01 | gtema: Debug with enabled cache: https://gist.github.com/ITD27M01/cea8b04c0b836c0cef5fda21564efd04 | 08:15 |
*** gtema_ has quit IRC | 08:16 | |
*** gtema_ has joined #openstack-sdks | 08:16 | |
gtema | ITD27M01: would you mind trying to add into the config expiration for the flavor (on the same level as server:3600) - flavor: -1 | 08:20 |
gtema | I do not see the default for the flavor expiration, and this is the only thing which differs | 08:21 |
ITD27M01 | gtema: The same log, last line is a call to servers/detail and that's it. | 08:24 |
ITD27M01 | expiration: | 08:24 |
ITD27M01 | server: 5 | 08:24 |
ITD27M01 | flavor: -1 | 08:24 |
*** ttsiouts has joined #openstack-sdks | 08:26 | |
*** ricolin has quit IRC | 09:08 | |
openstackgerrit | zhangqing proposed openstack/python-openstackclient master: Use cliff formattable columns in compute commands https://review.opendev.org/669304 | 09:10 |
*** gtema_ has quit IRC | 09:17 | |
openstackgerrit | zhangqing proposed openstack/python-openstackclient master: Use cliff formattable columns in compute commands https://review.opendev.org/669304 | 09:39 |
ITD27M01 | gtema: 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-sdks | 09:48 | |
*** gtema has quit IRC | 09:50 | |
ITD27M01 | gtema: Cache does not work starting openstacksdk-0.20.0 | 09:59 |
gtema_ | ok | 10:00 |
ITD27M01 | gtema: What are my prospects now? | 10:02 |
gtema_ | do not know yet, for me it was working with latest version | 10:03 |
gtema_ | sorry, am busy now. Will try to look bit later | 10:03 |
ITD27M01 | gtema: Ok, thank you | 10:06 |
*** ttsiouts has quit IRC | 10:08 | |
*** ttsiouts has joined #openstack-sdks | 10:08 | |
*** ttsiouts has quit IRC | 10:13 | |
*** whoami-rajat has quit IRC | 11:06 | |
*** gtema_ has quit IRC | 11:09 | |
*** gtema has joined #openstack-sdks | 11:11 | |
openstackgerrit | Vishakha Agarwal proposed openstack/openstacksdk master: [WIP] Add application credential CRUD support https://review.opendev.org/669331 | 11:15 |
*** cdent has joined #openstack-sdks | 11:16 | |
openstackgerrit | Vishakha Agarwal proposed openstack/openstacksdk master: [WIP] Add application credential CRUD support https://review.opendev.org/669331 | 11:28 |
*** gtema has quit IRC | 11:32 | |
*** gtema has joined #openstack-sdks | 11:33 | |
*** ttsiouts has joined #openstack-sdks | 11:49 | |
*** openstackgerrit has quit IRC | 12:04 | |
*** whoami-rajat has joined #openstack-sdks | 12:19 | |
*** goldyfruit has quit IRC | 12:21 | |
*** cdent has quit IRC | 13:03 | |
*** jangutter has quit IRC | 13:13 | |
*** jangutter has joined #openstack-sdks | 13:14 | |
*** goldyfruit has joined #openstack-sdks | 13:29 | |
*** cdent has joined #openstack-sdks | 13:33 | |
*** mriedem has joined #openstack-sdks | 13:36 | |
*** gkadam_ has joined #openstack-sdks | 13:50 | |
*** Luzi has quit IRC | 13:50 | |
*** gkadam has quit IRC | 13:52 | |
*** cdent has quit IRC | 14:09 | |
*** gtema has quit IRC | 14:10 | |
*** gtema has joined #openstack-sdks | 14:11 | |
*** gtema has quit IRC | 14:14 | |
*** gtema has joined #openstack-sdks | 14:14 | |
*** gtema has quit IRC | 14:16 | |
*** gtema has joined #openstack-sdks | 14:17 | |
*** e0ne has quit IRC | 14:27 | |
*** ttsiouts has quit IRC | 14:30 | |
*** ttsiouts has joined #openstack-sdks | 14:31 | |
*** ttsiouts has quit IRC | 14:36 | |
*** ttsiouts has joined #openstack-sdks | 14:37 | |
*** goldyfruit has quit IRC | 14:54 | |
*** gtema has quit IRC | 14:55 | |
*** gtema has joined #openstack-sdks | 14:55 | |
*** cdent has joined #openstack-sdks | 15:13 | |
*** openstackgerrit has joined #openstack-sdks | 15:46 | |
openstackgerrit | Rodolfo Alonso Hernandez proposed openstack/openstacksdk master: Increase randomness in ZONE creation https://review.opendev.org/669377 | 15:46 |
*** goldyfruit has joined #openstack-sdks | 15:58 | |
*** jpich has quit IRC | 16:20 | |
*** ttsiouts has quit IRC | 16:21 | |
*** ttsiouts has joined #openstack-sdks | 16:21 | |
*** jangutter has quit IRC | 16:22 | |
*** ttsiouts has quit IRC | 16:26 | |
openstackgerrit | Merged openstack/shade master: Mailing lists change openstack-dev to openstack-discuss https://review.opendev.org/668438 | 16:27 |
*** cdent has quit IRC | 16:32 | |
*** gkadam_ has quit IRC | 16:37 | |
*** slaweq has quit IRC | 16:52 | |
*** factor has joined #openstack-sdks | 17:03 | |
*** whoami-rajat has quit IRC | 17:06 | |
*** factor has quit IRC | 17:08 | |
*** ralonsoh has quit IRC | 17:23 | |
openstackgerrit | Merged openstack/openstacksdk master: Fix invalid assert state https://review.opendev.org/668794 | 17:43 |
openstackgerrit | Merged openstack/openstacksdk master: Allow deeper levels of nesting for pdf builds https://review.opendev.org/667114 | 17:43 |
*** factor has joined #openstack-sdks | 17:48 | |
*** slaweq has joined #openstack-sdks | 17:55 | |
*** slaweq has quit IRC | 18:05 | |
openstackgerrit | Corey Bryant proposed openstack/cliff master: Add Python 3 Train unit tests https://review.opendev.org/669445 | 18:17 |
openstackgerrit | Corey Bryant proposed openstack/openstackclient master: Add Python 3 Train unit tests https://review.opendev.org/637739 | 18:18 |
openstackgerrit | Corey Bryant proposed openstack/osc-lib master: Add Python 3 Train unit tests https://review.opendev.org/669446 | 18:20 |
*** factor has quit IRC | 18:20 | |
openstackgerrit | Corey Bryant proposed openstack/python-openstackclient master: Add Python 3 Train unit tests https://review.opendev.org/669447 | 18:33 |
openstackgerrit | Corey Bryant proposed openstack/openstacksdk master: Add Python 3 Train unit tests https://review.opendev.org/669449 | 18:34 |
*** factor has joined #openstack-sdks | 18:34 | |
openstackgerrit | Corey Bryant proposed openstack/os-client-config master: Add Python 3 Train unit tests https://review.opendev.org/669450 | 18:35 |
*** gtema_ has joined #openstack-sdks | 18:35 | |
*** gtema has quit IRC | 18:36 | |
openstackgerrit | Corey Bryant proposed openstack/os-service-types master: Add Python 3 Train unit tests https://review.opendev.org/669451 | 18:36 |
openstackgerrit | Corey Bryant proposed openstack/shade master: Add Python 3 Train unit tests https://review.opendev.org/669452 | 18:36 |
*** factor has quit IRC | 18:40 | |
*** factor has joined #openstack-sdks | 18:40 | |
*** factor has quit IRC | 18:47 | |
openstackgerrit | Merged openstack/openstacksdk master: Increase randomness in ZONE creation https://review.opendev.org/669377 | 19:01 |
*** gtema_ has quit IRC | 19:08 | |
*** gtema has joined #openstack-sdks | 19:09 | |
*** factor has joined #openstack-sdks | 19:16 | |
*** gtema_ has joined #openstack-sdks | 19:18 | |
*** slaweq has joined #openstack-sdks | 19:21 | |
*** tosky has quit IRC | 19:25 | |
*** gtema_ has quit IRC | 19:26 | |
*** gtema has quit IRC | 19:42 | |
*** goldyfruit has quit IRC | 20:09 | |
*** e0ne has joined #openstack-sdks | 20:14 | |
*** e0ne has quit IRC | 21:14 | |
*** e0ne has joined #openstack-sdks | 21:15 | |
*** mriedem has quit IRC | 22:47 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!