Guest

Preview Tool

Cisco Bug: CSCvv77219 - show tech custom source-file and file options fail to compress files

Last Modified

Oct 13, 2020

Products (1)

  • Cisco Network Convergence System 5000 Series

Known Affected Releases

7.1.2.BASE

Description (partial)

Symptom:
RP/0/RP0/CPU0:B05-03-5011-EC#show version
Thu Sep 17 22:58:20.985 UTC
Cisco IOS XR Software, Version 7.1.2
Copyright (c) 2013-2020 by Cisco Systems, Inc.

Build Information:
 Built By     : ahoang
 Built On     : Sat Aug 29 13:12:45 PDT 2020
 Built Host   : iox-ucs-024
 Workspace    : /auto/srcarchive13/prod/7.1.2/ncs5k/ws
 Version      : 7.1.2
 Location     : /opt/cisco/XR/packages/
 Label        : 7.1.2-FCS

cisco NCS-5011 () processor
System uptime is 2 weeks 2 days 5 hours 53 minutes

When testing 712-FCS show tech custom options on Skywarp, file fails to get compressed and ends up with .part file and showtech-custom-admin file empty:

RP/0/RP0/CPU0:B05-03-5011-EC#show tech custom source-file harddisk:google-cli-list.txt file harddisk:show_tech_custom_2
Tue Sep 15 23:58:12.444 UTC
Not a valid XR CLI : dir /recurse harddisk: location 0/rp1/cpu0
Not a valid XR CLI : show drops all location all
Not a valid XR CLI : show pfm location all
Not a valid XR CLI : show controllers fabric fia trace reverse location all
Not a valid XR CLI : show tech-support fabric
Not a valid XR CLI : show tech-support np
++ Show tech start time: 2020-Sep-15.235844.UTC ++
Tue Sep 15 23:58:45 UTC 2020 Waiting for gathering to complete
..........................Wed Sep 16 00:00:06 UTC 2020 Waiting for Sysadmin show tech-support collection
...Wed Sep 16 00:00:06 UTC 2020 Please collect Admin show tech-support ctrace in addition to any sysadmin show-tech-support collection
 
Wed Sep 16 00:00:06 UTC 2020 Compressing show tech output
Show tech output available at 0/RP0/CPU0 : /harddisk:/show_tech_custom_2.tgz
++ Show tech end time: 2020-Sep-16.000007.UTC ++
RP/0/RP0/CPU0:B05-03-5011-EC#/pkg/bin/show_tech_file_fragment: line 452: /harddisk:/show_tech_custom_2/admin_console.gz: No such file or directory
gzip: /harddisk:/show_tech_custom_2/admin_console.gz: No such file or directory
rm: cannot remove '/harddisk:/show_tech_custom_2/admin_console.gz': No such file or directory
mv: cannot stat '/harddisk:/show_tech_custom_2/admin_console.backup': No such file or directory
rm: cannot remove '/harddisk:/show_tech_custom_2/admin_console.part': No such file or directory
rm: cannot remove '/harddisk:/show_tech_custom_2/admin_console.backup': No such file or directory

On root location for folder, there’s no admin_conzole.gz nor admin_status files.
 
[xr-vm_node0_RP0_CPU0:/misc/disk1/show_tech_custom_1]$ls -lar
total 6664
-rw-r--r--.  1 root root  212659 Sep 15 23:31 system.tech.gz
-rw-r--r--.  1 root root     695 Sep 15 23:30 showtech-custom-admin-2020-Sep-15.233028.UTC.tgz
-rw-r--r--.  1 root root 4462754 Sep 15 23:31 showtech-confd-admin-2020-Sep-15.233051.UTC.tgz
-rw-r--r--.  1 root root 1067472 Sep 15 23:31 node0_RP0_CPU0.tech.gz
-rw-r--r--.  1 root root    1926 Sep 15 23:30 google-cli-list.txt
-rw-r--r--.  1 root root     165 Sep 15 23:30 admin_info
-rw-r--r--.  1 root root  525540 Sep 15 23:31 admin_console.part
-rw-r--r--.  1 root root  525540 Sep 15 23:31 admin_console.backup
 
Contents of show tech custom admin are not there:
 
[xr-vm_node0_RP0_CPU0:/misc/disk1/show_tech_custom_1/showtech-custom-admin-2020-Sep-15.233028.UTC]$ls -lar
total 8
drwxr-xr-x. 3 root root 4096 Sep 16 02:07 ..
drwxr-xr-x. 2 root root 4096 Sep 15 23:30 .

Conditions:
show tech custom with "source-file" and "file" options enabled.
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.