LAB11.1 Step 9 "ssh-copy-id ceph@storage1"
I have followed all previous steps meticulously numerous times but after run command "ssh-copy-id ceph@storage1" It prompts me for a password. Thoughts?
[ceph@rdo-cc ~]$
[ceph@rdo-cc ~]$ ssh-copy-id ceph@storage1
/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
ceph@storage1's password:
Comments
-
Yes, this command is to copy the ssh key to the node. You will need to pass the newly set password for the ceph user. This is why the previous step had you edit the sshd_config file on all four nodes and restart sshd. Until the public key is copied to the target nodes you won't be able to ssh, and the ceph-deploy script will fail.0
-
I am stuck at the same issue regarding the password credentials for the storage nodes. Does anyone know the password or a way around this issue?
0 -
Hello,
In a previous step you created a new user on each of the four nodes called ceph. Then you set a password for the ceph user on every node. In this step you are using the ssh-copy-id command to copy the public key to the same four nodes as the ceph user (ceph@....). Use the password you set for the ceph user. If you followed the lab it would be ceph.
0 -
serewicz,
When starting the Lab at 11.1 all configurations that is needed for this particular lab should be preconfigured correct? Or do I have to start at a previous lab and work my way back up to this lab to authenticate to the ceph storage nodes?
0 -
serewicz,
Thanks for your assistance. nothing that I have tried has worked. here is a step by step of the process. please tell me what I am not doing correct. I have did each step as the manual suggests.please see below
<output omitted>
0 -
serewicz,
Please see below print screens. I have followed each step as the manual suggests.
<output omitted>
0 -
Jimmy,
The labs are complete up to this point. You need not do the previous steps. You should be able to begin the lab without prior configuration.
0 -
Jimmy,
The print screens are not necessary in this case. You'll note that the terminal output is asking you for the password. As you are trying to copy the public key as the ceph user you should pass the password you set for the ceph user. Please reference the previous postings on the forum and the online errata file, https://training.linuxfoundation.org/cm/LFS252/LFS252Errata.pdf You will find you should be typing in the password of the ceph user, you set in a previous command, in order to cause the public key to be copied to the target machine.
0 -
serewicz,
The password that was used is ceph as listed in the instructions
<output_omitted>
0 -
The password is what you set in the previous step. Indeed. That is what you will need to type in when prompted for the password. If you type the password you set for the user, on ALL FOUR NODES, you will be able to copy the public key over.
If you have not configured the ceph user and configured sshd to allow remote access you won't be able to copy the keys. Please ensure all four systems have the ceph user and are configured to allow password ssh access, as per the previous lab instructions.
Regards,
0 -
Hi everyone.
I have been trying to run the the commande to cpy the public key to the storage nodes as per the instruction. And followed the instruction to the letter up to this point of the instruction in Lab 11.1. Which means that i have not set any password for the ceph user on the nodes, i left it empty and pressed "ENTER".
I have tried to use the same password when i reached the step "ssh-copy-id ceph@storage1" BUT it did not work, i have used "ceph" as the password and also did not work, so i am stuck at this step as all steps in the labs build on each other.
It has been a challenge to understand the labs. the luck of explanation of the command we are supposed to execute, is a major setback in this course, i think each step should be explained and put into context, ie why the steps is necessary, which services are affected and why, is there any other way to complete the tasks etc..
I am saying this because i have already completed course 152 on edx and i know how complex openstack ecosystem is, and reducing this complexity into very basic steps without elaboration and puting every steps into its proper context is in my opinion a setback for this course.
The other setback is the instability of the lms in generate and the lab environment in particulare. I have taken a number of course on edx.or and i think runing the course on that plateform will emprove the stability of the course enormously. The lab environment can easely be integrated into the course on edx by usin LTI. and the forums can be created as part of the sections of the course itself.
I am not sure why this course is not on edx.org BUT i am certain it can be ported easely, as LFS152 is runing on edx.
I do hope that this feedback can be of some use to the designers of the course.
0 -
Mr. Serewicz,
Can you provide the root password to the storage nodes? these nodes were not configured by me prior to this lab. They are already provided. If I cannot authenticate via the steps provided it would be great to be able to access the ceph nodes so that I can finish my lab. This is a very important lab for me, especially after recieving a better understanding via your webcast today.
0 -
Mr. Serewicz,
Is it possible to receive the root password for the storage nodes. These nodes were not configured by me in any lab previous to Lab 11. And using the methods given in the LFS252 manual are not alloing me authenticate using ceph. This is an important lab for me and I would like to complete it, especially after your webcast today that gave me more insight on ceph. Thanks
0 -
If you followed the instructions you did set the password. You used the echo command with a pipe to send that password to the passwd command.
I encourage you to revisit the labs and perhaps investigate each command to see what it is doing on your behalf. If you configured the ceph user on all four nodes, and changed sshd to allow ssh without a password the labs work. I have recently re-run the labs again. Using the same system. They work.
Thank you for the feedback.
0 -
If you reference step one of the lab you run a sudo -i command. As the prompt indicates the user changes to become root. No password necessary.
You can connect to the other nodes, which are configured for your use by using the ssh command to connect. As the root user, who has an already configured public key, you can ssh to each node. Something like this: ssh storage1
Remember to use the exit command to return to the rdo-cc node before connecting to the next storage node.
Taking a look at the ssh man page or experimentting with it, as well as ssh-copy-id may be a good idea. They are important commands to know as you work with Linux and the cloud. The cloud can be rather complex and Linux command line understanding is important.
0 -
I am able to access the storage nodes now by bypassing step 9. I will manually create the ceph user and continue.Great Webcast today, or evening my time!!
0 -
Glad its working and the webcast was good for you. As for creating the users on each node, you may want to take a look at step 6. You will still need to do step 9 or the ceph-deploy script won't work:
6. Repeat steps 2 through 5 on each of the ceph storage nodes.
0 -
Hi serewicz.
I am a bit confused here. Do we need to execute "[ceph@rdo-cc ~]$ ssh-copy-id ceph@storage1" as the ceph user or the root user.
Any help will be very much appreciated
0 -
Hi serewicz, thanks for all the help you are providing in this forum. i need help with the command step 5 lab11.1
...
[ceph@rdo-cc ~]$ sudo \
> sed -i ’s/PasswordAuthentication\ no/PasswordAuthentication\ yes/’ /etc/ssh/sshd_config
sed: -e expression #1, char 1: unknown command: `â'
[ceph@rdo-cc ~]$ "this is the output when i execute the command. i have repeated the command many times after restarting the lab environemt and got the same result.
appreciate your help
0 -
Hello,
As you may remember from the chapter, and if you were to research the ceph-deploy script, you will find remember the script needs to run as a non-root user. This is why we added the ceph user on each node. Also, if you note the prompt it indicates you are to be the ceph user to run the command.
Regards,
0 -
Hello,
As you may know, characters each have specific meaning when you type them on the command line. There is a difference between a single quote ( ' ) and a back-tick ( ` ). I would guess that you are copy-pasting and whatever program you are using is converting the single quote from the pdf into a back tick. There are two single-quotes on the line. Be sure that they are not being pasted as back-ticks.
0
Categories
- All Categories
- 217 LFX Mentorship
- 217 LFX Mentorship: Linux Kernel
- 788 Linux Foundation IT Professional Programs
- 352 Cloud Engineer IT Professional Program
- 177 Advanced Cloud Engineer IT Professional Program
- 82 DevOps Engineer IT Professional Program
- 146 Cloud Native Developer IT Professional Program
- 137 Express Training Courses
- 137 Express Courses - Discussion Forum
- 6.1K Training Courses
- 46 LFC110 Class Forum - Discontinued
- 70 LFC131 Class Forum
- 42 LFD102 Class Forum
- 226 LFD103 Class Forum
- 18 LFD110 Class Forum
- 36 LFD121 Class Forum
- 18 LFD133 Class Forum
- 7 LFD134 Class Forum
- 18 LFD137 Class Forum
- 71 LFD201 Class Forum
- 4 LFD210 Class Forum
- 5 LFD210-CN Class Forum
- 2 LFD213 Class Forum - Discontinued
- 128 LFD232 Class Forum - Discontinued
- 2 LFD233 Class Forum
- 4 LFD237 Class Forum
- 24 LFD254 Class Forum
- 693 LFD259 Class Forum
- 111 LFD272 Class Forum
- 4 LFD272-JP クラス フォーラム
- 12 LFD273 Class Forum
- 144 LFS101 Class Forum
- 1 LFS111 Class Forum
- 3 LFS112 Class Forum
- 2 LFS116 Class Forum
- 4 LFS118 Class Forum
- 4 LFS142 Class Forum
- 5 LFS144 Class Forum
- 4 LFS145 Class Forum
- 2 LFS146 Class Forum
- 3 LFS147 Class Forum
- 1 LFS148 Class Forum
- 15 LFS151 Class Forum
- 2 LFS157 Class Forum
- 25 LFS158 Class Forum
- 7 LFS162 Class Forum
- 2 LFS166 Class Forum
- 4 LFS167 Class Forum
- 3 LFS170 Class Forum
- 2 LFS171 Class Forum
- 3 LFS178 Class Forum
- 3 LFS180 Class Forum
- 2 LFS182 Class Forum
- 5 LFS183 Class Forum
- 31 LFS200 Class Forum
- 737 LFS201 Class Forum - Discontinued
- 3 LFS201-JP クラス フォーラム
- 18 LFS203 Class Forum
- 130 LFS207 Class Forum
- 2 LFS207-DE-Klassenforum
- 1 LFS207-JP クラス フォーラム
- 302 LFS211 Class Forum
- 56 LFS216 Class Forum
- 52 LFS241 Class Forum
- 48 LFS242 Class Forum
- 38 LFS243 Class Forum
- 15 LFS244 Class Forum
- 2 LFS245 Class Forum
- LFS246 Class Forum
- 48 LFS250 Class Forum
- 2 LFS250-JP クラス フォーラム
- 1 LFS251 Class Forum
- 150 LFS253 Class Forum
- 1 LFS254 Class Forum
- 1 LFS255 Class Forum
- 7 LFS256 Class Forum
- 1 LFS257 Class Forum
- 1.2K LFS258 Class Forum
- 10 LFS258-JP クラス フォーラム
- 118 LFS260 Class Forum
- 159 LFS261 Class Forum
- 42 LFS262 Class Forum
- 82 LFS263 Class Forum - Discontinued
- 15 LFS264 Class Forum - Discontinued
- 11 LFS266 Class Forum - Discontinued
- 24 LFS267 Class Forum
- 22 LFS268 Class Forum
- 30 LFS269 Class Forum
- LFS270 Class Forum
- 202 LFS272 Class Forum
- 2 LFS272-JP クラス フォーラム
- 1 LFS274 Class Forum
- 4 LFS281 Class Forum
- 9 LFW111 Class Forum
- 259 LFW211 Class Forum
- 181 LFW212 Class Forum
- 13 SKF100 Class Forum
- 1 SKF200 Class Forum
- 1 SKF201 Class Forum
- 795 Hardware
- 199 Drivers
- 68 I/O Devices
- 37 Monitors
- 102 Multimedia
- 174 Networking
- 91 Printers & Scanners
- 85 Storage
- 758 Linux Distributions
- 82 Debian
- 67 Fedora
- 17 Linux Mint
- 13 Mageia
- 23 openSUSE
- 148 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 353 Ubuntu
- 468 Linux System Administration
- 39 Cloud Computing
- 71 Command Line/Scripting
- Github systems admin projects
- 93 Linux Security
- 78 Network Management
- 102 System Management
- 47 Web Management
- 63 Mobile Computing
- 18 Android
- 33 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 370 Off Topic
- 114 Introductions
- 173 Small Talk
- 22 Study Material
- 805 Programming and Development
- 303 Kernel Development
- 484 Software Development
- 1.8K Software
- 261 Applications
- 183 Command Line
- 3 Compiling/Installing
- 987 Games
- 317 Installation
- 96 All In Program
- 96 All In 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)