Which, you might note, already has the settings.py copy command removed (that file is ignored). When I remove the spurious links (marked * above) the compress works as intended. Those links are not necessary to the correct collection of static files, and in fact confuse the heck out of things.
I've reduced the steps to reproduce down to:
apt-get update /github. com/openstack/ horizon. git /github. com/openstack/ requirements. git /upper- constraints. txt openstack- dashboard openstack- dashboard openstack- dashboard/ manage. py dashboard dashboard/ local/local_ settings. py.example /etc/openstack- dashboard/ local_settings. py dashboard/ /usr/share/ openstack- dashboard/ openstack_ dashboard/ openstack- dashboard/ openstack_ dashboard/ static /usr/share/ openstack- dashboard/ static dashboard/ local_settings. py /usr/share/ openstack- dashboard/ openstack_ dashboard/ local/local_ settings. py lib/python2. 7/dist- packages/ horizon/ static/ horizon/ /usr/share/ openstack- dashboard/ openstack_ dashboard/ static/ horizon openstack- dashboard/ manage. py collectstatic --noinput openstack- dashboard/ manage. py compress --force
apt install git python-pip
git clone https:/
git clone https:/
cd horizon
git checkout 11.0.0.0b1
pip install . -c ../requirements
mkdir /usr/share/
mkdir /var/lib/
cp manage.py /usr/share/
mkdir /etc/openstack-
cp ./openstack_
rsync -avrz ./openstack_
* ln -s /usr/share/
ln -s /etc/openstack-
* ln -s /usr/local/
python /usr/share/
python /usr/share/
Which, you might note, already has the settings.py copy command removed (that file is ignored). When I remove the spurious links (marked * above) the compress works as intended. Those links are not necessary to the correct collection of static files, and in fact confuse the heck out of things.