cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2327
Views
0
Helpful
13
Replies

CSPC upgrade to sp-30.0.2-0-0-lnx64 stuck at downloading

Jason Cameron
Level 1
Level 1

In order  to upgrade my CSPC  collector from red 2.5.6.1 to 2.7.x . The file sp-30.0.0-0-0-lnx64

has been downloading for 2 days now . How can I check why this is taking so log or stop and start the 

process again ?

 

admin# show download -

Version : sp-30.0.0-0-0-lnx64
Downloaded File :
Status : Downloading
Start Time : Jan/31/2018 14:15:00
End Time : -

1 Accepted Solution

Accepted Solutions

Since you cannot enable the shell for collectorlogin and are receiving errors it seems that definitely there is something corrupted with the attempt of upgrade and it seems that the best course of action is a migration of a new ova.

View solution in original post

13 Replies 13

Supriya Patel
Cisco Employee
Cisco Employee

Hi Jason,

 

Safe and faster way is to re-deploy considering how old CSPC version that you have. For re-deployment, you will find all  information in below link.

 

https://www.cisco.com/c/en/us/support/cloud-systems-management/common-services-platform-collector-cspc/tsd-products-support-series-home.html

 

Please do let me know if you have any specific concern on this.

 

Thanks,
Supriya

Supriya Patel
Cisco Employee
Cisco Employee

Hi Jason,

 

Could you please private message me company name and collector id for record?

 

Thanks,

Supriya

adias
Cisco Employee
Cisco Employee

Jason I have an additional question to you besides the Company name and certificate. 

 

Do you have the passwords to access to the CLI user collectorlogin and root if so collect via ssh to the user collectologin then once in  use the command su root and connect top root and  then run the following below

 

if so please send me the output of the following commands ?

                                               tail -f /opt/LCM/logs/apply

                                               tail -f /opt/LCM/logs/install

 if you do not have the passwords for this users. from the shell user admin you can set them by using the following commands

 

pwdreset collectorlogin 90 

it will give you a password for collectorlogin

then do the same for root

pwdreset root 90

 

once you have the output please send me

if you do not have these accounts set

 

We are currently on Release 2.5.1.6 so we wont have the username collectorlogin. Should we rather

just perform a fresh install  with release 2.7 ?

 

admin# sudo tail -f /opt/LCM/logs/apply
[Wed Feb 24 16:43:57 UTC 2016] Called with arguments "SP" and "sp-3.0.6-0-0-lnx64.zip"
[Wed Feb 24 16:44:14 UTC 2016] No pre-install scripts found
[Wed Feb 24 16:44:14 UTC 2016] Executing install script for "CSPC Base"
[Wed Feb 24 17:30:14 UTC 2016] Executed install script for "CSPC Base"
[Wed Feb 24 17:30:14 UTC 2016] Install script for "CSPC Base" returned success
[Wed Feb 24 17:30:14 UTC 2016] Executing install script for "Data Pack"
[Wed Feb 24 17:50:01 UTC 2016] Executed install script for "Data Pack"
[Wed Feb 24 17:50:01 UTC 2016] Install script for "Data Pack" returned success
[Wed Feb 24 17:50:01 UTC 2016] No post-install scripts found
[Wed Feb 24 17:50:01 UTC 2016] Installation of software package of type "SP" completed successfully

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

IDA-DOWNLOAD: Downloading package with imageName jeos-30.0.0-0-lnx64.zip ...
URL_L1: "https://www.cisco.com/cgi-bin/front.x/ida/locator/locator.pl"
URL_L2: "http://dl.cisco.com/swc/esd/12/crypto/3DES/283114009/contract/jeos-30.0.0-0-lnx64.zip"
Downloading file http://dl.cisco.com/swc/esd/12/crypto/3DES/283114009/contract/jeos-30.0.0-0-lnx64.zip

IDA-DOWNLOAD: Getting File details from the server
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 55  592M   55  326M    0     0   180k      0  0:55:51  0:30:45  0:25:06  171k

 

 

admin# show version -d
        Build-name   : PSS CSPCServer 2.5.1.6

        Package-type : ServicePack
        Version      : sp-3.0.6-0-0-lnx64
             Component : CSPC SE Add-on
             Version   : 1.1
             Component : CSPC Base
             Version   : 2.5.1.6
             Component : Data Pack
             Version   : RP3.23_PSS
        Package-type : JeOS
        Version      : jeos-3.0.6-0-lnx64
             Component : Serviceability
             Version   : 1.0.9
             Component : ConcsoTgw
             Version   : 1.4.6.2
             Component : Jetty
             Version   : 7.1.0
             Component : AdminShell
             Version   : 1.0
             Component : Hardened CentOS
             Version   : 6.7 patch#0

 

admin#  show download
        Version             : sp-3.0.6-0-0-lnx64
        Downloaded File     : sp-3.0.6-0-0-lnx64-package.zip
        Status              : Downloaded
        Start Time          : Feb/24/2016 13:19:46
        End Time            : Feb/24/2016 17:43:45
        Completed %         : 100
        Reason For Failure  : -

        Version             : sp-30.0.0-0-0-lnx64
        Downloaded File     :
        Status              : Downloading
        Start Time          : Jan/31/2018 14:15:00

