cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
428
Views
0
Helpful
1
Replies

Upgrade Service Connection Failing after CCO Change

kcriscuolo
Level 1
Level 1

Scheduled upgrade was working until I changed CCO's. I know the username/password are correct but upgrade is failing die to expired password/auth failure.CCO Login.pngError.png

1 Reply 1

adias
Cisco Employee
Cisco Employee

THE PROBLEM :

The error mentioned should interrupt the ability to download software to Cisco and
register or re-register a cco user on the collector
You can also keep track for resolution at:
https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvr54360

For the error mentioned in itself :

Well those are valid errors when the collector cannot reach the www.cisco.com or there is an authentication problem
Validation of credentials failed.
Please try again.
They also cannot get the files downloaded to the server for upgrades
Attempting to download the requested package.....sp-30.1.1-6-0-lnx64
execute % Error occured while executing command.
However, because www.cisco.com changes to authentication process these past week on their
servers, all collectors from all customers cannot reach those servers at the present moment,
because even if their firewall was not opened to the correct IPs they cannot authenticate
Developers are aware of the problem and since all collectors are affected hope their find
a solution soon.

-------------------------------------------------------------------------------------------------------------

THE WORKAROUND:

If you want and do not want to wait for the bug fix above, you can manually upgrade the collector

BASED ON THE FACT THAT YOU HAVE 2.8.1.2

YOU WILL NEED TO UPGRADE FIRST TO 2.8.1.4 as shown below then after that is completed do the same process but now with the files for the 2.8.1.6 zip file

With access via CLI SSH to  the Users (collectorlogin and root)

Apply JeOS Package 2.8.1.4

 Allocate 30-45 minutes for installation of this patch to complete. The system will automatically reboot after installation.

Once you have downloaded the zip file for 2.8.1.4  collector_2.8.1.4_Build-16.zip

     https://software.cisco.com/download/home/286312935/type/286312958/release/2.8.1.4

In deploying the new image have you created the cli admin password?  (java based shell)

If so have you also created/activated  the users collectorlogin and root ? (real linux shell)

 If not do the following for the cli admin shell

 admin# pwdreset root 90

 And

 admin# pwdreset collectorlogin 90

 

it will activate those accounts and generate their passwords  ( keep them where you can refer to them in the future)

 after that

 upload the downloaded zip file collector_2.8.1.4_Build-16.zip via scp using the user collectorlogin cli user to its home directory /home/collectorlogin. Via SSH Login to collector as user collectorlogin and then use command below to connect as root (cannot connect directly)

# su root

Then do the below commands to copy and move to /opt directory and unzip it there

# cp /home/collectorlogin/collector_2.8.1.4_Build-16.zip/opt/collector_2.8.1.4_Build-16.zip
# cd /opt

# unzip /opt/collector_2.8.1.4_Build-16.zip

# cd collector_2.8.1.4_Build-16

# ls -lart

once unzipped and the commands above are performed ensure by looking the last command output if the 2 necessary patches Jeos (just enough OS) zip and the SP (Service Package) zip are there if confirmed do the following

Apply JeOS using the below command (installation runs in background)

# ./install.sh jeos-30.1.1-4-lnx64.zip

 Monitor the installation by executing the following command:

# tail -f /opt/LCM/logs/install

It will take about 45 Min and only after the server reboots itself the Jeos upgraded will be completed

Once the reboot occurs wait about 10 minutes and connect again via ssh to collectorlogin and root to apply the SP patch as shown below.

Apply Service Pack (SP) 2.8.1.4

 

Typically, the installation for the SP patch may take 45 min to 1 hour for the installation, depending on your network size/data size. The algorithm runs only once to optimize storage and reduces the time required in future upgrades. System will automatically reboot after installing the patch.

Steps to apply the Service Pack (SP) 2.8.1.4 with the assumption that the Jeos was already properly installed. via SSH Login to collector as user collectorlogin and then use commands below to connect as root (cannot connect directly). It will take about 45 to 1h typically Min and only after the server reboots itself   the SP upgrade will be completed

# su root

# cd /opt/collector_2.8.1.4_Build-16

# ./install.sh SP sp-30.1.1-4-0-lnx64.zip

Monitor the installation by executing the following command:

# tail -f /opt/LCM/logs/install

It will take about 45 Min and only after the server reboots itself the Jeos upgraded will be completed

Once the reboot occurs wait about 10 minutes and connect again via ssh but this time with the user admin with the following commands.

admin# show ver -d
admin# show apply