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

failed container "mfe" #49

Closed
lpm0073 opened this issue May 7, 2022 · 2 comments
Closed

failed container "mfe" #49

lpm0073 opened this issue May 7, 2022 · 2 comments

Comments

@lpm0073
Copy link

lpm0073 commented May 7, 2022

I'm trying to enable this plugin on an existing Maple installation. the ecommerce documentation mentions that MFE is a requirement.

I'm getting this error message in the log during deployment:
container "mfe" in pod "mfe-78cd7bd6d6-l4wqh" is waiting to start: trying and failing to pull image for openedx/mfe-78cd7bd6d6-l4wqh (mfe)

@lpm0073
Copy link
Author

lpm0073 commented May 10, 2022

I'm guess that my problem is due to this: #31

@lpm0073
Copy link
Author

lpm0073 commented May 10, 2022

Andrés González at Aulasneo helped me with this. The short story is that the README is misleading if you are using Kubernetes rather than running directly from Tutor on an Ubuntu instance. For the benefit of anyone with the same problem, following are the steps for installing this plugin to Kubernetes:

  1. ONE TIME ONLY - Create a public registry. I used AWS ECR. for purposes of this comment the uri to my registry is 765796256872.dkr.ecr.us-east-1.amazonaws.com/mfe

  2. ONE TIME ONLY - Build and register an image for tutor-mfe
    pip install git+https://github.com/overhangio/tutor-mfe.git
    tutor plugins enable mfe
    tutor config save --set MFE_DOCKER_IMAGE=765796256872.dkr.ecr.us-east-1.amazonaws.com/mfe:latest
    tutor images build mfe
    tutor images push mfe
    docker tag 765796256872.dkr.ecr.us-east-1.amazonaws.com/mfe:latest
    docker push 765796256872.dkr.ecr.us-east-1.amazonaws.com/mfe:latest

  3. EACH TIME YOU DEPLOY - install and enable the plugin
    pip install git+https://github.com/overhangio/tutor-mfe.git
    tutor plugins enable mfe
    tutor config save

@lpm0073 lpm0073 closed this as completed May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant