Closed Bug 650900 Opened 14 years ago Closed 14 years ago

[tracking] Setup and Deploy Share in staging

Categories

(Cloud Services :: Operations: Deployment Requests - DEPRECATED, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: gozer, Assigned: petef)

References

Details

(Keywords: meta)

No description provided.
Depends on: 650901
Depends on: 650906
Depends on: 650907
Depends on: 650908
Assignee: nobody → petef
Assignee: petef → nobody
Component: Server: Share → Operations: Deployment Requests
QA Contact: share-server → operations-deploy-requests
going to bring up share{1,2}.mtv1.stage.svc.mozilla.com as VMs w/1gb ram each. decided on 2 VMs so we can test the zeus rules for routing all oauth stuff to one (and only have the keys on one), and the rest of the traffic to the other.
Assignee: nobody → petef
Status: NEW → ASSIGNED
Packages I found missing: * cef (built rpm with pypi2rpm) * SQLAlchemy (built rpm with pypi2rpm) I'm still blocked from firing things up, I get: ImportError: No module named csrf
re: the csrf thing, maybe I need newer RPMs with this commit? https://github.com/mozilla/f1/commit/3cc6da6c286eadd10b9c2c49abe31cf004734274
I copied that production.ini over manually and we're running with that. Yay! I'll pull a new set of RPMs when the cef/sqlalchemy stuff is fixed. Also, I'd prefer a command to build the RPMs myself (instead of rebuilding the source RPMs).
and when I try to register with twitter against a client force-pointed at this new vip: Error - <type 'exceptions.ImportError'>: cannot import name get_provider URL: http://f1.mozillamessaging.com/api/account/authorize (longer stacktrace available)
(In reply to comment #2) > Packages I found missing: > > * cef (built rpm with pypi2rpm) > * SQLAlchemy (built rpm with pypi2rpm) These are dependencies from the services Python package, and AFAIK, that lives somewhere in your own repos. I ended up noticing this and rolling our own version of that (mozilla-f1-python26-services), but dropping the dependencies until I could figure out what that services module was used for. Can you let me know what needed this, or where it broke, because I suspect these are bogus dependencies, not really needed.
They weren't actual RPM dependencies, but the server failed to start without them installed. I can get exact messages/stack-traces if you like. To build the RPMs, I did: pypi2rpm.py cef pypi2rpm.py sqlalchemy --version 0.6.6 # or something; this is from memory I think we're going to need the cef stuff for infrasec logging, so it's probably worth building that in. The SQLAlchemy stuff sounds like we can get rid of if we trace down the dependency.
(In reply to comment #5) > and when I try to register with twitter against a client force-pointed at this > new vip: How did you 'force-point' at this VIP? /etc/hosts entry for f1.mozillamessaging.com pointes at the VIP? That's not going to work, it'll break the OAuth dance, most likely. > Error - <type 'exceptions.ImportError'>: cannot import name get_provider > URL: http://f1.mozillamessaging.com/api/account/authorize That should also be https:// And I'd like to get that backtrace.
(In reply to comment #8) > (In reply to comment #5) > > and when I try to register with twitter against a client force-pointed at this > > new vip: > > How did you 'force-point' at this VIP? /etc/hosts entry for > f1.mozillamessaging.com pointes at the VIP? > > That's not going to work, it'll break the OAuth dance, most likely. Ah, yeah, I did the /etc/hosts hack. I didn't see an about:config entry to re-point f1... how do I configure what host the plugin uses? > > Error - <type 'exceptions.ImportError'>: cannot import name get_provider > > URL: http://f1.mozillamessaging.com/api/account/authorize > > That should also be https:// > > And I'd like to get that backtrace. It was https:// in my browser, this is just the message it printed out. I'll try rebuilding from the latest stuff and get you a backtrace.
Server-side share project is no longer active, closing as INCOMPLETE, reopen if circumstances change.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.