Tuesday, 2018-02-13

*** trungnv has joined #openstack-dns00:49
*** trungnv has quit IRC00:53
*** openstackgerrit has quit IRC01:03
*** itlinux has joined #openstack-dns01:15
*** Zergnomen has quit IRC01:21
*** itlinux has quit IRC01:43
*** Zergnomen has joined #openstack-dns01:50
*** itlinux has joined #openstack-dns01:56
*** AlexeyAbashkin has joined #openstack-dns02:21
*** itlinux has quit IRC02:22
*** AlexeyAbashkin has quit IRC02:25
*** itlinux has joined #openstack-dns02:27
*** itlinux has quit IRC02:40
*** itlinux has joined #openstack-dns05:59
*** itlinux has quit IRC06:08
*** hieulq has joined #openstack-dns06:17
*** jafeha has quit IRC07:16
*** jafeha has joined #openstack-dns07:17
*** hieulq has quit IRC07:17
*** pcaruana has joined #openstack-dns07:41
*** AlexeyAbashkin has joined #openstack-dns07:48
*** hieulq has joined #openstack-dns08:18
*** ktibi has joined #openstack-dns08:54
*** kiall has joined #openstack-dns09:41
*** kiall is now known as Guest431709:42
*** ktibi has quit IRC09:43
*** ktibi has joined #openstack-dns09:43
*** hieulq has quit IRC10:02
*** mwhahaha has quit IRC11:51
*** mwhahaha has joined #openstack-dns11:52
*** nkinder has quit IRC12:15
*** ianychoi_ has joined #openstack-dns12:42
*** ianychoi has quit IRC12:46
*** ktibi has quit IRC13:11
*** ktibi has joined #openstack-dns13:15
*** pcaruana has quit IRC13:16
*** ianychoi_ has quit IRC13:48
*** ianychoi_ has joined #openstack-dns13:49
*** sapcc-bot2 has joined #openstack-dns14:59
*** sapcc-bot has quit IRC14:59
*** itlinux has joined #openstack-dns16:01
*** renmak_ has joined #openstack-dns16:17
*** itlinux has quit IRC16:46
*** pcaruana has joined #openstack-dns16:47
*** itlinux has joined #openstack-dns16:50
*** cliles has joined #openstack-dns16:51
*** itlinux has quit IRC17:26
*** itlinux has joined #openstack-dns17:31
*** AlexeyAbashkin has quit IRC17:38
*** openstackgerrit has joined #openstack-dns17:49
*** ChanServ sets mode: +v openstackgerrit17:49
openstackgerritMerged openstack/designate-tempest-plugin master: Updated from global requirements  https://review.openstack.org/53703817:49
*** pcaruana has quit IRC17:55
*** pcaruana has joined #openstack-dns18:06
*** idlemind has quit IRC18:28
*** itlinux has quit IRC18:30
*** idlemind has joined #openstack-dns18:35
*** itlinux has joined #openstack-dns18:44
*** pcaruana has quit IRC18:45
*** Guest4317 has quit IRC18:55
*** itlinux has quit IRC18:57
*** itlinux has joined #openstack-dns18:59
*** kiall has joined #openstack-dns19:07
*** kiall is now known as Guest2635319:08
andrewbogottI'm running into some issues with deploying designate-dashboard.  LMK if this is the wrong place to ask about that...19:10
andrewbogottIn particular, after I install the dashboard and run manage.py collectstatic, the static bits of designate-dashboard aren't getting detected or collected.19:11
andrewbogottIs there an extra config setting I need someplace so that the horizon collectstatic knows to look for the designatedashboard files?19:11
mugsieandrewbogott: so - i have this issue from time to time as well19:34
mugsieI have to keep clickign throught the UI and re-running that command as needed19:34
andrewbogottre-running collectstatic?19:35
mugsieyeah19:35
mugsieso when I get an error, I re run it19:35
mugsieand repeat until all the DNS pages work19:35
andrewbogotthuh19:35
andrewbogottthat sounds like a different issue, probably you have runtime compression turned on?19:35
andrewbogottMine is reproducible at build time, every time.  I look in my static files dir, and there's nothing there for designate19:36
andrewbogottif I copy the files there by hand from the designate tree then things work19:36
*** itlinux has quit IRC19:39
*** itlinux has joined #openstack-dns19:43
*** itlinux has quit IRC19:46
mugsieoh, that sounds possible19:47
mugsiewe could be missing a section in our plugin? but I am not sure19:48
andrewbogottI'm narrowing in on the issue on my end now… I think that 'compressstatic' looks at the /path/to/manage.py and looks at sibling directories for files19:54
andrewbogottSo, trying it with manage.py in my venv rather than elsewhere...19:54
andrewbogott(which means now I'm fighting with horizon's setup.py trying to get manage.py installed in the right place)19:55
*** McClymontS has joined #openstack-dns20:14
eanderssonbtw you need to clear memcached if you use it for caching20:16
eandersson(not having read the whole conversation)20:16
*** McClymontS has quit IRC20:17
eanderssonWhich version of the dashboard is this for?20:18
eanderssonDid you enable designate in horizon?20:25
eanderssonIt's step 2 in the guide on the git repository https://github.com/openstack/designate-dashboard20:26
*** itlinux has joined #openstack-dns20:36
andrewbogotteandersson: yeah, it's enabled.  I can see the menu items in horizon, just not the static content20:48
eanderssonPretty sure _1721_dns_zones_panel.py is the one that decides where to get the static content20:49
eanderssonmake sure it's listed under openstack_dashboard/local/enabled20:50
eanderssonis this installed on the system or a virtualenv?20:50
andrewbogottin a venv20:51
eanderssonI basically do it like this20:53
eandersson1) create a venv with horizon and designate-dashboard20:53
eandersson2) create /var/www/horizon (and add manage.py in there)20:54
eandersson3) create /var/www/horizon/static20:54
eandersson4) add the enabled files20:54
eandersson5) activate the venv and run python manage.py collectstatic --noinput20:54
eanderssonIn local_settings.py I have STATIC_ROOT = '/var/www/horizon/static'20:55
andrewbogottThat's very similar to what I'm doing, the only difference is the location of manage.py20:55
andrewbogottdo you believe that putting it in /var/www/horizon is arbitrary or magic?20:56
eanderssonarbitrary, but I can test it in my lab20:56
eanderssonto confirm20:56
andrewbogott(and, if it's in /var/www/horizon how does it find your local_settings.py?)20:56
eanderssonSo that bit is still a little magic for me, but local_settings.py is just in the default place20:57
eanderssonmeaning openstack_dashboard/local/local_settings.py20:57
andrewbogottoh, not in /etc20:57
eanderssonbut linked to /etc/openstack_dashboard/20:57
andrewbogottAh20:57
andrewbogottso yeah, this is very close to what I'm doing20:58
eanderssonWhich version are you running?20:58
eanderssonPike?20:58
andrewbogottright now, the tip20:58
eanderssonWe are running stable/pike for both Horizon and Designate-Dashboard20:59
eanderssonhaven't tested the very latest yet, but can test both in the lab later21:00
andrewbogottok — I think I have a fix here, actually, but I need to sort out some side-issues.21:01
andrewbogott(And I have to run to a meeting)21:01
andrewbogottin short — I think that collectstatic is just doing random searching for things that look like 'horizon' and it was finding my initial git checkout (outside of the venv) and pulling in static files from there21:01
andrewbogotthence missing the stuff in local/enabled which would've told it what to do21:01
eanderssonI see - yea that would make sense21:02
andrewbogottthe horizon installation instructions say to run manage.py from the git checkout21:02
andrewbogottbut of course they're not thinking about venvs and/or additional dashboards being installed21:02
eanderssonYea - had a lot of fun figuring all of this out...21:03
eanderssonSo many hours wasted :p21:03
andrewbogottI'm trying to think of how I would change those docs but I can't even think of a general case...21:04
andrewbogottshort of rewriting collectstatic to be less arbitrary21:04
*** openstackstatus has quit IRC21:43
*** openstackstatus has joined #openstack-dns21:44
*** ChanServ sets mode: +v openstackstatus21:44
*** itlinux has quit IRC22:23
*** itlinux has joined #openstack-dns22:27
*** itlinux has quit IRC22:46
*** Zara has quit IRC23:18
*** Zara has joined #openstack-dns23:18

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