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)
Cloud Services
Operations: Deployment Requests - DEPRECATED
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: gozer, Assigned: petef)
References
Details
(Keywords: meta)
No description provided.
Assignee | ||
Updated•14 years ago
|
Assignee: nobody → petef
Assignee | ||
Updated•14 years ago
|
Assignee: petef → nobody
Component: Server: Share → Operations: Deployment Requests
QA Contact: share-server → operations-deploy-requests
Assignee | ||
Comment 1•14 years ago
|
||
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
Assignee | ||
Comment 2•14 years ago
|
||
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
Assignee | ||
Comment 3•14 years ago
|
||
re: the csrf thing, maybe I need newer RPMs with this commit?
https://github.com/mozilla/f1/commit/3cc6da6c286eadd10b9c2c49abe31cf004734274
Assignee | ||
Comment 4•14 years ago
|
||
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).
Assignee | ||
Comment 5•14 years ago
|
||
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)
Reporter | ||
Comment 6•14 years ago
|
||
(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.
Assignee | ||
Comment 7•14 years ago
|
||
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.
Reporter | ||
Comment 8•14 years ago
|
||
(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.
Assignee | ||
Comment 9•14 years ago
|
||
(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.
![]() |
||
Comment 10•14 years ago
|
||
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.
Description
•