Closed Bug 746959 Opened 12 years ago Closed 12 years ago

need to set a secret key for balrog's admin application

Categories

(Release Engineering :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bhearsum, Assigned: bhearsum)

References

Details

Attachments

(2 files)

I tried using the newly landed rules UI today and got an internal server error that complained about the secret key being unset. We probably need to be reading one from the config file and using that, obviously we don't want to check one in ;).
I tested this locally, worked fine!
Attachment #616547 - Flags: review?(catlee)
Attachment #616547 - Flags: review?(catlee) → review+
Comment on attachment 616547 [details] [diff] [review]
read session key from config

Jenkins run is here: https://jenkins.mozilla.org/job/Balrog/81/
Attachment #616547 - Flags: checked-in+
Darn it, I broke the client application:
[Fri Apr 20 04:26:07 2012] [error] [client 10.8.33.241] Traceback (most recent call last):
[Fri Apr 20 04:26:07 2012] [error] [client 10.8.33.241]   File "/data/www/aus4-dev.allizom.org/client.wsgi", line 24, in <module>
[Fri Apr 20 04:26:07 2012] [error] [client 10.8.33.241]     AUS.setSpecialHosts(cfg.getSpecialForceHosts())
[Fri Apr 20 04:26:07 2012] [error] [client 10.8.33.241] AttributeError: 'AUSConfig' object has no attribute 'getSpecialForceHosts'
[Fri Apr 20 04:26:19 2012] [error] [client 10.8.33.241] mod_wsgi (pid=20436): Target WSGI script '/data/www/aus4-dev.allizom.org/client.wsgi' cannot be loaded as Python module.
[Fri Apr 20 04:26:19 2012] [error] [client 10.8.33.241] mod_wsgi (pid=20436): Exception occurred processing WSGI script '/data/www/aus4-dev.allizom.org/client.wsgi'.
[Fri Apr 20 04:26:19 2012] [error] [client 10.8.33.241] Traceback (most recent call last):
[Fri Apr 20 04:26:19 2012] [error] [client 10.8.33.241]   File "/data/www/aus4-dev.allizom.org/client.wsgi", line 24, in <module>
[Fri Apr 20 04:26:19 2012] [error] [client 10.8.33.241]     AUS.setSpecialHosts(cfg.getSpecialForceHosts())
[Fri Apr 20 04:26:19 2012] [error] [client 10.8.33.241] AttributeError: 'AUSConfig' object has no attribute 'getSpecialForceHosts'
Evidently, I was confused about which app the special hosts was for.
Attachment #616927 - Flags: review?(catlee)
Attachment #616927 - Flags: review?(catlee) → review+
Comment on attachment 616927 [details] [diff] [review]
fix client application

Jenkins run is here: https://jenkins.mozilla.org/job/Balrog/82/

And it fixed the problem, too.
Attachment #616927 - Flags: checked-in+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
Component: General Automation → General
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: