Closed Bug 1173338 Opened 9 years ago Closed 9 years ago

Whitelist funsize-beetmover-dev.s3.amazonaws.com in aus4 dev

Categories

(Infrastructure & Operations Graveyard :: WebOps: Product Delivery, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rail, Assigned: cliang)

References

Details

(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/1331] )

We are going to use this domain for "beetmoved" nightly MARs by dev funsize.


Balrog request to https://aus4-admin-dev.allizom.org/api/releases/Firefox-mozilla-central-nightly-20150610030209/builds/Linux_x86_64-gcc3/en-US                                                                                                 

Data sent: {'product': u'Firefox', 'hashFunction': 'sha512', 'alias': 'null', 'schema_version': 4, 'data_version': '4', 
'copyTo': '["Firefox-mozilla-central-nightly-latest"]', 'version': u'41.0a1', 'data': '{"platformVersion": "41.0a1", "pa
rtials": [{"fileUrl": "https://funsize-beetmover-dev.s3.amazonaws.com/mozilla-central/20150610030209/Firefox-mozilla-cen
tral-41.0a1-linux64-en-US-20150608030201-20150610030209.partial.mar", "hashValue": "3d43fb02420e899f2db9813ac13352e43837
c70cec85e8cbd6e7748c8d3b2636d6e94b0e8c4380177541017c223ab866205f610baf7768ab28acf40b1e1d4a2b", "from": "Firefox-mozilla-
central-nightly-20150608030201", "filesize": 7211729}], "completes": [{"fileUrl": "https://funsize-beetmover-dev.s3.amaz
onaws.com/mozilla-central/20150610030209/firefox-41.0a1.en-US.linux-x86_64.complete.mar", "hashValue": "d69ca9c68607de16
72a1dc9e5e04237c3fa22e74db3aaac4a5e99b45aec326579012bdf215fdaaa5500a44c16a30d4752a2fb9c2f56d4399c4adbafcd84199f9", "from
": "*", "filesize": 55885075}], "buildID": "20150610030209", "displayVersion": "41.0a1", "appVersion": "41.0a1"}'}      
Starting new HTTPS connection (2): aus4-admin-dev.allizom.org                                                           
"PUT /api/releases/Firefox-mozilla-central-nightly-20150610030209/builds/Linux_x86_64-gcc3/en-US HTTP/1.1" 400 64       

Caught HTTPError: Couldn't update release: Release blob contains forbidden domain.
WebOps are the only people that can do this. See https://bugzilla.mozilla.org/show_bug.cgi?id=1145186 for a similar example.
Assignee: nobody → server-ops-webops
Component: Balrog: Backend → WebOps: Product Delivery
Product: Release Engineering → Infrastructure & Operations
QA Contact: bhearsum → smani
Version: unspecified → other
Just to make sure, this is for aus4-admin-dev.allizom.org only.
Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/1331]
Assignee: server-ops-webops → cliang
@rail: I believe that I've added funsize-beetmover-dev.s3.amazonaws.com to the whitelist for aus4-admin-dev.allizom.org.  Can you please verify that it works for you now?


* Edited /data/aus-dev/src/aus4-admin-dev.allizom.org/app/admin.ini, pushed out the change.
* Added the domain to the puppet template
Still getting errors... Should I wait a bit more until it's deployed somehow?
(In reply to Rail Aliiev [:rail] from comment #4)
> Should I wait a bit more until it's deployed somehow?

Probably something went wrong. I'm still getting the same errors.
aus1.dev.webapp.phx1:/data/www/aus4-admin-dev.allizom.org/app/admin.ini has the change, but maybe Apache needs a bounce ?  WSGIDaemonProcess has quite a large maximum-requests value.

Also, we'll need to update balrog.ini for aus4-dev.allizom.org too.
Summary: Whitelist funsize-beetmover-dev.s3.amazonaws.com in aus4-admin-dev.allizom.org → Whitelist funsize-beetmover-dev.s3.amazonaws.com in aus4 dev
@rail:  Can you please try again?

* Edited /data/aus-dev/src/aus4-dev.allizom.org/app/balrog.ini, pushed out the change.
* Did an Apache graceful restart
* Added the domain to the puppet template.
on it...
It worked fine this time. Thanks!
Feel free to resolve the bug.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Thank you!
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.