My Oracle Support Banner

[ PCA ] Pre-Upgrade Fails with "Xsigo configuration: local variable 'hardware_info' referenced before assignment." (Doc ID 2372874.1)

Last updated on MARCH 28, 2018

Applies to:

Private Cloud Appliance - Version 2.1.1 and later
Linux x86-64

Symptoms

 On Oracle Private Cloud Appliance, when running the pre-upgrade check or during the last pre-upgrade check run of the actual upgrade, the pre-check fails with :

/bin/sh: -c: line 6: syntax error near unexpected token '('
/bin/sh: -c: line 6: ' 1: re.compile("admin@ovca(sw|nn)(15|22)r1\[xsigo\]")'
[03/13/2018 07:40:01 1613232] ERROR (util:339) Failed to complete SSH: <pexpect.spawn object at 0x19494d0>
version: 2.3 ($Revision: 399 $)
command: /usr/bin/ssh
args: ['/usr/bin/ssh', '-o', 'StrictHostKeyChecking=no', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'GSSAPIAuthentication=no', '-o', 'PubKeyAuthentication=no', 'admin@192.168.4.204']
searcher: searcher_re:
0: re.compile("Permission denied")
1: re.compile("admin@ovca(sw|nn)(15|22)r1\[xsigo\]")
2: re.compile("assword:")
buffer (last 100 chars):
before (last 100 chars):
after: <class 'pexpect.TIMEOUT'>
match: None
match_index: None
exitstatus: None
flag_eof: False
pid: 1614899
child_fd: 5
closed: False
timeout: 60
delimiter: <class 'pexpect.EOF'>
logfile: None
logfile_read: None
logfile_send: None
maxread: 2000
ignorecase: False
searchwindowsize: None
delaybeforesend: 0.05
delayafterclose: 0.1
delayafterterminate: 0.1
[03/13/2018 07:40:02 1613232] ERROR (upgrade_utils:701) Exception received while processing Xsigo configuration: local variable 'hardware_info' referenced before assignment.
Traceback (most recent call last):
File "/nfs/shared_storage/mgmt_image/scripts/upgrade_utils.py", line 691, in check_xsigo_configs
formatted_string = re.sub('\r|\n', '', hardware_info)
UnboundLocalError: local variable 'hardware_info' referenced before assignment
[03/13/2018 07:40:02 1613232] ERROR (upgrade_utils:957) [Xsigo Config Check] FAILED: The check failed on xsigo.

When attempting to connect on the Xsigo Fabric Director reported in the error :

# ssh 192.168.4.204

The Xsigo asks for a password but never returns a command prompt

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.