This repository was archived by the owner on Feb 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 41
setup provisioner
Yashodhan Pise edited this page May 15, 2021
·
7 revisions
Problem:
setup-provisioner script fails with Permission denied error
Description:
Installing cortx-prvsnr-cli rpm multiple times corrupts the ssh configuration.
following message:
[root@localhost opt]# sh /opt/seagate/cortx/provisioner/cli/setup-provisioner --srvnode-2=srvnode-2 http://<cortx_release_repo>/releases/cortx/integration/centos-7.7.1908/last_successful/
INFO: Setting up passwordless ssh configuration
config
100% 521 1.3MB/s 00:00
ssh passwordless setup done successfully
INFO: trying to auto-detect salt master host for srvnode-2
Loaded plugins: enabled_repos_upload, fastestmirror, package_upload, product-id, search-disabled-repos, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Loading mirror speeds from cached hostfile
Package matching iproute-4.11.0-25.el7.x86_64 already installed. Checking for update.
Nothing to do
Uploading Enabled Repositories Report
Cannot upload enabled repos report, is this client registered?
Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password,keyboard-interactive).
Solution:
Remove existing cortx-prvsnr-cli rpm and install a new one, do not update the existing one.
Problem: Setup-provisioner fails with below error,
[root@localhost ~]# sh /opt/seagate/cortx/provisioner/cli/setup-provisioner --srvnode-2=smc22-m10.colo.seagate.com http://<cortx_release_repo>/releases/cortx/integration/centos-7.7.1908/last_successful/
INFO: Setting up passwordless ssh configuration
config 100% 520 1.2MB/s 00:00
ssh passwordless setup done successfully
INFO: trying to auto-detect salt master host for srvnode-2
/opt/seagate/cortx/provisioner/cli/functions.sh: line 651: _res[*]: unbound variable
Solution:
run salt "*" service.stop firewalld
Then re-run, it would correct firewalld.