It will help if you post a link to the lab.
This is another lab awaiting upgrade due to end of life of CentOS 7.
On any lab that doesn’t appear to be working properly, run the following
cat /etc/os-release
If the output of this command indicates that it is CentOS 7, then it is awaiting upgrade. Can’t say when it will be complete because there are many to do.
Okay Sir, so what is going to be done about it…We need to be able to practice what we just learned
It will be upgraded in due course.
Red Hat pulled the plug on this linux version very suddenly and caught everybody by surprise. There may be 50 or 60 labs across all the courses that need doing, and there is only a finite number of people to do it (I don’t know how many - the 3 of us who answer on this forum are not full time employees).
Some of the other labs in the course may work, but any that rely on yum install
either by the setting things up scripts, or by students will not work until the engineering team gets to them and upgrades. Red Hat deleted all yum repos for CentOS 7 and that is why it is broken. Labs are being upgraded to CentOS 9.
If you become a devops engineer, you will find that this sort of upgrade is nothing at all like pressing Upgrade Now on your mac or windows laptop and wait 5 minutes. Code changes must be made, multiple tests must be run to prove the changes work and only then can it be released.
Good day @atoyebikehinde20
The lab upgrades in this course should now be complete. Please pick up again. There still remains many labs to do in other courses. Lots of people are waiting!
thor@app01 ~$ cat /etc/os-release
NAME="CentOS Stream"
VERSION="9"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="9"
PLATFORM_ID="platform:el9"
PRETTY_NAME="CentOS Stream 9"
ANSI_COLOR="0;31"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:centos:centos:9"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://issues.redhat.com/"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 9"
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"
thor@app01 ~$ ls -l /opt/simple-webapp-flask/
total 20
-rw-r--r-- 1 root root 190 Jul 10 13:08 Dockerfile
-rw-r--r-- 1 root root 1075 Jul 10 13:08 LICENSE
-rw-r--r-- 1 root root 1136 Jul 10 13:08 README.md
-rw-r--r-- 1 root root 254 Jul 10 13:08 app.py
-rw-r--r-- 1 root root 6 Jul 10 13:08 requirements.txt
Okay Thank you sir