cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3640
Views
0
Helpful
2
Replies

Problem with installing the package.tar file on IoX 16.6.6

SteveZhang39274
Level 1
Level 1

Hi, Expert.

   

    After I used ioxclient to build the package.tar file, I was installing it on Cisco 9300 switch. But I ran into a problem complaining schema version 2.8 is not supported. I used scheme version 2.8 and IoX version 16.6.6. Does anyone know what is the right schema version I should use for IoX 16.6.6?

 

zbmvsw9300-01#app-hosting install appid iox_app package flash:package.tar
% Error: Given schema version 2.8 is not supported

 

zbmvsw9300-01#show ver
Cisco IOS XE Software, Version 16.06.06
Cisco IOS Software [Everest], Catalyst L3 Switch Software (CAT9K_IOSXE), Version 16.6.6, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2019 by Cisco Systems, Inc.
Compiled Thu 11-Apr-19 03:51 by mcpre

 

Thanks for any insight.

 

Steve

 

 

2 Replies 2

Emmanuel Tychon
Cisco Employee
Cisco Employee

Hi Steve !

 

I don't have such a platform at my disposal but here is how you can check what are the supported schema versions for a given platform using ioxclient.

 

Make sure ioxclient active profile is configured to communicate with your target platform and enter command "ioxclient platform capability". You can grep the output to search for the supported schema such as below where all schema version from 1.0 to 2.13 are supported:

 

[etychon@QPU-300 ~ ]$ ioxclient platform capability | grep schema
2020/10/16 13:47:07 GET /iox/api/v2/hosting/platform/capability HTTP/1.1
Host: 192.168.2.101:443
X-Token-Id: 566b4848-5f33-45a3-ad51-2f9105c4417f


"supported_app_schemas": [
"validator_schema": "schema_1.0.json",
"validator_schema": "schema_2.0.json",
"validator_schema": "schema_2.1.json",
"validator_schema": "schema_2.2.json",
"validator_schema": "schema_2.3.json",
"validator_schema": "schema_2.4.json",
"validator_schema": "schema_2.5.json",
"validator_schema": "schema_2.6.json",
"validator_schema": "schema_2.7.json",
"validator_schema": "schema_2.8.json",
"validator_schema": "schema_2.9.json",
"validator_schema": "schema_2.10.json",
"validator_schema": "schema_2.11.json",
"validator_schema": "schema_2.12.json",
"validator_schema": "schema_2.13.json",

Hope this helps

Emmanuel

 

Hi, Emmanuel.

 

    Thanks for another good suggestion. I decided to upgrade my CAT 9300 to 16.12.4 since 16.6.6 is quite old anyway. Now, all the old error message has disappeared. But I got a new error message when I installed the app.

 

zbmvsw9300-01#app-hosting install appid hello_app100 package flash:package.tar

 

*Oct 16 16:28:28.653: %IM-6-INSTALL_MSG: Switch 1 R0/0: ioxman: app-hosting: Install failed: guestshell_setup.sh returned error: 255, message: Installing apps on system flash is not allowed.

 

Thanks

 

Steve