Unsolved
10 Posts
0
1574
October 9th, 2020 03:00
ECS CE 3.5: step1 command fails at "Distribute rsa ssh key" task
Hi All,
I am trying to install ECS CE 3.5 on CentOS 7.8 with a user that has admin role on this machine.
Launching step1 command, the execution fails at the task "Distribute rsa ssh key" (below you can see the log) because the script is not unable to find '/opt/ssh/id_rsa.pub' , it doesn't exist actually.
Why do I encounter this error? Does any operation/configuration miss before running step1?
Thank you in advance,
SG
admin@DEV-ECS02-V35 bin]$ step1
PLAY [Common | Ping data nodes before doing anything else] *****************************************************************************************************************************
TASK [ping] ****************************************************************************************************************************************************************************
ok: [172.16.0.12]
PLAY [Installer | Gather facts and slice into OS groups] *******************************************************************************************************************************
TASK [group_by] ************************************************************************************************************************************************************************
ok: [172.16.0.12]
PLAY [CentOS 7 | Configure access] *****************************************************************************************************************************************************
TASK [CentOS_7_configure_ssh : CentOS 7 | Distribute ed25519 ssh key] ******************************************************************************************************************
TASK [CentOS_7_configure_ssh : CentOS 7 | Distribute rsa ssh key] **********************************************************************************************************************
[WARNING]: Unable to find '/opt/ssh/id_rsa.pub' in expected paths.
fatal: [172.16.0.12]: FAILED! => {"failed": true, "msg": "An unhandled exception occurred while running the lookup plugin 'file'. Error was a , original message: could not locate file in lookup: /opt/ssh/id_rsa.pub"}
PLAY RECAP *****************************************************************************************************************************************************************************
172.16.0.12 : ok=2 changed=0 unreachable=0 failed=1
Playbook run took 0 days, 0 hours, 0 minutes, 0 seconds
Operation failed.
0 events found


SG81
10 Posts
0
October 9th, 2020 06:00
Adding further information about this use case, ECS CE 3.5 deployment is easier: Single-Node installation on the same local VM (IP address is 172.16.0.12 as well as it is indicated in logs).
Looking forward to your kind reply
SG
DELL-Sam L
Moderator
•
7.9K Posts
•
87 Points
0
October 9th, 2020 16:00
Hello SG81,
Which ECS system do you have?
tommy333
74 Posts
0
October 10th, 2020 02:00
Including additional data about this utilization case, ECS CE 3.5 sending is simpler: Single-Node establishment on a similar neighborhood VM
SG81
10 Posts
0
October 12th, 2020 02:00
The VM dedicated for ECS CE is unique, the same where we perform the installation and it can access to Internet. We desire to have the easier installation: are single-node or all-in-one installation the same? How do we choose this option when we run step1 command?
SG81
10 Posts
0
October 12th, 2020 02:00
ECS CE 3.5 is used as testing environment only, deployed in single-node installation mode on a unique VM where we launch step1 command. Our aim is to upgrade to 3.5 version in production (current version is 3.2.x.x., two VDC with 8 nodes each one) but we have to run no regression tests on Community Edition in order to verify API compatibility for developed software.
The environment for ECS CE 3.5 is the following:
- CentOS 7.8 with 4CPU, 16GB di RAM, 50GB (for s.o.)+200GB (unpartitioned unit, sdb)
- Internet connection
- admin user with sudoer permissions to run all commands
- We desire to have the easier installation, single-node or all-in-one installation.
- The path /opt/ssh/ where we encounter the error is missing. Should we create it?
Below, it is indicated the content of deploy.yml
Thank you for support
SG
SG81
10 Posts
0
October 15th, 2020 02:00
I fixed it. Before I runned bootstrap.sh in this way: ./bootstrap.sh –g -c deploy.yml and that error occurred.
Instead, the bootstrap command to use is:
./bootstrap.sh –vm-tools -c deploy.yml
so, after that, step1 has been completed with success.
SG