It is not possible to add CentOS 7 based SSH-managed name server.
The following error appears in
[2016/07/21 13:26:05] [ERROR]  [Net::SSH::Perl::Key::new] Key class 'Net::SSH::Perl::Key::RSA' is unsupported: Cannot find current script '/dev/null' at /usr/share/perl5/FindBin.pm line 205 BEGIN failed--compilation aborted at /usr/share/perl5/FindBin.pm line 205, <GEN647> line 1. Compilation failed in require at /usr/share/perl5/vendor_perl/Crypt/RSA.pm line 13 BEGIN failed--compilation aborted at /usr/share/perl5/vendor_perl/Crypt/RSA.pm line 13, <GEN647> line 1. Compilation failed in require at /usr/local/share/perl5/Net/SSH/Perl/Key/RSA.pm line 14 BEGIN failed--compilation aborted at /usr/local/share/perl5/Net/SSH/Perl/Key/RSA.pm line 14, <GEN647> line 1. Compilation failed in require at (eval 765) line 1 BEGIN failed--compilation aborted at (eval 765) line 1, <GEN647> line 1. [2016/07/21 13:26:05] [INFO]  [HSPC::XMLAPI::Serializer::on_die] ApplicationError : Application error occurred, contact provider for details.
Such behavior was classified as the software issue PBAS-30340 andand was fixed in OBAS 4.5.7 release.
To resolve the issue, please upgrade to 4.5.7 as described in How to upgrade OBAS system to the latest available version.
Workaround for 4.5.6
To register a CentOS 7 based name server in OBAS 4.5.6 please perform the steps below.
On the name server
Regenerate the name server SSH host key (do not set passphrase!):
# ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key
Enable the host DSA key in sshd configuration
/etc/ssh/sshd_config(uncomment or add a new line):
# systemctl restart sshd.service
On OBAS side
For 64-bit OS:
# rpm -Uvh hspc-dm-ns-plugin-ssh-4.5.6-44.swsoft.x86_64.rpm # hspc-upgrade-manager --finish
For 32-bit OS:
# rpm -Uvh hspc-dm-ns-plugin-ssh-4.5.6-44.swsoft.i386.rpm # hspc-upgrade-manager --finish
hspc-upgrade-manager --finishwill cause OBAS downtime for several minutes.
- Re-install the name server in OBAS PCC.