Monday, 2022-07-25

opendevreviewTakashi Kajinami proposed openstack/horizon stable/ussuri: Escape unicode characters when setting logout_reason cookie  https://review.opendev.org/c/openstack/horizon/+/85082603:37
opendevreviewTakashi Kajinami proposed openstack/horizon stable/ussuri: Escape unicode characters when setting logout_reason cookie  https://review.opendev.org/c/openstack/horizon/+/85082603:39
sdrozdovHi, the firm I am currently working at is running OpenStack at sale with circa 6000 different projects. Whenever we try to access a projects tab via horizon we experience a timeout (accessing through the API works fine). We beliebe that pagination is the way to solve this. Keystone currently does not support pagination due to performance issues. To my knowledge the community has debated this many times over the years.17:23
sdrozdovHowever, sk yline seems to offer pagination. I was wandering if the Horizon community is willing to discuss the possibility of us contributing in order to rectify the issue with the interface ? 17:23
sdrozdovPlease feel free to join the etherpad https://etherpad.opendev.org/p/Horizon_pagination_discussion17:23
amotokisdrozdov: hi, as long as keystone does not support pagination natively, whta horizon can do is just to emulate pagination.17:54
amotokisdrozdov: I mean that we can retrieve the whole list of keystone projects and split it into pages in horizon side.17:54
amotokisdrozdov: do you know how skyline suport pagination even though keystone API does not support the pagination?17:55
-amotoki- dropped my comment just before going to bed17:58
sdrozdovamotoki: I am not sure how they support it yet17:59
sdrozdovamotoki: Is emulation something that can be proposed ?18:00
amotokisdrozdov: it is just about what horizon can do right now without keystone support. I am not necessarily a big fan of this approach though.18:01
sdrozdovamotoki: Likewise, I am currently trying to get a conversation going with the keystone community to see what can be done.18:03
sdrozdovamotoki: Thank you for the input, I really appreciate it.18:03
amotokisdrozdov: I am not an expert on keystone, but to my best knowledge, keystone struggled to support pagination along with supporting various backends.18:04
amotokisdrozdov: some backends like DB works fine with pagination, but  it is not easy to supportr pagination for some other backends like LDAP? (i might be wrong) 18:04
amotokisdrozdov: IIRC considering the balance between pagination and supported identity backends keystone dropped the pagination support in v3 API.18:05
sdrozdovamotoki: Yes, the community has been back and forth on this before retiring pagination.18:06
sdrozdovamotoki: Would you say that this conversation should be happening solely within keystone community ?18:06
amotokisdrozdov: IMHO it is a thing to be discussed as the whole OpenStack communtiy 18:07
amotokiit is a tough thing to bridge discussions across projects....18:08
sdrozdovyeah thats what Ive discovered 18:08
sdrozdovAny suggestions on how I should proceed with this ?18:08
amotokisdrozdov: what do you mean by "filtering/dynamic listing" in your mail on the list?18:09
amotokisdrozdov: I think there are several approaches: one is of course to support pagination in keystone API. this would be ideal but I am not sure it can be achieved soon (considering the background of dropping the pagination support)18:13
amotokisdrozdov: another approach in my mind is inside horizon (as you mentioned above). it is NOT ideal but at least it would address the problme you are hitting.18:14
amotokisdrozdov: I think two apparoches can be discussed in parallel. the latter is a workaround.18:14
amotokisdrozdov: that's what I think. more ideas would be apprecaited.18:15
sdrozdovamotoki: I believe filtering had to do with only listing projects that contain specific letters etc.18:16
sdrozdovamotoki: while dynamic listing had to do with loading projects in chunks 18:17
amotokiwhere does the filltering happen? in the keystone API, in horizon server side or in the client side (i.e browser)?18:17
sdrozdovI was thinking horizon server side or keystone API; but it was only a suggestion. 18:18
amotokiit is 3am here. I have to go to bed. good night18:18
sdrozdovI didnt get a chance to discuss this until now (apart from a few short responses via email)18:19
sdrozdovGood night, thank you !18:19
opendevreviewTatiana Ovchinnikova proposed openstack/horizon master: Integration test navigation machinery for Angular pages  https://review.opendev.org/c/openstack/horizon/+/81972518:58

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!