*** trungnv has joined #openstack-dns | 00:49 | |
*** trungnv has quit IRC | 00:53 | |
*** openstackgerrit has quit IRC | 01:03 | |
*** itlinux has joined #openstack-dns | 01:15 | |
*** Zergnomen has quit IRC | 01:21 | |
*** itlinux has quit IRC | 01:43 | |
*** Zergnomen has joined #openstack-dns | 01:50 | |
*** itlinux has joined #openstack-dns | 01:56 | |
*** AlexeyAbashkin has joined #openstack-dns | 02:21 | |
*** itlinux has quit IRC | 02:22 | |
*** AlexeyAbashkin has quit IRC | 02:25 | |
*** itlinux has joined #openstack-dns | 02:27 | |
*** itlinux has quit IRC | 02:40 | |
*** itlinux has joined #openstack-dns | 05:59 | |
*** itlinux has quit IRC | 06:08 | |
*** hieulq has joined #openstack-dns | 06:17 | |
*** jafeha has quit IRC | 07:16 | |
*** jafeha has joined #openstack-dns | 07:17 | |
*** hieulq has quit IRC | 07:17 | |
*** pcaruana has joined #openstack-dns | 07:41 | |
*** AlexeyAbashkin has joined #openstack-dns | 07:48 | |
*** hieulq has joined #openstack-dns | 08:18 | |
*** ktibi has joined #openstack-dns | 08:54 | |
*** kiall has joined #openstack-dns | 09:41 | |
*** kiall is now known as Guest4317 | 09:42 | |
*** ktibi has quit IRC | 09:43 | |
*** ktibi has joined #openstack-dns | 09:43 | |
*** hieulq has quit IRC | 10:02 | |
*** mwhahaha has quit IRC | 11:51 | |
*** mwhahaha has joined #openstack-dns | 11:52 | |
*** nkinder has quit IRC | 12:15 | |
*** ianychoi_ has joined #openstack-dns | 12:42 | |
*** ianychoi has quit IRC | 12:46 | |
*** ktibi has quit IRC | 13:11 | |
*** ktibi has joined #openstack-dns | 13:15 | |
*** pcaruana has quit IRC | 13:16 | |
*** ianychoi_ has quit IRC | 13:48 | |
*** ianychoi_ has joined #openstack-dns | 13:49 | |
*** sapcc-bot2 has joined #openstack-dns | 14:59 | |
*** sapcc-bot has quit IRC | 14:59 | |
*** itlinux has joined #openstack-dns | 16:01 | |
*** renmak_ has joined #openstack-dns | 16:17 | |
*** itlinux has quit IRC | 16:46 | |
*** pcaruana has joined #openstack-dns | 16:47 | |
*** itlinux has joined #openstack-dns | 16:50 | |
*** cliles has joined #openstack-dns | 16:51 | |
*** itlinux has quit IRC | 17:26 | |
*** itlinux has joined #openstack-dns | 17:31 | |
*** AlexeyAbashkin has quit IRC | 17:38 | |
*** openstackgerrit has joined #openstack-dns | 17:49 | |
*** ChanServ sets mode: +v openstackgerrit | 17:49 | |
openstackgerrit | Merged openstack/designate-tempest-plugin master: Updated from global requirements https://review.openstack.org/537038 | 17:49 |
---|---|---|
*** pcaruana has quit IRC | 17:55 | |
*** pcaruana has joined #openstack-dns | 18:06 | |
*** idlemind has quit IRC | 18:28 | |
*** itlinux has quit IRC | 18:30 | |
*** idlemind has joined #openstack-dns | 18:35 | |
*** itlinux has joined #openstack-dns | 18:44 | |
*** pcaruana has quit IRC | 18:45 | |
*** Guest4317 has quit IRC | 18:55 | |
*** itlinux has quit IRC | 18:57 | |
*** itlinux has joined #openstack-dns | 18:59 | |
*** kiall has joined #openstack-dns | 19:07 | |
*** kiall is now known as Guest26353 | 19:08 | |
andrewbogott | I'm running into some issues with deploying designate-dashboard. LMK if this is the wrong place to ask about that... | 19:10 |
andrewbogott | In 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 |
andrewbogott | Is there an extra config setting I need someplace so that the horizon collectstatic knows to look for the designatedashboard files? | 19:11 |
mugsie | andrewbogott: so - i have this issue from time to time as well | 19:34 |
mugsie | I have to keep clickign throught the UI and re-running that command as needed | 19:34 |
andrewbogott | re-running collectstatic? | 19:35 |
mugsie | yeah | 19:35 |
mugsie | so when I get an error, I re run it | 19:35 |
mugsie | and repeat until all the DNS pages work | 19:35 |
andrewbogott | huh | 19:35 |
andrewbogott | that sounds like a different issue, probably you have runtime compression turned on? | 19:35 |
andrewbogott | Mine is reproducible at build time, every time. I look in my static files dir, and there's nothing there for designate | 19:36 |
andrewbogott | if I copy the files there by hand from the designate tree then things work | 19:36 |
*** itlinux has quit IRC | 19:39 | |
*** itlinux has joined #openstack-dns | 19:43 | |
*** itlinux has quit IRC | 19:46 | |
mugsie | oh, that sounds possible | 19:47 |
mugsie | we could be missing a section in our plugin? but I am not sure | 19:48 |
andrewbogott | I'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 files | 19:54 |
andrewbogott | So, 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-dns | 20:14 | |
eandersson | btw you need to clear memcached if you use it for caching | 20:16 |
eandersson | (not having read the whole conversation) | 20:16 |
*** McClymontS has quit IRC | 20:17 | |
eandersson | Which version of the dashboard is this for? | 20:18 |
eandersson | Did you enable designate in horizon? | 20:25 |
eandersson | It's step 2 in the guide on the git repository https://github.com/openstack/designate-dashboard | 20:26 |
*** itlinux has joined #openstack-dns | 20:36 | |
andrewbogott | eandersson: yeah, it's enabled. I can see the menu items in horizon, just not the static content | 20:48 |
eandersson | Pretty sure _1721_dns_zones_panel.py is the one that decides where to get the static content | 20:49 |
eandersson | make sure it's listed under openstack_dashboard/local/enabled | 20:50 |
eandersson | is this installed on the system or a virtualenv? | 20:50 |
andrewbogott | in a venv | 20:51 |
eandersson | I basically do it like this | 20:53 |
eandersson | 1) create a venv with horizon and designate-dashboard | 20:53 |
eandersson | 2) create /var/www/horizon (and add manage.py in there) | 20:54 |
eandersson | 3) create /var/www/horizon/static | 20:54 |
eandersson | 4) add the enabled files | 20:54 |
eandersson | 5) activate the venv and run python manage.py collectstatic --noinput | 20:54 |
eandersson | In local_settings.py I have STATIC_ROOT = '/var/www/horizon/static' | 20:55 |
andrewbogott | That's very similar to what I'm doing, the only difference is the location of manage.py | 20:55 |
andrewbogott | do you believe that putting it in /var/www/horizon is arbitrary or magic? | 20:56 |
eandersson | arbitrary, but I can test it in my lab | 20:56 |
eandersson | to confirm | 20:56 |
andrewbogott | (and, if it's in /var/www/horizon how does it find your local_settings.py?) | 20:56 |
eandersson | So that bit is still a little magic for me, but local_settings.py is just in the default place | 20:57 |
eandersson | meaning openstack_dashboard/local/local_settings.py | 20:57 |
andrewbogott | oh, not in /etc | 20:57 |
eandersson | but linked to /etc/openstack_dashboard/ | 20:57 |
andrewbogott | Ah | 20:57 |
andrewbogott | so yeah, this is very close to what I'm doing | 20:58 |
eandersson | Which version are you running? | 20:58 |
eandersson | Pike? | 20:58 |
andrewbogott | right now, the tip | 20:58 |
eandersson | We are running stable/pike for both Horizon and Designate-Dashboard | 20:59 |
eandersson | haven't tested the very latest yet, but can test both in the lab later | 21:00 |
andrewbogott | ok — 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 |
andrewbogott | in 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 there | 21:01 |
andrewbogott | hence missing the stuff in local/enabled which would've told it what to do | 21:01 |
eandersson | I see - yea that would make sense | 21:02 |
andrewbogott | the horizon installation instructions say to run manage.py from the git checkout | 21:02 |
andrewbogott | but of course they're not thinking about venvs and/or additional dashboards being installed | 21:02 |
eandersson | Yea - had a lot of fun figuring all of this out... | 21:03 |
eandersson | So many hours wasted :p | 21:03 |
andrewbogott | I'm trying to think of how I would change those docs but I can't even think of a general case... | 21:04 |
andrewbogott | short of rewriting collectstatic to be less arbitrary | 21:04 |
*** openstackstatus has quit IRC | 21:43 | |
*** openstackstatus has joined #openstack-dns | 21:44 | |
*** ChanServ sets mode: +v openstackstatus | 21:44 | |
*** itlinux has quit IRC | 22:23 | |
*** itlinux has joined #openstack-dns | 22:27 | |
*** itlinux has quit IRC | 22:46 | |
*** Zara has quit IRC | 23:18 | |
*** Zara has joined #openstack-dns | 23:18 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!