We are currently on Release 2.5.1.6 so we wont have the username "collector-login". Should we rather just perform a fresh install  with release 2.7 ?

 

 

admin# sudo tail -f /opt/LCM/logs/apply
[Wed Feb 24 16:43:57 UTC 2016] Called with arguments "SP" and "sp-3.0.6-0-0-lnx64.zip"
[Wed Feb 24 16:44:14 UTC 2016] No pre-install scripts found
[Wed Feb 24 16:44:14 UTC 2016] Executing install script for "CSPC Base"
[Wed Feb 24 17:30:14 UTC 2016] Executed install script for "CSPC Base"
[Wed Feb 24 17:30:14 UTC 2016] Install script for "CSPC Base" returned success
[Wed Feb 24 17:30:14 UTC 2016] Executing install script for "Data Pack"
[Wed Feb 24 17:50:01 UTC 2016] Executed install script for "Data Pack"
[Wed Feb 24 17:50:01 UTC 2016] Install script for "Data Pack" returned success
[Wed Feb 24 17:50:01 UTC 2016] No post-install scripts found
[Wed Feb 24 17:50:01 UTC 2016] Installation of software package of type "SP" completed successfully

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

IDA-DOWNLOAD: Downloading package with imageName jeos-30.0.0-0-lnx64.zip ...
URL_L1: "https://www.cisco.com/cgi-bin/front.x/ida/locator/locator.pl"
URL_L2: "http://dl.cisco.com/swc/esd/12/crypto/3DES/283114009/contract/jeos-30.0.0-0-lnx64.zip"
Downloading file http://dl.cisco.com/swc/esd/12/crypto/3DES/283114009/contract/jeos-30.0.0-0-lnx64.zip

IDA-DOWNLOAD: Getting File details from the server
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
 55  592M   55  326M    0     0   180k      0  0:55:51  0:30:45  0:25:06  171k

 

 

admin# show version -d
        Build-name   : PSS CSPCServer 2.5.1.6

        Package-type : ServicePack
        Version      : sp-3.0.6-0-0-lnx64
             Component : CSPC SE Add-on
             Version   : 1.1
             Component : CSPC Base
             Version   : 2.5.1.6
             Component : Data Pack
             Version   : RP3.23_PSS
        Package-type : JeOS
        Version      : jeos-3.0.6-0-lnx64
             Component : Serviceability
             Version   : 1.0.9
             Component : ConcsoTgw
             Version   : 1.4.6.2
             Component : Jetty
             Version   : 7.1.0
             Component : AdminShell
             Version   : 1.0
             Component : Hardened CentOS
             Version   : 6.7 patch#0

 

admin#  show download
        Version             : sp-3.0.6-0-0-lnx64
        Downloaded File     : sp-3.0.6-0-0-lnx64-package.zip
        Status              : Downloaded
        Start Time          : Feb/24/2016 13:19:46
        End Time            : Feb/24/2016 17:43:45
        Completed %         : 100
        Reason For Failure  : -

        Version             : sp-30.0.0-0-0-lnx64
        Downloaded File     :
        Status              : Downloading
        Start Time          : Jan/31/2018 14:15:00

I can see you are using a PSS image so I am assuming this is a PSS account instead of the SNTC. In the future you may pursue the PSS community as sometimes there may be a difference in resolution.

 

In any case

the 55 on the last line of the install log means 55% completed on Monday run that command again and verify if there is any significant improvement in percentage..  If there is or it is completed I would leave until completed.  If it still at 55 , save your credentials and device list and reboot the box  and when back  on the admin shell do the command below:

 

admin#download sp-30.0.0-0-0-lnx64

 and see if it does the job of downloading,

from 2.5.1.6 you cannot upgrade to 2.7.3 or 2.7.3.1  you must upgrade first to 2.7 main

 so in any situation you must first use the below first

 

admin#  apply sp-30.0.0-0-0-lnx64

as far as the user collectorlogin   and the user root  you will very likely need this since in many instances the upgrade of the CSPC from older versions to new versions may temporarily break the admin mini shell.  all versions including 2.5 X has those logins but they are not set by default.  I strong recommend you from the admin shell run the following commands below to get those accounts and passwords set

 

admin# pwdreset collectorlogin 90

admin# pwdreset  root 90

additionally sudo will not be available as soon as you upgrade

 

 

adias
Cisco Employee
Cisco Employee

Were you able to review the progress ? and/or issue the additional commands?

Hi Adias,

 

After a reboot of the collector note the following output
----------------------------------------------------------

admin# show download
        Version             : sp-30.0.0-0-0-lnx64
        Downloaded File     :
        Status              : Downloading
        Start Time          : Jan/31/2018 14:15:00
        End Time            : -
% Error occured while executing command null
admin# sudo   tail -f /opt/LCM/logs/install
URL_L1: "https://www.cisco.com/cgi-bin/front.x/ida/locator/locator.pl"
URL_L2: ""
Downloading file

