Bug in labs-setup-e-commerce-app-distributed

Hi there are many bugs in labs-setup-e-commerce-app-distributed lab
2, 3 third task - failed without reason.
4 - I stuck there because I can’t install httpd:
thor@web ~$ sudo yum install -y httpdFailed loading plugin “subscription-manager”: cannot import name ‘which’
Failed loading plugin “upload-profile”: cannot import name ‘which’
Failed loading plugin “product-id”: cannot import name ‘which’
CentOS Stream 8 - AppStream 121 B/s | 38 B 00:00
Error: Failed to download metadata for repo ‘appstream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist

To be clear all of these at first attempt I did by myself, then I followed hints but it was still failing.
I stopped lab and started again but this time I followed hints from start, but problems are still the same. I stuck at task 4 because I can’t install httpd and I don’t know how to fix it.

Would be great if you would fix it.

I also want to mention that you want to use root from thor, but you never mentioned about password to user.

Would be great if you could fix it
Thanks

Do you have a link to the lab please? IIRC the first task is to fix access to the internet.

sure

It’s part of:

DevOps Pre-Requisite Course

First task is to install MariaDB

1 Like

You are right, there are some errors in the lab. I will raise this with the team to get it corrected.

A similar dust problem with the all-in-one-server lab:

thor@all-in-one-server ~$ sudo yum install -y mariadb-server
Failed loading plugin “subscription-manager”: cannot import name ‘which’
Failed loading plugin “upload-profile”: cannot import name ‘which’
Failed loading plugin “product-id”: cannot import name ‘which’
CentOS Stream 8 - AppStream 178 B/s | 38 B 00:00
Error: Failed to download metadata for repo ‘appstream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist

Thanks for the fix!

As for the person before: could you please include a link to the lab? I’m guessing this may not even be for the same course as the previous poster.

Hello,
This course: DevOps Pre-Requisite Course

Labs - Setup E-Commerce App - All-in-One

https://learn.kodekloud.com/user/courses/devops-pre-requisite-course/module/2608518c-d8a5-4ee7-8089-e53c93b30abc/lesson/11138573-95c5-456d-83ea-3877277c801a

I tried again, same error message:
thor@all-in-one-server ~$ sudo yum install -y mariadb-server
Failed loading plugin “subscription-manager”: cannot import name ‘which’
Failed loading plugin “upload-profile”: cannot import name ‘which’
Failed loading plugin “product-id”: cannot import name ‘which’
CentOS Stream 8 - AppStream 181 B/s | 38 B 00:00
Error: Failed to download metadata for repo ‘appstream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist
thor@all-in-one-server ~$

I see this as well. I believe this is the reason: CentOS 8 Stream went End of Life last week. I’ll report this urgently to the lab team.

1 Like