Monday, 2021-06-07

*** ralonsoh has joined #openstack-horizon06:12
*** josecastroleon has joined #openstack-horizon06:26
*** lvdombrkr has joined #openstack-horizon06:27
*** vishalmanchanda has joined #openstack-horizon06:33
*** lvdombrkr89 has joined #openstack-horizon07:12
*** lvdombrkr has quit IRC07:16
*** rdopiera has joined #openstack-horizon07:54
amotokivishalmanchanda: hi09:04
vishalmanchandaamotoki: hi09:04
amotokivishalmanchanda: regarding OFTC update backports in stable branches, the global redirect has been setup .09:05
vishalmanchandaamotoki: yeah I see, I think we don't require backport anymore.09:05
vishalmanchandaamotoki: beacuse always redirect to master contribution.rst09:06
amotokivishalmanchanda: I think it is better to keep the current contributor guide in stable branches (w/ your backport optionally), thoguth?09:06
vishalmanchandaamotoki: ohh.09:06
amotokivishalmanchanda: all access to contributor guide in stable branches will be redirected to the master, but it is nice to see the TOC of the contirbutor guide.09:06
amotokivishalmanchanda: thought?09:06
vishalmanchandaamotoki: which stable/branches* requires backport?09:08
amotokivishalmanchanda: actually no branch needs backports.09:10
amotokivishalmanchanda: I am also okay with backports to some stable branches (perhaps maintained branches) as it potentially provides infomration to who read the document in the repo directly.09:10
amotokivishalmanchanda: which is your prefernce?09:10
vishalmanchandaamotoki: I mean both options fine for me, I have no stronger opinion on them after this redirect thing.09:11
*** whoami-rajat has joined #openstack-horizon09:12
*** jchorin has joined #openstack-horizon09:12
amotokivishalmanchanda: okay. as of now, your backports are open. If you would like to land them, I will approve it. that's the main reason I asked it :)09:13
jchorinHi everyone! I am having an issue with my Horizon setup with TLS support. I get a "Bad Request (400)" every time. The only log I get with Apache is 'GET /horizon HTTP/1.1" 400 5860 "-" "curl/7.68.0"'09:14
jchorinHas anyone seen this already?09:14
vishalmanchandaamotoki: Ok thanks we will keep  the current contributor guide in the stable branches.09:14
amotokijchorin: are you talking about access to horizon over TLS?09:17
amotokijchorin: or do you mean "access to back-end services over TLS"?09:17
jchorinamotoki: Access to Horizon over TLS. Basically I followed this: https://docs.openstack.org/horizon/wallaby/admin/customize-configure.html#configure-the-dashboard-for-https09:19
amotokijchorin: the guide assume horizon is configured as the top level of URL. Your logs says you accessed to /horizon. Is it what you expected?09:21
jchorinamotoki: I get the same thing when accessing top level URL: "GET / HTTP/1.1" 400 5853 "-" "curl/7.68.0"09:22
jchorinI also have some deprecation warnings, and "No local_settings file found."09:23
jchorinamotoki: I also have some deprecation warnings, and "No local_settings file found."09:23
amotokijchorin: I have no good answer or suggestion on 400 error. it is usually caused by misconfiguration of apache server or mod_wsgi (but at the moment I have no time to try it locally)09:30
amotokijchorin: regarding deprecation warning, I believe they can be ignored.09:31
amotokijchorin: regarding "No local_settings file found.", it depends on whether you prepared local_settings.py or not.09:32
jchorinamotoki: well I did modify '/etc/openstack-dashboard/local_settings.py'09:34
jchorinamotoki: Ok I guess I should look in the direction of apache then09:34
amotokijchorin: one possible reason for 400 in apache/wsgi/django situation like horizon is ALLOWED_HOSTS (in local_settings.py).09:35
amotokijchorin: Loading /etc/openstack-dashboard/local_settings.py seems distribution-specific setting, but perhaps you need to check how local_settings.py is loaded.09:36
jchorinamotoki: thanks, I'll take a look.09:37
jchorinamotoki: regarding allowed hosts, I set it already to "['*']", so it is not the culprit I guess09:38
amotokijchorin: so a message "local_settings.py file not found" looks important so that ALLOWED_HOSTS is configured properly.09:40
amotokijchorin: it might help.09:40
vmarkovHi all. Have a question for discussion. In Admin-System-System Information-Compute Services we have "Last Updated" column, which always shows "0 minutes" because nova returns heartbeat timer on this report. However, documentation for novaclient shows example reports with reasonable update times and these examples haven't updated since 2016. From position of UX, it is reasonable to rename "Last Updated" column or remove it at all,09:48
vmarkovbecause failed heartbeat anyway raises alert09:48
vishalmanchandavmarkov: Hi, If I look  at "Last Updated" under Admin-System-System Information-Compute Services09:53
vishalmanchandaFor me value of  shows  "Last Updated" =3 days, 20 hours09:54
vishalmanchandavmarkov: So what you mean by it always shows "0 minutes" and we can remove it.09:55
vmarkovReally interesting. Tried $ openstack compute service list on devstack and on production cluster, and get timestamps several seconds old10:19
amotokivmarkov: I also tested it in my dev env. I stopped nova-compute almost 2 hours ago (before afk). I checked the dashboard now and see "1 hour, 50 minutes" in "Last Updated" column.10:57
amotokivmarkov: horizon uses a response of novaclient services.list() and just applies utils_filters.parse_isotime and filters.timesince11:00
amotokivmarkov: so what I can suggest is to check the response of the corresponding API call (service-list).11:01
vmarkovAnyway, Horizon shows actual response from service-list call in human readable form. But it can be 0 minutes if service alive or some longer time if service failed or turned off. I'm not sure, if "Last Updated" is correct name for it. Probably "Last seen" or smth like it will be more accurate11:35
*** tosky has joined #openstack-horizon11:59
vmarkovAlso could you review two patches?12:28
vmarkovhttps://review.opendev.org/c/openstack/horizon/+/79342012:28
vmarkovhttps://review.opendev.org/c/openstack/horizon/+/79397012:28
*** tmazur has joined #openstack-horizon13:58
opendevreviewRadomir Dopieralski proposed openstack/horizon master: Initial test of django sass processor  https://review.opendev.org/c/openstack/horizon/+/79480914:23
opendevreviewOleksandr Kozachenko proposed openstack/horizon master: Add the filter function in c-bak dashboard for both Project & Admin  https://review.opendev.org/c/openstack/horizon/+/79153214:30
*** dklyle has joined #openstack-horizon14:50
opendevreviewOleksandr Kozachenko proposed openstack/horizon stable/victoria: Add the filter function in c-bak dashboard [victoria]  https://review.opendev.org/c/openstack/horizon/+/79512815:50
opendevreviewOleksandr Kozachenko proposed openstack/horizon master: Add the filter function in c-bak dashboard for both Project & Admin  https://review.opendev.org/c/openstack/horizon/+/79153216:23
*** rdopiera has quit IRC16:32
*** jchorin has quit IRC16:43
*** ralonsoh has quit IRC17:51
*** vishalmanchanda has quit IRC19:12
*** lvdombrkr89 has quit IRC19:46
*** lvdombrkr has joined #openstack-horizon19:49
*** lvdombrkr has quit IRC20:52
*** tosky has quit IRC22:04

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