LFS258 - Lab 3.1 Step 18 - "could not bootstrap the admin user in file admin.conf"
Hello everyone,
I'm following the instructions for lab 3.1 - Install Kubernetes, running the instruction commands one by one on the Hosted Environment. I am facing an error on Step 18, when running this command:
kubeadm init \
--config=kubeadm-config.yaml \
--upload-certs \
--node-name=cp \
| tee kubeadm-init.out
The error message is:
I tried running this command to see more information:
kubeadm init \
--config=/root/kubeadm-config.yaml \
--upload-certs \
--node-name=cp \
--v=5
And saw:
Any insights would be much appreciated. Thank you so much!
Answers
-
Hi @geckogecko
What course are you enrolled in? This post seems to be in the wrong forum.
Regards,
Flavia0 -
Hello @fcioanca ,
Thank you for checking the post. I am taking LFS258. My apologies for posting in the wrong place, I tried to select the correct category but it said LFS258 was "Archived".
0 -
Hi @geckogecko
We have reorganized forums a couple of days ago, and each course has been updated with the new forum link and best practices on how to use the forums. To avoid duplication, old forums have been archived.
Regards,
Flavia0 -
Hi @geckogecko,
The second round of errors you posted are expected. The
kubeadm initcommand is meant to be executed only once. Any subsequent runs (even for the purpose of troubleshooting with the--voption) will result in conflict errors.If
kubeadm initorjoinneeds to be executed a second time (assuming corrections were made to the environment, its config file, or its options/flags) then akubeadm resetshould be executed first, to cleanup the environment.The first error could be related to misconfigured kubeadm manifest, or incorrect IP addresses populated in the
hostsfile.When attempting the exercise again, pay close attention to step descriptions, to ensure proper values are used to configure your node environment. Document your configuration files as you make progress, so if the issues persist, you can provide them to help us identify the root cause of the first error.
Regards,
-Chris0 -
Thank you for the clarification @fcioanca . I may be missing something, but the forum link in the lab exercise still appears to point to the archived LFS258 forum. Is there an updated link I could access?
0 -
Hi @geckogecko
We have updated the forum details on each Launch Lab page. They have also been updated in the course introduction, with additional details and best practices. The new forum is the Cloud & Containers Training discussion forum.
Best,
Flavia0 -
Hello @fcioanca , thank you for the information.
And thank you @chrispokorni for your response, just turned out to be a typo on my end -- silly mistake.
0
Categories
- All Categories
- 177 LFX Mentorship
- 177 LFX Mentorship: Linux Kernel
- 765 Linux Foundation IT Professional Programs
- 377 Cloud Engineer IT Professional Program
- 174 Advanced Cloud Engineer IT Professional Program
- 75 DevOps IT Professional Program - Discontinued
- 7 DevOps & GitOps IT Professional Program
- 101 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- 3 AI & ML Training
- 1 Blockchain & Decentralized Identity Training
- 10 Cloud & Containers Training
- 1 Cybersecurity Training
- 2 DevOps & Site-Reliability Training
- 1 Linux Kernel Development Training
- 1 Networking Training
- 2 Open Source Best Practice Training
- 2 System Administration Training
- 1 System Engineering Training
- 1 Web & Application Development Training
- 796 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 91 Storage
- 770 Linux Distributions
- 81 Debian
- 68 Fedora
- 23 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 113 Mobile Computing
- 20 Android
- 78 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 395 Off Topic
- 121 Introductions
- 30 Study Material
- 988 Programming and Development
- 310 Kernel Development
- 660 Software Development
- 1K Software
- 393 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 318 Installation
- Archived
- 183 Small Talk
- 2 LFD140 Class Forum
- 1.4K LFS258 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)
