"python dashboard/manage.py jenkins start" is broken
Bug #1049537 reported by
Paul Sokolovsky
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linaro-ci-dashboard |
Fix Released
|
Critical
|
Paul Sokolovsky |
Bug Description
Trying to re-initialize development, I get:
$ python dashboard/manage.py jenkins start
Error processing the command
There're 2 problems with this:
1. Cryptic error message.
2. Broken underlying assumptions which lead to error.
Because of this error, it's not possible to continue development, so it's critical.
Related branches
lp:~pfalcon/linaro-ci-dashboard/jenkins_start_fix
- Deepti B. Kalakeri (community): Approve
-
Diff: 133 lines (+45/-41)2 files modifieddashboard/frontend/management/commands/jenkins.py (+44/-40)
dashboard/settings.py (+1/-1)
Changed in linaro-ci-dashboard: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
assignee: | nobody → Paul Sokolovsky (pfalcon) |
milestone: | none → 2012.09 |
To post a comment you must log in.
The error is seen because
1) the code does not download the jenkins stuff if it exists, and next would fail when the mismatch in the length occurs. You can add checks for an existing jenkins.war to make sure we have something new available and remove if it true and download the latest, like that the command wont fail
2) OR if the jenkins URL used to download the war file is not reachable.