03-26-2015 04:15 AM
Hello Community,
I am experiencing problems when trying to generate EOS/EOL report in LMS 4.2.5 on a soft appliance. It fails because Compliance Policy and PSIRT/EOX Job fails therefore there is no data in LMS to do the report.. I attached the logs of the jobs. I tried to use the direct Cisco.com access as well as manually downloading and parsing the XML files in the zip files EOX_SOFTWARE.zip and PSIRT_EOX_OFFLINE.zip. Nothing works - it throws an exception when parsing the XML and looking for /var/adm/CSCOpx/files/rme/jobs/inventory/reports/EOX_PSIRT/local_xml/temp/IOS_030.xml which is not there in the unzipped XMLs. I used the following document: http://www.cisco.com/c/en/us/td/docs/net_mgmt/ciscoworks_lan_management_solution/4-2/user/guide/admin/admin/collection.html#pgfId-1226300
1- Unziped again the PSIRT_EOX_OFFLINE.zip file and extract the text file and put it under /var/adm/CSCOpx/files/rme/jobs/inventory/reports/EOX_PSIRT/local_xml - even thought it was already there I downloaded again and unzipped
2- Copy the EOX_SOFTWARE.zip file to /var/adm/CSCOpx/files/rme/jobs/inventory/reports/EOX_PSIRT/local_xml - no unzipping and even thought it was already there I downloaded it again
3- Go to Admin > Network > PSIRT/EOS and EOL Settings and select PSIRT/EOX reports option as local - it was already "local" but set it again
4- Schedule PSIRT Job - scheduled, ran, failed
5- After the job is completed, update the status, if the job is successful please check EOS/EOL hardware and software report. - So I cannot do this..
Please see the directory content in /var/adm/CSCOpx/files/rme/jobs/inventory/reports/EOX_PSIRT/local_xml:
[GB-TSMK-LMS1/root-ade local_xml]# pwd
/var/adm/CSCOpx/files/rme/jobs/inventory/reports/EOX_PSIRT/local_xml
[GB-TSMK-LMS1/root-ade local_xml]# ls -al
total 819896
drwxr-xr-x 2 casuser casusers 4096 Mar 20 11:30 .
drwxr-xr-x 4 casuser casusers 4096 Mar 19 15:09 ..
-rw-rw-rw- 1 root gadmin 21018 Nov 12 12:01 EOX_SOFTWARE.zip
-rw-rw-rw- 1 root gadmin 806091545 Nov 5 16:13 PSIRT_EOX_OFFLINE.txt
-rw-r----- 1 root gadmin 32614976 Mar 19 13:58 PSIRT_EOX_OFFLINE.zip
So basically this is what happens:
At the moment the the directory content in /var/adm/CSCOpx/files/rme/jobs/inventory/reports/EOX_PSIRT/local_xml:
[GB-TSMK-LMS1/root-ade local_xml]# ls -al
total 820228
drwxr-xr-x 2 casuser casusers 4096 Mar 20 11:50 .
drwxr-xr-x 4 casuser casusers 4096 Mar 19 15:09 ..
-rw-rw-rw- 1 root gadmin 21018 Nov 12 12:01 EOX_SOFTWARE.zip
-rw-rw-rw- 1 root gadmin 806091545 Nov 5 16:13 PSIRT_EOX_OFFLINE.txt
-rw-r----- 1 root gadmin 32614976 Mar 19 13:58 PSIRT_EOX_OFFLINE.zip
-rw-r----- 1 casuser casusers 332482 Mar 20 11:45 eox_soft.xml
The log shows there was an exception - I waited literally half an hour - just to be sure that I miss nothing:
XML sections in the raw text file PSIRT_EOX_OFFLINE.txt:
IOS_030.xml is not there - but the scripts are looking for it? Am I right? Is this a problem of the LMS system or a problem of the text in the downloaded PSIRT_EOX_OFFLINE.zip file?
The zip files have been downloaded from the following URLs (I know them from a job's log that used the "Cisco.com" method):
http://dl.cisco.com/swc/esd/11/280915376/contract/PSIRT_EOX_OFFLINE.zip
http://dl.cisco.com/swc/esd/11/280915376/contract/EOX_SOFTWARE.zip
WebUI shows that it is in state "Running" but it don't put any more info the the log - it stucked/stopped. The next schedule (it is daily now) will not start since this one is in state "Running". To create a new PSIRT/EOX report I have to stop (not delete) this job and schedule another one.
So, I enabled debugging in Admin > System > Debug Settings > Config and Image Management Debugging settings and choose InvReport and created another job - job failed and debug file attached.
Please, do anybody out there facing the same problem? Do anybody knows a workaround or am I missing something?
Thank you!
______
Norbert
04-18-2015 02:07 PM
Bump!
04-21-2015 06:55 AM
I have had this working at a customer site that allowed the server to connect to CCO.
The scheduled PSIRT job should check and pull down the latest data.
The PSIRT report job uses that data.
I don't see what you do wrong here nor why it fails.
Apart from making all files owned by casuser to avoid any possible issues I have little advise for you.
Open a TAC case.
I might be that you need a patch to make it work. I needed one when I got it to work in LMS 4.1.
Why the patch is not a part of the latest LMS release is up to cisco to answer.
04-21-2015 07:29 AM
Thank you for your answer, Michel.
Thing is that the system has access to CCO and the ZIP file is the official from Cisco *but* it does not have the file IOS_030.xml. I already opened a TAC case but I started this thread to see if anybody else in the World (power of community) has the same problem as I have, and may be that could speed up the process to find why Cisco does not include that one XML - so may be somebody have the correct up-to-date ZIP and may be Cisco just forgot to update the files on the servers? Nobody - even Cisco - does not know what is going on and why it is missing/not working..
Some news: If I create a PSIRT job it runs for 2.5 hours and says it failed at the end. If you want to check the job details in the WebUI it opens a window but immediately closes it. If I create (for instance) a Hardware EOS/EOL report *without* any device running on IOS-XR I can have a report.. but If I choose any of these IOS-XR running devices it fails with "no data avaliable" - obvisouly, because the info for these devices should be in IOS_030.xml. Others seems to be working - but I don't think this is reliable..
04-21-2015 07:49 AM
OK, I did not read you post carefully enough. Sorry.
Indeed it should work then. Strange the file is not there.
I don't think this EOL/EOS functionality is ported to PI yet, so maybe cisco will abandon this service.
That could mean a BU has already stopped providing the data required to build the complete eox_soft.xml
We have used this service in the past to convince customer to buy new equipment because the old was going towards end of support.
I believe you can hire cisco profesional services to inventory your network, but they bring their own tools, not LMS. So shifting strategies and priorities at cisco perhaps.
Good luck,
Michel
04-21-2015 08:13 AM
I've used the (free) Cisco Active Advisor successfully at a couple of clients. It's a little-known tool that I first saw 2 years ago at Cisco Live. Simple and easy to use.
Professional services tends to steer us (partners) towards using the Netformx tool to discover the networks and then upload to Cisco for an EoX report.
11-13-2015 07:41 AM
I have to use this tool as the project goal is to implement and use this server..
It's been turned out that even though LMS reports that the job has been failed it is actually not true..
If you select manual update (and copied the files already) LMS is importing everything correctly - but even though you selected the manual method it still tries to access cisco.com and because my server has no access to the internet so it obviously fails - so the job "fails" as well, but actually it seems to be okay.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide