Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DEPR]: Phase out edx-configuration #51

Closed
Tracked by #612
feanil opened this issue Mar 9, 2022 · 24 comments
Closed
Tracked by #612

[DEPR]: Phase out edx-configuration #51

feanil opened this issue Mar 9, 2022 · 24 comments
Assignees
Labels
depr Proposal for deprecation & removal per OEP-21

Comments

@feanil
Copy link
Contributor

feanil commented Mar 9, 2022

Proposal Date

30 November 2020

Ticket Acceptance Date

October 13, 2023

Technology Removal Date

After Redwood Cut

First Open edX Named Release Without This Functionality

Sumac

Rationale

N/A

Removal

N/A

Replacement

Tutor

Deprecation

No response

Migration

No response

Additional Info

For now a placeholder, this will eventually describe in detail how edx-configuration will stop being supported by edX, including:

  • A date and/or Open edX release from which edx-configuration will no longer be supported
  • A suggested alternative (possibly Tutor, via BTR-43)
  • A suggested migration plan

Notes from Comments:

Kyle McCormick
February 11, 2022, 9:08 AM
Edited

I want to draw a distinction here:

  • In the broader Open edX community, openedx/configuration is already rapidly being phased out.

    • As of Maple, the Ansible Native installation support was officially dropped in favor of Tutor. Some community members still use Ansible Native but I believe most intend to migrate to Tutor.

    • Devstack images are built from openedx/configuration, but we are replacing Devstack with Tutor, and will be probably ready to drop official Devstack support as of Nutmeg or Oak. (I need to make a DEPR ticket for this :)

    • As far as I know, the other miscellaneous playbooks in openedx/configuration are not generally used by the community, although we should check that assumption (eg, does OpenCraft depend on them for OCIM?)

  • In my experience at edX/2U, though, they still use openedx/configuration heavily, especially in its older services.

    • They use it for:

      • build AMIs
      • deploying to prod/stage/sandbox
      • various automation needs
      • building devstack images
    • Their newer services use less/none of openedx/configuration.

    • There has been a push away from openedx/configuration, but migrating legacy services off of it will require non-trivial effort

Based on that:

  • I see openedx/configuration as already de facto deprecated in the Open edX community. We should clean up this ticket and use it to formally propose the deprecation and see if anyone has objections to the direction we’re already rapidly heading.

  • If that ^ DEPR goes though, edX/2U may still depend on the code for a while. So, the “Removal” step of this ticket could be transferring/forking the repostory back to the edx GitHub organization so that they can use it as long as they need to.

    • The work of removing edX/2U’s dependency on edx/configuration repo is probably best represented in their own tracking system instead of in a community DEPR ticket.

Jeremy Bowman
February 11, 2022, 8:33 AM

https://openedx.atlassian.net/wiki/spaces/AC/pages/2107441855/Braindump+on+Configuration+Today+and+Future is apparently the most detailed write-up we have so far regarding this. As noted in the original description, this ticket was less of “we plan to immediately prepare for this” and more “this is coming down the pipeline, if you have any objections or suggestions we’d like to hear them”. Progress on it so far has been gated on spare SRE bandwidth.

Original Jira Issue: https://openedx.atlassian.net/browse/DEPR-122

@feanil feanil added the depr Proposal for deprecation & removal per OEP-21 label Mar 9, 2022
@dianakhuang
Copy link

Big usages of configuration:

  • devstack
  • 2U/edX deployments of older services (edx-platform, discovery, etc)
  • 2U/edX sandboxes

Maybe we can start shaving some of these off the list.

@jmbowman
Copy link

I've created openedx-unsupported/devstack#943 as one step towards this and assigned it to the Arbi-BOM squad.

@dianakhuang
Copy link

At the very least, we have managed to find a solution for codejail on Tutor, which was one of the blockers of this work.

@robrap
Copy link

robrap commented Dec 1, 2022

How will New Relic configuration be handled in the future, like this file: https://github.com/openedx/configuration/blob/master/playbooks/roles/edxapp/templates/newrelic.ini.j2?

I ask because I want to add some settings around logging/tracing, and at this point I'm just planning on changing them here and having it used everywhere. I'm hoping 2U is the only org affected, because no one has complained about any other changes.

@jmbowman
Copy link