IDA-DOWNLOAD: Getting File details from the server

IDA-DOWNLOAD: Empty URL error
[Mon Feb  5 18:19:21 SAST 2018] IDA-DOWNLOAD: Error in downloading file. Try Again..

IDA-DOWNLOAD: Removing temporary files...



In order to attempt the download again  I get the following message
-------------------------------------------------------------------

admin# download sp-30.0.0-0-0-lnx64
Connecting to Software Download Server using User Id 'jcameroncisco' ...

In order to download software, please indicate that you have read and agree
to be bound by the Cisco End User License Agreement which can be viewed at
http://www.cisco.com/en/US/docs/general/warranty/English/EU1KEN_.html

Accept License Agreement (y|n)? y

The requested package sp-30.0.0-0-0-lnx64 is already downloading...
Please press Enter key to continue...


# Reset of Login for Users

admin# pwdreset colletorlogin 90

Invalid user or insufficient privileges

admin# pwdreset root 90


Password for 'root' reset to -  xxxx successfully
Password expires in 90 days
Shell is enabled
passwd: all authentication tokens updated successfully

*** Please memorize the new password ***
Lost passwords cannot be recovered. The only alternative to recover is to reinstall the server.
Attempt to login as root unsuccessful

-------------------------------
admin# sudo root
No such command
admin# su - ( Just hangs)

 

 

There was a typo on my instructions  for collectorlogin the command is :

pwdreset collectorlogin 90

 

you cannot su from admin shell.  Do the command above  to get the collectorlogin passwd and open  a separate shell with collectorlogin then  within the collectorlogin shell you su to root using the password you have gathered with the command above

 

then do the following command on the # root shell -

 

tail -200  /opt/LCM/logs/install

tail -200  /opt/LCM/logs/apply

 

so that I can review the log

 

Collector Login

============

 

admin# pwdreset collectorlogin 90

Password for 'collectorlogin' reset to xxx - successfully
Password expires in 90 days
chsh: user "collectorlogin" does not exist.
Shell is not enabled
Error during the resetpassword command
admin# ext
% Incomplete command : ext
admin# exit
Connection to 172.17.17.99 closed.

bigblue$ ssh collectorlogin@172.17.17.99
Warning private system unauthorized users will be prosecuted.
collectorlogin@172.17.17.99's password:
Permission denied, please try again.
collectorlogin@172.17.17.99's password:
Received disconnect from 172.17.17.99 port 22:2: Too many authentication failures for collectorlogin
Disconnected from 172.17.17.99 port 22

 

Requested Logs

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

See attached tail.txt

when you go to GUI now what version does it show?

[Wed Feb 24 16:43:57 UTC 2016] Installation of package "jeos-3.0.6-0-lnx64.zip" succeeded

[Wed Feb 24 17:50:02 UTC 2016] Installation of package "sp-3.0.6-0-0-lnx64.zip" succeeded

6] Executing install script for "ConcsoTgw"

[Wed Feb 24 18:35:48 SAST 2016] Executed install script for "ConcsoTgw"

[Wed Feb 24 18:35:48 SAST 2016] Install script for "ConcsoTgw" returned success

[Wed Feb 24 18:35:48 SAST 2016] Executing install script for "Hardened CentOS"

[Wed Feb 24 16:42:42 UTC 2016] Executed install script for "Hardened CentOS"

[Wed Feb 24 16:42:42 UTC 2016] Install script for "Hardened CentOS" returned success

[Wed Feb 24 16:42:43 UTC 2016] Executing install script for "AdminShell"

[Wed Feb 24 16:43:56 UTC 2016] Executed install script for "AdminShell"

[Wed Feb 24 16:43:56 UTC 2016] Install script for "AdminShell" returned success

[Wed Feb 24 16:43:56 UTC 2016] No post-install scripts found

[Wed Feb 24 16:43:56 UTC 2016] Installation of software package of type "JeOS" completed successfully

[Wed Feb 24 16:43:57 UTC 2016] Called with arguments "SP" and "sp-3.0.6-0-0-lnx64.zip"

[Wed Feb 24 16:44:14 UTC 2016] No pre-install scripts found

[Wed Feb 24 16:44:14 UTC 2016] Executing install script for "CSPC Base"

[Wed Feb 24 17:30:14 UTC 2016] Executed install script for "CSPC Base"

[Wed Feb 24 17:30:14 UTC 2016] Install script for "CSPC Base" returned success

[Wed Feb 24 17:30:14 UTC 2016] Executing install script for "Data Pack"

[Wed Feb 24 17:50:01 UTC 2016] Executed install script for "Data Pack"

[Wed Feb 24 17:50:01 UTC 2016] Install script for "Data Pack" returned success

[Wed Feb 24 17:50:01 UTC 2016] No post-install scripts found

[Wed Feb 24 17:50:01 UTC 2016] Installation of software package of type "SP" completed successfully

See attached file Gui.png

Since you cannot enable the shell for collectorlogin and are receiving errors it seems that definitely there is something corrupted with the attempt of upgrade and it seems that the best course of action is a migration of a new ova.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: