collectstatic and compress are not producing consistent results
Bug #1476383 reported by
Eric Peterson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Undecided
|
Shaoquan Chen |
Bug Description
I have 3 identical machines (host names are different), and I have an ansible script to deploy horizon. As part of the script we run collectstatic and compress by hand (offline compression).
Each machine's static contents looks slightly different.
This causes horizon to fail when behind a load balancer, specifically when round robin or least conn policies are in place.
Changed in horizon: | |
assignee: | nobody → Kevin Kirkpatrick (kevkirkpatrick) |
Changed in horizon: | |
status: | New → Confirmed |
Changed in horizon: | |
assignee: | Kevin Kirkpatrick (kevkirkpatrick) → nobody |
Changed in horizon: | |
assignee: | nobody → Shaoquan Chen (sean-chen2) |
Changed in horizon: | |
milestone: | none → liberty-2 |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | liberty-2 → 8.0.0 |
To post a comment you must log in.
If I rerun these steps on the same machine, it's always consistent / the same / produces the same results.
On two machines with the same code I get:
ls -al static/ dashboard/ js/
-rw-rw-r-- 1 horizon horizon 494887 Jul 20 20:22 76adef98ad14.js
-rw-rw-r-- 1 horizon horizon 1095117 Jul 20 20:22 9f5a794ddce8.js
-rw-rw-r-- 1 horizon horizon 1029 Jul 20 20:22 d1540ac79bc7.js
ls -al static/ dashboard/ js/
-rw-rw-r-- 1 horizon horizon 494887 Jul 20 20:25 76adef98ad14.js
-rw-rw-r-- 1 horizon horizon 1095117 Jul 20 20:25 81e54d551c21.js
-rw-rw-r-- 1 horizon horizon 1029 Jul 20 20:25 d1540ac79bc7.js