Fix "make e2e-tests" on devstack

Description

It seems that the switch to having Studio redirect to LMS for login has broken the e2e tests on devstack. That method only works correctly if Studio can access the LMS cookies, but that doesn't work with domains of "edx.devstack.lms" and "edx.devstack.studio", which is what currently has to be used to access those services from another docker container. Find a workaround which allows us to keep running the e2e tests easily in devstack; we might want to change the container names.

Steps to Reproduce

None

Current Behavior

None

Expected Behavior

None

Reason for Variance

None

Release Notes

None

User Impact Summary

None

Activity

Show:
Farhanah Sheets
November 13, 2019, 7:07 PM

Linking a WIP PR here for additional context https://github.com/edx/devstack/pull/409

Robert Raposa
November 13, 2019, 7:01 PM

FYI:

Jeremy Bowman
April 4, 2019, 1:59 PM

One option for a reverse proxy: https://traefik.io/ . A nice-to-have if we go the reverse proxy route would be to have the option of hitting URLs in devstack like "open.edx" and "studio.open.edx" from containers and the host system instead of remembering "localhost:18000", "edx.devstack.studio:18010", etc.

Stuart Young
April 3, 2019, 2:09 PM

It looks like the two options here are to either reorder the naming of the containers or set up a proxy to alias the names of the containers, because we require a cookie w/ a shared domain name in order to be able to log into studio from the lms

Assignee

Unassigned

Reporter

Jeremy Bowman

Labels

None

Reach

None

Impact

None

Platform Area

None

Customer

None

Partner Manager

None

URL

None

Contributor Name

None

Groups with Read-Only Access

None

Actual Points

None

Category of Work

None

Platform Map Area (Levels 1 & 2)

None

Platform Map Area (Levels 3 & 4)

None

Story Points

2

Priority

Unset