Smarts NCM: Report Advisor Install Hangs, but completes after 30min to 1 hour.
search cancel

Smarts NCM: Report Advisor Install Hangs, but completes after 30min to 1 hour.

book

Article ID: 331200

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

Symptoms:


Report Advisor installation hangs, but completes after 30 minutes to 1 hour.

PS output will show the installation is performing wget process. RA server is trying to contact the AS to retrieve the .pass.props file.

[root@ncmRA ~]# ps -ef | grep wget

root      4273  4254  0 11:00 pts/0    00:00:00 sh -c wget --no-check-certificate https://10.1.2.3/.pass.props >/dev/null 2>&1

root      4274  4273  0 11:00 pts/0    00:00:00 wget --no-check-certificate https://10.1.2.3/.pass.props

root      4277  2028  0 11:00 pts/1    00:00:00 grep wget
 

When attempting the wget command manually, a 'No data received.' response will appear:
 

[root@ncmRA ~]# wget --no-check-certificate https://10.1.2.3/.pass.props

--2016-08-12 11:02:20--  https://10.1.2.3/.pass.props

Connecting to 10.1.2.3:443... connected.

WARNING: cannot verify 10.1.2.3 s certificate, issued by  /C=IN/ST=Kar/L=Bangalore/O=EMC/OU=NCM/CN=MASTERKEY/[email protected] :

  Self-signed certificate encountered.

    WARNING: certificate common name  ncmRA   doesn't match requested host name  10.1.2.3 .

HTTP request sent, awaiting response... No data received.

Retrying.

When the installation completes, the same messages can be seen in the RA debug log.



Environment

VMware Smart Assurance - NCM

Cause

There are two reasons an RA install can hang, but complete:

1. httpd failure
2. corrupt or incorrect bundle.p12 file



Resolution

1. Uninstall RA
2. Re-install httpd
3. Retrieve a new copy of the bundle.p12 file from the application server. (/opt/smarts-ncm/conf/bundle.p12)
4. Re-install RA and test.

The installation will complete very quickly compared to the previous install. At the end of the installation you will see similar output:

Adding DB Password to /opt/smarts-ncm/software/emc/ncm/web/conf/web.properties file

Remote RA ---> DB Password from temp file

 

***ReadTempFileRAProp

***VOYENCE_HOME=/opt/smarts-ncm/software/emc/ncm

Database pwd is not empty so not reading from install prop file

Plain Pass:Inside replace_PassWeb

wget --no-check-certificate --certificate="/opt/smarts-ncm/software/emc/ncm/conf/client.crt" --private-key="/opt/smarts-ncm/software/emc/ncm/conf/client.key" https://10.1.2.3/.pass.props >/dev/null

--2016-08-23 09:28:27--  https://10.1.2.3/.pass.props

Connecting to 10.1.2.3:443... connected.

WARNING: cannot verify 10.1.2.3 s certificate, issued by  /C=IN/ST=Kar/L=Bangalore/O=EMC/OU=NCM/CN=MASTERKEY/[email protected] :

  Self-signed certificate encountered.

    WARNING: certificate common name  ncmRA  doesn't match requested host name  10.1.2.3 .

HTTP request sent, awaiting response... 200 OK

Length: 285 [text/plain]

Saving to:  .pass.props 

 

     0K                                                       100% 16.7M=0s

 

2016-08-23 09:28:27 (16.7 MB/s) -  .pass.props  saved [285/285]

 

The passwords were successfully synchronized.




Additional Information

IS-7045