cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1585
Views
0
Helpful
5
Replies

CSM - GISO

Garry Peirce
Level 1
Level 1

Again trying to use and like CSM but it's always fighting me in one way or another and I usually end up manually upgrading.

Running 4.4.1 and trying to build a GISO.

Loaded 7.3.2 files from CCO via CSM - ok, good.

Using the GISO wizard, they're labeled as 'third-party' RPMs which it then has an issue with and fails.

The core of the issue is seen below - am I doing something wrong / any ideas?
a)

2021-12-22 03:35:46::  Golden ISO build process starting...
2021-12-22 03:35:55::  Golden ISO RPM_PATH: giso/<rpms>
2021-12-22 03:35:55::  
Found Bundle ISO: /usr/local/csm_data/repository/golden_iso/1640144132/source_iso/asr9k-mini-x64-7.3.2.iso
2021-12-22 03:35:55::  
Platform: asr9k Version: 7.3.2
2021-12-22 03:36:17::  ISO asr9k-mini-x64 extract path /usr/local/csm_data/repository/golden_iso/1640144132/tmphQSPXd
2021-12-22 03:36:17::  
Scanning repository [/usr/local/csm_data/repository/golden_iso/1640144132/packages]...
Total 9 RPM(s) present in the repository path provided in CLI
2021-12-22 03:36:18::  Found 0 Cisco RPMs
2021-12-22 03:36:18::  Found 9 TP RPMs
2021-12-22 03:36:18::  		asr9k-eigrp-x64-1.0.0.0-r732.x86_64.rpm
2021-12-22 03:36:18::  		asr9k-k9sec-x64-2.2.0.0-r732.x86_64.rpm
2021-12-22 03:36:18::  		asr9k-m2m-x64-2.0.0.0-r732.x86_64.rpm
2021-12-22 03:36:18::  		asr9k-mcast-x64-2.0.0.0-r732.x86_64.rpm
2021-12-22 03:36:18::  		asr9k-mgbl-x64-2.0.0.0-r732.x86_64.rpm
2021-12-22 03:36:18::  		asr9k-mpls-x64-2.0.0.0-r732.x86_64.rpm
2021-12-22 03:36:18::  		asr9k-ospf-x64-2.0.0.0-r732.x86_64.rpm
2021-12-22 03:36:18::  		asr9k-optic-x64-1.0.0.0-r732.x86_64.rpm
2021-12-22 03:36:18::  		asr9k-isis-x64-1.1.0.0-r732.x86_64.rpm
2021-12-22 03:36:18::  Found 0 Cisco RPMs
2021-12-22 03:36:18::  Found 0 TP RPMs
2021-12-22 03:36:18::  SDK RPM metadata dictionary is created successfully
2021-12-22 03:36:18::  Skipping following 9 Thirdparty RPM(s) not supported
for release 7.3.2:

2021-12-22 03:36:18::  		(-) asr9k-eigrp-x64-1.0.0.0-r732.x86_64.rpm
2021-12-22 03:36:18::  		(-) asr9k-k9sec-x64-2.2.0.0-r732.x86_64.rpm
2021-12-22 03:36:18::  		(-) asr9k-m2m-x64-2.0.0.0-r732.x86_64.rpm
2021-12-22 03:36:18::  		(-) asr9k-mcast-x64-2.0.0.0-r732.x86_64.rpm
2021-12-22 03:36:18::  		(-) asr9k-mgbl-x64-2.0.0.0-r732.x86_64.rpm
2021-12-22 03:36:18::  		(-) asr9k-mpls-x64-2.0.0.0-r732.x86_64.rpm
2021-12-22 03:36:18::  		(-) asr9k-ospf-x64-2.0.0.0-r732.x86_64.rpm
2021-12-22 03:36:18::  		(-) asr9k-optic-x64-1.0.0.0-r732.x86_64.rpm
2021-12-22 03:36:18::  		(-) asr9k-isis-x64-1.1.0.0-r732.x86_64.rpm
2021-12-22 03:36:18::  If any of the above 9 RPM(s) needed for Golden ISO then
provide RPM(s) supported for release 7.3.2
2021-12-22 03:36:18::  Found 0 TP RPMs
2021-12-22 03:36:18::  Warning: No RPMS or Optional Matching 7.3.2 packages found in repository
2021-12-22 03:36:18::  Info: No Valid rpms nor XR config file found. Nothing to do


2)  I also see it notes an incorrect directory in a few places even though it puts them in the right one.
doesn't exist:  /usr/local/csm_data/repository/golden_iso/

correct directory: /usr/share/csm/csm_data/repository/golden_iso (actually reads & places files here before it dies)

System requirements check [PASS]
2021-12-22 03:35:46::  Golden ISO build process starting...
2021-12-22 03:35:55::  Golden ISO RPM_PATH: giso/<rpms>
2021-12-22 03:35:55::  
Found Bundle ISO: /usr/local/csm_data/repository/golden_iso/1640144132/source_iso/asr9k-mini-x64-7.3.2.iso
2021-12-22 03:35:55::  
Platform: asr9k Version: 7.3.2
2021-12-22 03:36:17::  ISO asr9k-mini-x64 extract path /usr/local/csm_data/repository/golden_iso/1640144132/tmphQSPXd
2021-12-22 03:36:17::  
Scanning repository [/usr/local/csm_data/repository/golden_iso/1640144132/packages]...

D) Small typo, but in all it's Conflounderation

2021-12-22 03:35:46::  ##############START#####################
2021-12-22 03:35:46::  Info: XR Congifuration file not specified.

 

5 Replies 5

mivens
Level 1
Level 1

I don't think you are doing anything wrong.

Does building the GISO work manually with the latest version of gisobuild from https://github.com/ios-xr/gisobuild

The log does not say what version of gisobuild is packaged with CSM 4.4.1 but I suspect it does not include recent fixes included in the one on Github.

If you look in the changelogs there's an email distribution list to contact with questions about CSM and they are usually pretty responsive.

marky23
Level 1
Level 1

I have this exact same problem.  I tried with 7.5.2 then 7.4.2 just to be sure.  Same errors.  I also downloaded the py script from github and I get the exact same error with identical error logs.  So this doesn't seem to be a CML issue per say. 

smilstea
Cisco Employee
Cisco Employee

Unfortunately CSM should no longer be used, it is EOL and no longer a supported product. There were some changes to GISO which is probably why it is failing. You can find an updated version of the script here https://github.com/ios-xr/gisobuild

 

Sam

 

I did use the latest version from github. Same errors.

I see other customers reported this as well, it has to do with the change in signed RPMs, but they reported downloading off the github fixed the problem. Are you using the master or latest? I would suggest if its still not working to open a issue against the repository so they can make sure its up to date.

 

Sam