@robrap There are already several services that don't use the configuration repo, but instead have their production Docker images generated by in-repo Dockerfiles. So if there are any New Relic settings that need to be set via config file that we want active across services, we'll have to make sure the config gets into those images (and probably adjust the cookiecutter to make sure new services' Dockerfiles get that by default).

@robrap
Copy link

robrap commented Jan 11, 2023

Thanks @jmbowman. That's good to know. So far, I think we just have one server-side config related to browser. I imagine that only affects server-side templates, but I'm not certain.

@kdmccormick
Copy link
Member

Copying a relevant comment: #247

So, I know I had originally been a proponent of deprecating both configuration and devstack "into the edx org", under the understanding that if only 2U is using some parts of the project, then it's easier for both sides if we transfer those parts over to 2U. Since then, I've talked about this with my team at Axim, and come to understand that the situation is more nuanced than that.

The code in the openedx org is built from a mix of Axim-owned contributions and community-contributor-owned contributions (licensed to Axim under the CLA). We hold the code in this org for the good of all current & former Open edX contributors and users, and as the project's stewards we have a mandate to maintain ownership and ensure availability of all its repositories, even unsupported repositories.

Our procedure of archiving repos by transferring to the openedx-unsupported org lets us mark a repo as "unsupported" while still guaranteeing the repo's availability and keeping its ownership clear. So, if/when devstack and configuration are deprecated, we'll need to move them there.

TL;DR: If configuration is deprecated, it would eventually be moved to a public archive in openedx-unsupported.

jdmulloy pushed a commit to openedx-unsupported/configuration that referenced this issue Sep 14, 2023
Add a note to clarify that EDXAPP_PRIVATE_REQUIREMENTS
contains edx.org specific details, which is not ideal. The plan
is to ultimately retire this repo according to the DEPR:
openedx/public-engineering#51
@feanil feanil moved this from Communicated to Accepted in DEPR: Deprecation & Removal Jan 23, 2024
@kdmccormick
Copy link
Member

kdmccormick commented Jan 25, 2024

We'd like to know how folks are still using this. That would make it easier for us to decide whether to keep it maintained in the openedx organization vs. deprecate it and let individual providers fork & continue to use it independently.

@dianakhuang or @robrap , could you note here how you still use this repository? @feanil and I will reach out to other community providers with the same question.

@robrap
Copy link

robrap commented Jan 26, 2024

@kdmccormick: We're slowly gathering data in this ticket: edx/edx-arch-experiments#540. We can update the DEPR at some point. Thanks.

@dianakhuang
Copy link

2U is still using this repository for:

  • deploys of some public repos like edxapp/edx-platform, xqueue, xqwatcher, insights
  • deploys of prospectus
  • some tools like flower and coursegraph
  • Jenkins jobs that do things like sync and package logs, and probably also retire users
  • Sandboxes

@kdmccormick
Copy link
Member

@dianakhuang I understand that 2U no longer wants to maintain this repository for community use. Just like with Devstack, could you re-communicate this ticket, and announce a 2 week period for someone else to step up as maintainer? If we get a maintainer, then we'll keep this in the openedx org; if not, we'll archive it to openedx-unsupported. Either way, 2U is welcome to create a fork of this repo in their edx organization and make edx.org-specific changes there.

@dianakhuang
Copy link

@kdmccormick I think we would like a longer time on this before we are ready to archive it/fork it, but it was requested that we put a deprecation notice up and remove it from the Open edX releases (pre-Redwood) earlier rather than later. I am happy to remove notices/put things back into the release if that's what AXIM would like.

@kdmccormick
Copy link
Member

@dianakhuang Gotcha, sorry for the mixed messages, let me talk to my team and make sure we're on the same page :)

@kdmccormick
Copy link
Member

@dianakhuang Thanks for bearing with us. The process we'd like to follow, both for this and devstack, are:

  • 2U announces intent to stop maintaining on $ACCEPTANCE_DATE; other maintainers are welcome to step up; if they don't, repo will be deprecated.
  • does someone step up?
    • yes -> they become maintainer; repos stays in the openedx org; 2U forks it as needed.
    • no -> repository is archived to openedx-unsupported; 2U forks it as needed.

For $ACCEPTANCE_DATE, 2 weeks from now is fine since we've been tossing this around for so long, but you could push it out further to the future if you aren't ready to fork it yet.

@feanil feanil moved this from Accepted to Proposed in DEPR: Deprecation & Removal Mar 21, 2024
@feanil feanil moved this from Proposed to Accepted in DEPR: Deprecation & Removal Mar 21, 2024
@feanil
Copy link
Contributor Author

feanil commented Mar 21, 2024

We did this here: https://discuss.openedx.org/t/deprecation-edx-configuration/10702 and there was no resonse so we will proceed with archiving this repository.

The current plan for this is to archive this after redwood is cut to give users one last release with configuration.

feanil added a commit to openedx-unsupported/configuration that referenced this issue Mar 21, 2024
openedx/public-engineering#51 has all the details.

Also drop a bunch of trailing whitespace that was in this file.
@feanil
Copy link
Contributor Author

feanil commented Mar 21, 2024

I've created openedx-unsupported/configuration#7137 to further communicate the deprecation before the removal.

@robrap robrap added this to Arch-BOM Mar 21, 2024
@kdmccormick kdmccormick moved this from Accepted to Deprecated in DEPR: Deprecation & Removal Apr 2, 2024
@dianakhuang dianakhuang moved this from Deprecated to Blocked in DEPR: Deprecation & Removal Apr 4, 2024
@feanil
Copy link
Contributor Author

feanil commented Apr 4, 2024

This is blocked until after the Redwood Release. Once Redwood is released, this can be archived.

@feanil
Copy link
Contributor Author

feanil commented May 6, 2024

We ended up doing this early, if we need it tagged for Redwood, we can go back and add redwood branches and tags.

@feanil feanil closed this as completed May 6, 2024
@github-project-automation github-project-automation bot moved this from Blocked to Removed in DEPR: Deprecation & Removal May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
depr Proposal for deprecation & removal per OEP-21
Projects
Archived in project
Development

No branches or pull requests

6 participants