Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 549293

Summary: Move babel vserver to the Eclipse Foundations cloud provider
Product: [Technology] Babel Reporter: Eclipse Webmaster <webmaster>
Component: ServerAssignee: Babel server inbox <babel.server-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: denis.roy, kitlo
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=463293
Whiteboard:
Bug Depends on:    
Bug Blocks: 549119    

Description Eclipse Webmaster CLA 2019-07-15 16:06:21 EDT
We're working on moving project vservers to our cloud provider and that includes Babel.

I need to know how big a server is required, and what ports aside from 22 and 443 need to be opened.  If the maintainer can send me their public ssh key I'll get that installed.  We use Azure, so OS choices are limited by what they provide.

After that the team can configure the server as they see fit and once happy can notify Webmaster and we'll update any DNS records as required.

If the current server is relying on internal services it will need to be updated since those will no longer be available.

-M.
Comment 1 Denis Roy CLA 2019-07-15 16:39:45 EDT
Kit, this is a major change for Babel. We've been relying on the same old virtual server for a very, very long time. The old server is what is causing bug 548890, and moving to a new vserver will inherently fix this.

One of the biggest issues we'll face with the migration is user authentication. The server code has not been worked on in a long time, and the effort to adapt it to something like oAuth is unkown. See bug 463293

We could ask the community to step up here.  Kit, what are your thoughts?
Comment 2 Kit Lo CLA 2019-07-15 21:51:29 EDT
Denis, I don't have much experience with user authentication. How do other Eclipse vservers do it? We really need the community's help.

To answer Matt's questions, I believe we just need ports 22 and 443 to be opened. Denis, can you think of anything else?
Comment 3 Denis Roy CLA 2019-07-18 11:25:44 EDT
> Denis, I don't have much experience with user authentication. How do other
> Eclipse vservers do it? We really need the community's help.

Other vservers either have their own authentication mechanism, or use OAuth:

https://api.eclipse.org/docs/auth


I do believe Antoine made the Bugzilla authentication an add-on back in 2008, and there is a mechanism for local logins.  I'd have to check. Between a local login and OAuth, I'm not sure which is less effort. 

 
> To answer Matt's questions, I believe we just need ports 22 and 443 to be
> opened. Denis, can you think of anything else?

Port 80, for a redirect.
Comment 4 Kit Lo CLA 2019-09-11 13:07:29 EDT
Denis, what's the plan for this move? Now that my shell access is restricted, I cannot perform any maintenance on the babel vserver. I cannot deploy any new changes to the server. I cannot restart the Apache web server if needed. I cannot apply any changes to the SQL database (sometimes needed to prepare for a new releases). I also cannot run syncup nor process project source locations on demand.
Comment 5 Denis Roy CLA 2019-09-11 13:17:06 EDT
Perhaps we can get that OpenID patch in so that the server part still works. In the meanwhile, we can ask for provisioning the new VM at Azure. The babel db is 10G, so the default 30G VM should suffice.

We'll need port 22, 80 (for a redirect) and 443.

We'll also need to use letsencrypt for the SSL certificate.
Comment 6 Denis Roy CLA 2019-09-11 13:36:49 EDT
Kit, can you send your SSH public key to webmaster@eclipse.org to set up the VM ?
Comment 7 Denis Roy CLA 2019-09-25 21:37:32 EDT
Babel has been moved to Azure.

I've shut off Apache on the existing vserver. Can we keep it online for a few days while I migrate cron jobs?

Also, Matt, how long do you plan on keeping the old image file?
Comment 8 Eclipse Webmaster CLA 2019-09-26 08:46:32 EDT
(In reply to Denis Roy from comment #7)

> Also, Matt, how long do you plan on keeping the old image file?

Usually for around 4-6 months, but if you're certain it won't be needed I'm happy to just delete it so nobody has to remember to clean up later.

-M.
Comment 9 Denis Roy CLA 2019-09-27 14:19:20 EDT
I've shut down the old vserver and marked the image file for deletion in a few months.