Closed Bug 617377 Opened 14 years ago Closed 13 years ago

Deploy Account Portal to Stage

Categories

(Cloud Services :: Server: Account Portal, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: telliott, Assigned: telliott)

References

Details

Putting together the build config, but this is the bug to track getting account manager deployed. Should have minimal requirements once server-core is installed on the machine.
Depends on: 615982
Depends on: 618474
I believe we are at the point where the code can be reviewed. Tarek, you want to take a shot at this? It even passes most of your flake8 tests (except the ones I hate ;) )
Depends on: 623676
Summary: Deploy Account Manager to Stage → Deploy Account Manager to Dev and then Stage
Summary: Deploy Account Manager to Dev and then Stage → Deploy Account Portal to Dev and then Stage
Summary: Deploy Account Portal to Dev and then Stage → Deploy Account Portal to Stage
Depends on: 624583
Depends on: 624586
ap1/2.mtv1.stage.svc.mozilla.com created and puppeted with basic framework, will nginx/gunicorn-ify next

claiming this bug for operations, code review requests should be filed separately
Assignee: nobody → rsoderberg
Status: NEW → ASSIGNED
this blocks security review which must begin within 24 hours to meet the Feb 3 (?) deadline
Severity: normal → blocker
deployment should be:

check out http://hg.mozilla.org/services/account-portal

make build
sudo make tests (note, one will fail because it can't talk to a sync node. That's being fixed.)
make build_rpm
sudo scp -r static /var/html/accountportal (still trying to figure out how to add this to deploy)
cd rpms
sudo yum install *
managed to get static working, so skip that step. 

tagged a release that appears to work with setupworks
Why do you need to sudo for make test ? That does not sound right.
(In reply to comment #6)
> Why do you need to sudo for make test ? That does not sound right.

the dev config writes to /var/log/ directly which requires root, i'll be taking a different path in staging/prod
(In reply to comment #7)
> (In reply to comment #6)
> > Why do you need to sudo for make test ? That does not sound right.
> 
> the dev config writes to /var/log/ directly which requires root, i'll be taking
> a different path in staging/prod

This should not be the case. The *test* config should write either in /tmp/ either within the build. "make test" need to work on any system without any extended rights.
It doesn't need sudo. The whole thing works without it. 

I just typed sudo at one point and after that had to keep going.
Staging deployment on hold pending code completion (user/admin split being written).  Asked security to begin review of the general architecture to try and get dev and sec working in parallel so we can hit the Monday review target.
Depends on: 627481
Depends on: 627556
Puppet recipe completed, working on configs and real live testing next.

sysadmin svn r11206 = 8d55cf1ee78e1ecb0bfa68c24c9b774e64a95d45 (refs/remotes/git-svn)
Depends on: 628842
Puppet recipes complete, account portal deployed to staging, configuration is more or less correct barring the occasional bugfix from Toby.  All remaining blockers appear to be Eng (I can't see 623678, so presuming Eng there too) so I'm handing this bug over to Toby.
Assignee: rsoderberg → telliott
Severity: blocker → normal
Status: ASSIGNED → NEW
Component: Operations → Server: Account Portal
QA Contact: operations → account-portal
accountportal rpm-0.1-5 and services rpm-0.2-5 are ready for deployment to stage, and can probably go into "production" (those are the tags, yes)

Note that there's a dependency on the recaptcha-client python library, and I haven't figured out how to add that to the build yet
rpm for accountportal is now rpm-0.1-6
now accountportal rpm-0.1-7 and server-core rpm-0.2-6
see bug 631719 for the recaptcha dep
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.