<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 21, 2018 at 9:35 AM, Thomas Goirand <span dir="ltr"><<a href="mailto:zigo@debian.org" target="_blank">zigo@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi there!<br>
<br>
I'm having big trouble package heat-dashboard for Debian. I hope I can<br>
get help through this list.<br>
<br>
In here:<br>
<br>
heat_dashboard/static/<wbr>dashboard/project/heat_<wbr>dashboard/template_generator/<wbr>js/<br>
<br>
we have minified *only* versions of Javascript.<br>
<br></blockquote><div><br></div><div>There's also a bug open for this: <a href="https://bugs.launchpad.net/heat-dashboard/+bug/1747687">https://bugs.launchpad.net/heat-dashboard/+bug/1747687</a><br><br></div><div>Regards,<br></div><div>Corey<br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
1/ Why is there only minified versions? That's non-free to me, Debian,<br>
and probably any other distro caring about OpenStack.<br>
2/ Why do we even have a folder called "vendors"? Doesn't this sound<br>
really a bad practice?<br>
3/ Why is there so many angular-*.min.js files? Do we need them all?<br>
4/ Why isn't the package using xstatic-angular and friends?<br>
<br>
As it stands, I can't upload heat-dashboard to Debian for Queens, and<br>
it's been removed from Horizon... :(<br>
<br>
Oh, and I almost forgot! When running unit tests, I get:<br>
<br>
PYTHON=python$i NOSE_WITH_OPENSTACK=1 \<br>
                NOSE_OPENSTACK_COLOR=1 \<br>
                NOSE_OPENSTACK_RED=0.05 \<br>
                NOSE_OPENSTACK_YELLOW=0.025 \<br>
                NOSE_OPENSTACK_SHOW_ELAPSED=1 \<br>
                DJANGO_SETTINGS_MODULE=heat_<wbr>dashboard.test.settings \<br>
                python$i<br>
/home/zigo/sources/openstack/<wbr>queens/services/heat-<wbr>dashboard/build-area/heat-<wbr>dashboard-1.0.2/manage.py<br>
test heat_dashboard.test --settings=heat_dashboard.<wbr>test.settings<br>
<br>
No local_settings file found.<br>
Traceback (most recent call last):<br>
  File<br>
"/home/zigo/sources/openstack/<wbr>queens/services/heat-<wbr>dashboard/build-area/heat-<wbr>dashboard-1.0.2/manage.py",<br>
line 23, in <module><br>
    execute_from_command_line(sys.<wbr>argv)<br>
<br>
[ ... some stack dump ...]<br>
<br>
  File "/usr/lib/python3/dist-<wbr>packages/fasteners/process_<wbr>lock.py", line<br>
147, in acquire<br>
    self._do_open()<br>
  File "/usr/lib/python3/dist-<wbr>packages/fasteners/process_<wbr>lock.py", line<br>
119, in _do_open<br>
    self.lockfile = open(self.path, 'a')<br>
PermissionError: [Errno 13] Permission denied:<br>
'/usr/lib/python3/dist-<wbr>packages/openstack_dashboard/<wbr>local/_usr_lib_python3_dist-<wbr>packages_openstack_dashboard_<wbr>local_.secret_key_store.lock'<br>
<br>
What thing is attempting to write in my read only /usr, while Horizon is<br>
correctly installed, and writing its secret key material as it should,<br>
in /var/lib/openstack-dashboard? It's probably due to me, but here, how<br>
can I make heat-dashboard unit test behave during package build? What's<br>
this "No local_settings file found" thing? Other dashboards didn't<br>
complain in this way...<br>
<br>
Cheers,<br>
<br>
Thomas Goirand (zigo)<br>
<br>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
</blockquote></div><br></div></div>