Page MenuHomePhabricator

Request creation of capacity-exchange VPS project
Closed, ResolvedPublic

Description

Project Name: capacity-exchange

Wikitech Usernames of requestors: awight

Purpose: Pilot site for the Capacity Exchange, a movement strategy initiative.

Brief description: The Capacity Exchange is explained on its project page. Will run two java/scala apps, node, postgresql, rails. A very rough and high estimate is that several thousand users will visit occasionally, perhaps monthly. Something like cores4.ram8.disk20 should be more than enough.

How soon you are hoping this can be fulfilled: this month.

Event Timeline

aborrero subscribed.

Did you consider Toolforge instead of Cloud VPS ? For web services we usually recommend looking at Toolforge first, and if not well suited, explain why.

I'm open to using either, but this page makes me think that Cloud VPS is the right hosting, because this application has many interrelated parts which need to run as services. For reference, this is the docker-compose config that I'm building for local development. One particularly troublesome detail is that the app uses an apache config file to route requests to its various backends, and requires an unusual mod_auth_openidc.so to be loaded into apache.

If these don't sound like major obstacles, I could try to set the app up on toolforge and report back with my experiences.

Ok, thanks for the clarifications. Will talk to the team to get this approved.

Project created!

taavi@cloudcontrol1003 ~ $ sudo wmcs-openstack project create --enable --description "Pilot site for the Capacity Exchange, a movement strategy initiative. Created in https://phabricator.wikimedia.org/T296556" capacity-exchange
+-------------+----------------------------------------------------------------------------------------------------------------------------+
| Field       | Value                                                                                                                      |
+-------------+----------------------------------------------------------------------------------------------------------------------------+
| description | Pilot site for the Capacity Exchange, a movement strategy initiative. Created in https://phabricator.wikimedia.org/T296556 |
| domain_id   | default                                                                                                                    |
| enabled     | True                                                                                                                       |
| id          | capacity-exchange                                                                                                          |
| is_domain   | False                                                                                                                      |
| name        | capacity-exchange                                                                                                          |
| options     | {}                                                                                                                         |
| parent_id   | default                                                                                                                    |
| tags        | []                                                                                                                         |
+-------------+----------------------------------------------------------------------------------------------------------------------------+

taavi@cloudcontrol1003 ~ $ sudo wmcs-openstack role add --project capacity-exchange --user awight user
taavi@cloudcontrol1003 ~ $ sudo wmcs-openstack role add --project capacity-exchange --user awight projectadmin
taavi@cloudcontrol1003 ~ $ sudo wmcs-openstack role assignment list --names --project capacity-exchange
+--------------+----------------+-------+---------------------------+--------+--------+-----------+
| Role         | User           | Group | Project                   | Domain | System | Inherited |
+--------------+----------------+-------+---------------------------+--------+--------+-----------+
| projectadmin | Awight@Default |       | capacity-exchange@Default |        |        | False     |
| user         | Awight@Default |       | capacity-exchange@Default |        |        | False     |
+--------------+----------------+-------+---------------------------+--------+--------+-----------+

Closing this task for now, feel free to re-open if you're having issues with the new project.

Mentioned in SAL (#wikimedia-cloud) [2021-12-01T13:32:55Z] <majavah> created new project, requested in T296556

I've been able to use the instances, thanks for getting this ready for us!