Wednesday, 2021-06-09

*** tmazur has quit IRC01:06
*** vishalmanchanda has joined #openstack-horizon04:37
*** whoami-rajat has joined #openstack-horizon06:12
*** ralonsoh has joined #openstack-horizon06:29
opendevreviewOpenStack Proposal Bot proposed openstack/horizon master: Imported Translations from Zanata  https://review.opendev.org/c/openstack/horizon/+/79548206:48
opendevreviewOpenStack Proposal Bot proposed openstack/horizon stable/victoria: Imported Translations from Zanata  https://review.opendev.org/c/openstack/horizon/+/79548306:57
*** dklyle has quit IRC06:58
*** tosky has joined #openstack-horizon07:53
opendevreviewMerged openstack/horizon stable/victoria: Imported Translations from Zanata  https://review.opendev.org/c/openstack/horizon/+/79548307:56
opendevreviewMerged openstack/horizon master: Imported Translations from Zanata  https://review.opendev.org/c/openstack/horizon/+/79548208:05
*** lxkong has joined #openstack-horizon08:07
*** jchorin has joined #openstack-horizon08:23
jchorinHi everyone, I get an issue with my Horizon setup with TLS support. When opening on a browser, several css and js files are not found (404 error in the "Network" part of the inspection). When attempting to curl the file directly, the logs says: "File does not exist"08:26
vishalmanchandajchorin: Hi Could you try "sudo python manage.py collectstatic" command08:28
vishalmanchandaand then restart your apache server08:28
jchorinvishalmanchanda: `0 static files copied to '/var/lib/openstack-dashboard/static', 1869 unmodified.` is that normal?08:31
jchorinvishalmanchanda: also I get the same issue08:31
vishalmanchandajchorin: what type changes you have done so far.08:32
vishalmanchandajchorin: if css and js files are not found then it's generally your static files are not able to load.08:34
vishalmanchandaand above command sometimes works.08:34
jchorinvishalmanchanda: I did "manage.py compress", set the TLS support on apache, modified /etc/openstack-dashboard/local_settings.py, had to change permissions on /etc/openstack-dashboard/ for wsgi to find the local_settings.py and changed permissions for /var/lib/openstack-dashboard/secret_key as well08:34
jchorinvishalmanchanda: the dashboard also say "Unable to establish connection to keystone endpoint." if I try to connect08:35
vishalmanchandajchorin: hmm looks like you are also using wrong keystone endpoint.08:38
vishalmanchandajchorin: Could you check your keystone endpoint using `` openstack endpoint list | grep keystone``08:39
jchorinvishalmanchanda: my bad there was a typo there, the keystone endpoint is working, I can log in. But the js and css are broken08:41
vishalmanchandajchorin: and then compare the url with https://github.com/openstack/horizon/blob/master/openstack_dashboard/local/local_settings.py.example#L12108:41
vishalmanchandajchorin: ok then your static files are not able to load.08:41
vishalmanchandajchorin: run`` python setup.py install`` and ``python manage.py collectstatic``command08:42
vishalmanchandaclears your browser cache and cookies and restart apache server.08:43
jchorinvishalmanchanda: which setup.py file do you mean?08:45
vishalmanchandajchorin: I usually run this command ``python3 setup.py install`` when I do any changes in any python files.08:47
jchorinvishalmanchanda: I installed horizon through the apt packages, not with the sources :/08:49
vishalmanchandajchorin: hmm I have no experience installing with apt packages.08:51
jchorinvishalmanchanda: still, thanks for the help!09:04
jchorinvishalmanchanda: do you know where the static files are supposed to be09:06
vishalmanchandajchorin: my setup is basically devstack setup and for me it is under horizon/static09:16
*** rdopiera has joined #openstack-horizon09:25
vmarkovHi all. Could you review a patch? https://review.opendev.org/c/openstack/horizon/+/79397010:22
*** tmazur has joined #openstack-horizon12:45
*** josecastroleon has quit IRC13:09
jchorinHi again. I still have the issue that the css and js files are not found for my dashboard (404). I can find the files in `/var/lib/openstack-dashboard/static/dashboard/` but not in `/usr/share/openstack-dashboard/openstack_dashboard/static/dashboard`. Is that normal behavior?13:24
vmarkovHow do you install Horizon?13:47
opendevreviewHeather Lemon proposed openstack/horizon master: Only delete selected row and refresh table  https://review.opendev.org/c/openstack/horizon/+/78858513:54
*** e0ne has joined #openstack-horizon14:15
*** tosky has quit IRC14:16
*** tosky has joined #openstack-horizon14:18
jchorinvmarkov: with the apt packages14:29
vmarkovHi e0ne )14:32
e0nevmarkov: welcome back:)14:33
vishalmanchanda#startmeeting horizon15:00
opendevmeetMeeting started Wed Jun  9 15:00:18 2021 UTC and is due to finish in 60 minutes.  The chair is vishalmanchanda. Information about MeetBot at http://wiki.debian.org/MeetBot.15:00
opendevmeetUseful Commands: #action #agreed #help #info #idea #link #topic #startvote.15:00
opendevmeetThe meeting name has been set to 'horizon'15:00
e0nehi15:01
tmazuro/15:01
rdopierao/15:02
vishalmanchandahello everyone.15:02
vishalmanchandathis meeting will be short as I am not having much update.15:02
vishalmanchandaok let's start.15:02
vishalmanchanda#topic Notices15:02
vishalmanchandaI have no notices for this week.15:03
vishalmanchandaif anyone else have any announcement please go ahead.15:03
*** dklyle has joined #openstack-horizon15:04
rdopieraI finally got the django-sass-processor to work15:04
e0nerdopiera: awesome!15:04
rdopieraI have a proof of concept patch here: https://review.opendev.org/c/openstack/horizon/+/79480915:04
vishalmanchandardopiera: nice🙂)15:04
amotokihi15:04
rdopierathere three main problems:15:05
vishalmanchandardopiera: ok let's discuss it after I change the topic15:05
rdopiera1. it doesn't seem to underastand absolute paths the same was as scss -- it looks for the files in that absolute location15:05
vishalmanchanda#topic django sass processor15:05
rdopieraok, soryr15:05
rdopierathere three main problems:15:05
vishalmanchandardopiera: floor is yours, please go ahead.15:05
rdopierathere three main problems:15:05
rdopierasorry15:05
rdopiera1. it doesn't seem to underastand absolute paths the same was as scss -- it looks for the files in that absolute location15:06
rdopiera(we can probably fix it by subclassing it)15:06
rdopiera2. the way it uses a django template tag for inclusion, it doesn't allow templating inside the scss code, so we need to find a different way of including the style overrides from user settings (or remove that setting)15:07
rdopiera3. it has some problems with the material theme that I don't fully understand -- something about calling a function with a function as a parameter15:07
rdopierathat's all I have15:09
vishalmanchandardopiera: ok I will take a look and try your patch in my env.15:10
amotokiregarding the second point, I am not sure it is really needed. it might be covered by a theme.15:12
*** ikanias has joined #openstack-horizon15:12
rdopieraamotoki: or an additional file outside the theme15:13
rdopierathat we can @import15:13
amotokiI see. it should work.15:14
rdopierathe 3. is probably just something that libsass doesn't support15:14
rdopierado we have anything else to discuss?15:17
amotokirdopiera: regarding 3, what kind of functions?15:17
rdopieralet me quickly re-run it15:17
rdopieraError: Functions may not be defined within control directives or other mixins. on line 5:13 of openstack_dashboard/themes/material/static/horizon/_styles.scss15:18
rdopiera>>   @function selector-append($selector, $to-append) {15:18
rdopiera(by the way, the error reporting seems much nicer too)15:19
amotokiah, we have some workdaround on this already.15:20
amotokithat workaround was added to support the material theme with the current pyscss15:21
amotokiwe may be able to adjust it to django-scss-processor.15:22
e0neamotoki: +115:22
rdopierathe commands needed to generate the static files will change too15:22
rdopierawe will need to add one more manage command15:22
rdopierabut if we can solve 1. and 3., I think we can use this15:23
vishalmanchandardopiera: great...15:23
vishalmanchandaok moving to next topic.15:24
vishalmanchanda#Nodejs14 migration15:24
vishalmanchanda#topic Nodejs14 migration15:24
vishalmanchandasmall update on this topic.15:25
vishalmanchandaAll horizon plugins run horizon nodejs14 job template15:25
vishalmanchandahttps://review.opendev.org/q/topic:%22migrate-to-nodejs14%22+(status:open%20OR%20status:merged)15:25
vishalmanchandaI forgot to push patches for some plugins to drop nodejs10 job which I try to push by today.15:26
vishalmanchandahttps://review.opendev.org/q/topic:%22drop-nodejs10%22+(status:open%20OR%20status:merged)15:26
vishalmanchandaI was thinking if we can drop horizon-nodejs10 job template from horizon.15:27
vishalmanchandathen horizon plugins must have to drop horizon-nodejs10 template to make their CI/CD green.15:28
vishalmanchandaWhat you say or we should wait for more time?15:29
amotokivishalmanchanda: why didn't you replace node10 jobs with node14 jobs in plugins rather than adding node14 jobs?15:30
amotokiif so, dropping nodejs10 job template would be simpler.15:31
vishalmanchandaamotoki: yeah I didn't done that initially to avoid any failure.15:31
amotokithe goal is to migrate jobs to nodejs14, so we don't need to keep both in plugins15:32
amotokiI am not sure how it is realted to avoiding failures...15:33
vishalmanchandaamotoki: yes.15:33
amotokiI am against dropping nodejs10 template from horizon first. I think we should avoid breakage we can easily expect.15:34
vishalmanchandayeah my bad I missed that:(15:34
amotokivishalmanchanda: np15:34
vishalmanchandaamotoki: ok I will wait till horizon-nodejs10 template removed from all plugins.15:35
vishalmanchandathat's all update from my side.15:36
vishalmanchanda#topic open-discussion15:36
vishalmanchandaThis week I am working on testing horizon with XStatic-Angular 1.8.2.1 version.15:37
vishalmanchandanpm-test are failing as of now.15:37
vishalmanchandahttps://review.opendev.org/c/openstack/horizon/+/79477415:37
vishalmanchandawill reach to you guys if I need any help.15:37
amotokiany update on django 3.x?15:38
vishalmanchandaamotoki: I was thinking to start reviewing your django3 patches.15:40
vishalmanchanda#link https://review.opendev.org/q/topic:%22django3-support%22+(status:open%20OR%20status:merged)15:40
amotokivishalmanchanda: how about django-pyscss? does it depend on rdopiera's effort?15:41
vishalmanchandaamotoki: need to check, I was thinking how should I start.15:42
vishalmanchandaamotoki: Should we merge that patch which add a django3 job(non-voting) first15:43
amotokivishalmanchanda: non-voting job patch is okay (unless the numberr of jobs is not a problem)15:43
amotokiit is nice to have such jobs if we plan to move djnago30 support forward soon. otherwise, the django3 non-voting always fails and would be meaningless.15:45
amotokithat's my point.15:45
vishalmanchandaamotoki: sure, I will start with this one https://review.opendev.org/c/openstack/horizon/+/77739015:46
vishalmanchandaamotoki: will reach to you if have any doubts.15:46
amotokithanks15:47
vishalmanchandaDoes anyone have any other topics to discuss?15:47
vishalmanchandaor we can end this meeting.15:47
rdopieranothing15:48
amotokinone from me15:48
tmazurnothing15:48
vishalmanchandaThanks everyone for your contributions!15:49
vishalmanchandawill see you next week.15:49
vishalmanchanda#endmeeting15:49
opendevmeetMeeting ended Wed Jun  9 15:49:45 2021 UTC.  Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4)15:49
opendevmeetMinutes:        http://eavesdrop.openstack.org/meetings/horizon/2021/horizon.2021-06-09-15.00.html15:49
opendevmeetMinutes (text): http://eavesdrop.openstack.org/meetings/horizon/2021/horizon.2021-06-09-15.00.txt15:49
opendevmeetLog:            http://eavesdrop.openstack.org/meetings/horizon/2021/horizon.2021-06-09-15.00.log.html15:49
*** jchorin has quit IRC15:54
*** ikanias has left #openstack-horizon16:00
*** rdopiera has quit IRC16:09
*** e0ne_ has joined #openstack-horizon16:47
*** e0ne has quit IRC16:47
*** e0ne has joined #openstack-horizon16:52
*** e0ne_ has quit IRC16:55
*** e0ne_ has joined #openstack-horizon17:24
*** e0ne has quit IRC17:29
*** e0ne_ has quit IRC17:33
*** ralonsoh has quit IRC17:34
*** e0ne has joined #openstack-horizon17:34
*** e0ne_ has joined #openstack-horizon17:36
*** e0ne has quit IRC17:36
*** whoami-rajat has quit IRC18:13
*** vishalmanchanda has quit IRC19:55
*** e0ne_ has quit IRC20:13
*** tosky has quit IRC22:47
*** whoami-rajat has joined #openstack-horizon22:58
*** tmazur has quit IRC23:41

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