Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-2114968.1
Update Date:2018-01-15
Keywords:

Solution Type  Problem Resolution Sure

Solution  2114968.1 :   BdaUserConfigEoib Fails with Password errors, "Permission denied, please try again."  


Related Items
  • Big Data Appliance Hardware
  •  
Related Categories
  • PLA-Support>Eng Systems>BDA>Big Data Appliance>DB: BDA_EST
  •  




In this Document
Symptoms
Cause
Solution


Applies to:

Big Data Appliance Hardware - Version All Versions and later
Linux x86-64

Symptoms

Running Running /opt/oracle/bda/network/BdaUserConfigEoib to configure EOIB fails with:

# ./BdaUserConfigEoib
bdanetworktool.main: Start time = Tue Mar 1 11:03:42 EST 2016
bdanetworktool.main: Using deploy file = /opt/oracle/bda/network.json
...
:no ports found for leaf1
:input was
root@*.*.*.*'s password:
Permission denied, please try again.
root@*.*.*.*'s password:
:exit 1

*** <switch> *** Out of branches near "fail <- generate json for gw ports" called from "parse ports from expect"
*** <switch> *** Syntax error on line 3:
Permission denied, please try again.
root@*.*.*.*'s password:

bdanetworktool.main: generation of /opt/oracle/bda/network/leaf1gwp.json failed

 

Full output looks like:

# ./BdaUserConfigEoib
bdanetworktool.main: Start time = Tue Mar 1 11:03:42 EST 2016
bdanetworktool.main: Using deploy file = /opt/oracle/bda/network.json
bdanetworktool.main: Using node nr = X
bdanetworktool.main: Using local files = false
bdanetworktool.main: Apply nws settings on usb = false
bdanetworktool.main: Apply dns settings = false
bdanetworktool.main: Apply client nw settings = true
bdanetworktool.main: Remove client nw settings = false
bdanetworktool.main: Apply ntp settings = false
bdanetworktool.main: Apply ssh settings = false
bdanetworktool.main: Apply bondib0 settings = false
bdanetworktool.main: Apply eth0 settings = false
bdanetworktool.main: Apply ilom settings = false
bdanetworktool.main: Apply /etc/hosts settings = false
bdanetworktool.main: Set timezone = false
bdanetworktool.main: Set host name = false
bdanetworktool.main: Segment IB partition = false
bdanetworktool.make_ibf_json: Converting /opt/oracle/bda/network/myibf*.iblink to json
bdanetworktool.make_ibf_json: nr json myibl elements = 40
bdanetworktool.main: setting json vars for bdanodeX
*:no ports found for leaf1
*:input was
root@<privip>'s password:
Permission denied, please try again.
root@<privip>'s password:
*:exit 1

*** * *** Out of branches near "fail <- generate json for gw ports" called from "parse ports from expect"
*** * *** Syntax error on line 3:
Permission denied, please try again.
root@<privip>'s password:

bdanetworktool.main: generation of /opt/oracle/bda/network/leaf1gwp.json failed



Cause

/opt/oracle/bda/network/BdaUserConfigEoib fails because the underlying call to bdanetworktool fails. bdanetworktool fails because the switch password was changed from the default.

bdanetworktool uses the default switch password.  If the switch password is changed, which it can be, it will fail.

Solution


BdaUserConfigEoib will not take custom password, but recent versions of bdanetworktool will.

Therefore as a workaround try invoking bdanetworktool passing it the "new password" like below:

# bdanetworktool --none-except vnics=true switch-password="<new password>"

 

If this doesn't work please try the recommended solution which is to setup passwordless ssh between the nodes and switches.

Note:

bdanetworktool can be used with:
1. The default password on the switch.  This assumes that the password  is never changed by the user.
2. The --switch-passwd= arg to specify the current password of the switch.
3. passwordless ssh (with the default ssh key location only).

BdaUserConfigEiob can be used with:
1. The default password on the switch. This assumes that the password is never changed by the user.
3. passwordless ssh (with the default ssh key location only).


Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback