cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2538
Views
40
Helpful
8
Replies

Can anyone confirm LMS updates to cisco.com are working?

Marvin Rhoads
Hall of Fame
Hall of Fame

I just built a new Prime LMS server (4.2(5) on soft appliance) and can't download cisco.com package updates.

The Package Support Updater (PSU) log shows my credentials are validated fine but then it gets a 302 code (http redirect) from cisco and fails do download any updates.

I thought I'd check here before going to the trouble to open a TAC case.

Thanks.

 

snippet of relevant log:

[ Sun Dec 14 16:47:06 EST 2014 ] INFO   [DevUpdate : performAdd]  : Validated Cisco.com credentials..
[ Sun Dec 14 16:47:06 EST 2014 ] INFO   [SecurityHandler : getCSProxyHost]  : No proxy Host configured
[ Sun Dec 14 16:47:06 EST 2014 ] INFO   [SecurityHandler : getCSProxyPort]  : No proxy port confgured
[ Sun Dec 14 16:47:06 EST 2014 ] WARN   [DownloadManager : queryAllPkgs]  : Error setting permissions for readme subdirectories.
[ Sun Dec 14 16:47:06 EST 2014 ] INFO   [DownloadManager : queryAllPkgs]  : Going to collect download packages...
[ Sun Dec 14 16:47:06 EST 2014 ] ERROR  [CcoDownloadAdapter : getXmlFileList]  : failed to connect to Cisco.com:RespCode=302, RespMsg=Found
[ Sun Dec 14 16:47:06 EST 2014 ] ERROR  [RemoteRepSync : downloadPsuHeadersAsXml]  : VDSException thrown com.cisco.nm.xms.vds.VDSException: CcoDownloadAdapter::getXmlFileList():Exception:CcoDownloadAdapter::getXmlFileList():failed to connect to Cisco.com.
[ Sun Dec 14 16:47:06 EST 2014 ] ERROR  [ViewRemoteAndInstalledPkg : getRemoteAndInstalledPkg]  : VDSException while downloading headers from Cisco.com
com.cisco.nm.xms.vds.VDSException: CcoDownloadAdapter::getXmlFileList():Exception:CcoDownloadAdapter::getXmlFileList():failed to connect to Cisco.com.
        at com.cisco.nm.xms.psu.downloadmgmt.RemoteRepSync.downloadPsuHeadersAsXml(RemoteRepSync.java:565)
        at com.cisco.nm.xms.psu.downloadmgmt.RemoteRepSync.getAllPackagesFor(RemoteRepSync.java:916)
        at com.cisco.nm.xms.psu.downloadmgmt.DownloadManager.queryAllPkgs(DownloadManager.java:1235)
        at com.cisco.nm.xms.psu.ui.gui.model.ViewRemoteAndInstalledPkg.getRemoteAndInstalledPkg(ViewRemoteAndInstalledPkg.java:170)
        at com.cisco.nm.xms.psu.ui.gui.model.action.DevUpdate.performAdd(DevUpdate.java:1049)
        at com.cisco.nm.xms.psu.ui.gui.model.action.DevUpdate.perform(DevUpdate.java:556)
        at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
        at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.cisco.nm.cmf.util.AccessLogFilter.doFilter(AccessLogFilter.java:128)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
        at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
        at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
        at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
        at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
        at java.lang.Thread.run(Thread.java:662)
2 Accepted Solutions

Accepted Solutions

AFROJ AHMAD
Cisco Employee
Cisco Employee

Hi Marvin,

It is a BUG  :(

CSCur85172    Unable to installing the device packages from cisco.com using LMS Server

Try this:

Stop Daemon Manager
2.            Change the protocol 'http' to 'https' for the below URL's in vds.properties


file located under /NMSROOT/lib/classpath/com/cisco/nm/xms/vds/.
NGCcoScript=http://tools.cisco.com/software/catalog/swcs/softwaremetadata
NGCcoImageScript=http://tools.cisco.com/software/catalog/swcs/image

TO

NGCcoScript=https://tools.cisco.com/software/catalog/swcs/softwaremetadata
NGCcoImageScript=https://tools.cisco.com/software/catalog/swcs/image

3.            Start the Daemon Manager.

 

Hope it will work otherwise we , would need to wait for official patch for this BUG

 

Thanks-

Afroz

****Ratings Encourages Contributors ****

 

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

View solution in original post

Vinod Arya
Cisco Employee
Cisco Employee

Marvin,

I checked on my LMS 4.2.5 (Windows) and it seems to be working fine, tried updating the mdf and it worked.

There is a similar bug as well # CSCur85172

You can try one thing to see if it works, try to change HTTP to HTTPS under /NMSROOT/lib/classpath/com/cisco/nm/xms/vds/vds.properties and see it works.

-Thanks

Vinod

-Thanks Vinod **Rating Encourages contributors, and its really free. **

View solution in original post

8 Replies 8

AFROJ AHMAD
Cisco Employee
Cisco Employee

Hi Marvin,

It is a BUG  :(

CSCur85172    Unable to installing the device packages from cisco.com using LMS Server

Try this:

Stop Daemon Manager
2.            Change the protocol 'http' to 'https' for the below URL's in vds.properties


file located under /NMSROOT/lib/classpath/com/cisco/nm/xms/vds/.
NGCcoScript=http://tools.cisco.com/software/catalog/swcs/softwaremetadata
NGCcoImageScript=http://tools.cisco.com/software/catalog/swcs/image

TO

NGCcoScript=https://tools.cisco.com/software/catalog/swcs/softwaremetadata
NGCcoImageScript=https://tools.cisco.com/software/catalog/swcs/image

3.            Start the Daemon Manager.

 

Hope it will work otherwise we , would need to wait for official patch for this BUG

 

Thanks-

Afroz

****Ratings Encourages Contributors ****

 

Thanks- Afroz [Do rate the useful post] ****Ratings Encourages Contributors ****

oops.. seems I didn't refreshed the page for long. ;-)

-Thanks Vinod **Rating Encourages contributors, and its really free. **

Thanks for your answer. I tried to change the values of the variables in the file and restart dmgtd, but I am still getting the same error message. I'm behind a proxy and have set it up in Cisco.com settings in LMS, but I suspect that these settings aren't applied for HTTPS.

 

I logged into the shell and tried https_proxy=http://proxy.ip.add.ress:3128 wget https://tools.cisco.com/software/catalog/swcs/softwaremetadata and it downloaded CDClogin.html, so I do have connectivity to the server, but not from the LMS web interface.

 

The same wget to http://tools.cisco.com/software/catalog/swcs/softwaremetadata (without HTTPS) also works though.

 

Found this Bug ID: CSCus19680. Contacting Cisco to get a fix.

Hello

I did so you said but  now I see another error

Cisco.com may be busy as multiple users are connected to the network. Try again later. Check C:/PROGRA~2/CSCOpx/log/psu.log file for more details.

this is log

 ERROR  [ViewRemoteAndInstalledPkg : getRemoteAndInstalledPkg]  : VDSException while downloading headers from Cisco.com
com.cisco.nm.xms.vds.VDSException: Server down
    at com.cisco.nm.xms.psu.downloadmgmt.RemoteRepSync.downloadPsuHeadersAsXml(RemoteRepSync.java:565)
    at com.cisco.nm.xms.psu.downloadmgmt.RemoteRepSync.getAllPackagesFor(RemoteRepSync.java:916)
    at com.cisco.nm.xms.psu.downloadmgmt.DownloadManager.queryAllPkgs(DownloadManager.java:1235)
    at com.cisco.nm.xms.psu.ui.gui.model.ViewRemoteAndInstalledPkg.getRemoteAndInstalledPkg(ViewRemoteAndInstalledPkg.java:170)
    at com.cisco.nm.xms.psu.ui.gui.model.action.DevUpdate.performAdd(DevUpdate.java:1049)
    at com.cisco.nm.xms.psu.ui.gui.model.action.DevUpdate.perform(DevUpdate.java:556)
    at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1786)
    at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1585)
    at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:509)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at com.cisco.nm.cmf.util.AccessLogFilter.doFilter(AccessLogFilter.java:128)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:311)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:776)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:705)
    at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:898)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
    at java.lang.Thread.run(Thread.java:662)

I have this problema too with Cisco Prime LMS 4.2.5.

Here is the error in my psu.log:

[ Thu Oct 08 15:08:05 CEST 2015 ] INFO   [SecurityHandler : getCSProxyLogin]  : No proxy User Name configured
[ Thu Oct 08 15:08:30 CEST 2015 ] INFO   [SwUpdateAction : selectAllUpdates]  : Validated Cisco.com credentials..
[ Thu Oct 08 15:08:30 CEST 2015 ] INFO   [DownloadManager : queryAllPkgs]  : Going to collect download packages...
[ Thu Oct 08 15:08:35 CEST 2015 ] ERROR  [CcoDownloadAdapter : getXmlFileList]  : CcoDownloadAdapter::getXmlFileList():::cisco.com might be down or busy
[ Thu Oct 08 15:08:35 CEST 2015 ] ERROR  [RemoteRepSync : downloadPsuHeadersAsXml]  : VDSException thrown com.cisco.nm.xms.vds.VDSException: Server down
[ Thu Oct 08 15:08:35 CEST 2015 ] INFO   [SwUpdateAction : selectAllUpdates]  : removing SwUpdateLock, due to exception..
 

I have the same issue too,

Would be some workaround to fix it?

 

Thanks

Ivan

Vinod Arya
Cisco Employee
Cisco Employee

Marvin,

I checked on my LMS 4.2.5 (Windows) and it seems to be working fine, tried updating the mdf and it worked.

There is a similar bug as well # CSCur85172

You can try one thing to see if it works, try to change HTTP to HTTPS under /NMSROOT/lib/classpath/com/cisco/nm/xms/vds/vds.properties and see it works.

-Thanks

Vinod

-Thanks Vinod **Rating Encourages contributors, and its really free. **

Marvin Rhoads
Hall of Fame
Hall of Fame

Thanks Afroz and Vinod.

It appears I was indeed hitting the bug. Modifying the vds.properties file as suggested fixed the issue. I was able to get the full listing of package updates from cisco.com and bring everything up to date.

Full marks to you both. :)

Review Cisco Networking for a $25 gift card