cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1475
Views
4
Helpful
10
Replies

Docker App-Hosting App Not Installing

Badger-Fi
Level 1
Level 1

I am trying to install a Netbeez agent on a Catalyst 9300U running 17.09.04.  The switch has a DNA-Advantage license.  The IOx services are all running.  When I issue the install command, I do not get an error but when I check the status using "show app-hosting list" I get "No App found."

Here are the directions I am following:  https://netbeez.zendesk.com/hc/en-us/articles/360028594831-Cisco-Catalyst-NetBeez-App-Hosting-with-Docker-IOS-XE-16-12-17-x-

I have already worked with Netbeez and we are still stuck.  I have had this working before but not using Docker.

1 Accepted Solution

Accepted Solutions

Badger-Fi
Level 1
Level 1

It turns out that the global config command "no app-hosting signature verification" is not the command to disable signature verification.  The command "app-hosting verification disable" entered at privileged EXEC is the correct command.

View solution in original post

10 Replies 10

Torbjørn
Spotlight
Spotlight

Can you post the relevant configuration? (show run | s App|app)

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

Badger-Fi
Level 1
Level 1

show run | s App|app
class-map match-any system-cpp-police-high-rate-app
description High Rate Applications
interface AppGigabitEthernet1/0/1
description Netbeez Agent
switchport trunk allowed vlan 3
switchport mode trunk
app-hosting appid netbeez
app-vnic AppGigabitEthernet trunk
vlan 3 guest-interface 0
app-resource docker
run-opts 1 "-e 'HOST=X.X.X.X' -e 'PORT=20019' -v netbeez:/etc/netbeez/persistence/:rw"
app-resource profile custom
cpu 7400
memory 1000
persist-disk 4000

Torbjørn
Spotlight
Spotlight

That should work. You are attempting to run this on a C9300-24U/C9300-48U? If so I can see if i can reproduce it in the lab.

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

I am attempting on a C9300-48U.  I have tried installing it straight to flash, usbflash0, and usbflash1.  All results were the same.

What version of the OCI/Docker image are you attempting to install?

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

Badger-Fi
Level 1
Level 1

I'm no Docker pro, but I think this will get you what you need

docker pull netbeez/nb-agent:latest

Badger-Fi
Level 1
Level 1

I know it has been a while since the latest post but we have determined what is causing the issue.  Reviewing the logs shows the following:

Mar 14 10:55:59 EST: %IOXCAF-6-INSTALL_MSG: Switch 1 R0/0: ioxman: app-hosting: Failed to install netbeez: App signature validation is enabled. App signature file package.cert or package.sign not found in pa Mar 14 13:32:14 EST: %IOXCAF-6-INSTALL_MSG: Switch 1 R0/0: ioxman: app-hosting: Failed to install netbeez: Invalid Archive file: unexpected end of data

It means we need to turn off app-hosting signed verification. I entered the command to disable signed verification and it accepts the command but when I issue a show app-hosting infra, the output shows it as still enabled.

BadgerFi_0-1710951866159.png

I have a TAC case open and I am waiting to hear back about this recent finding.

Anyone know why disabling signed verification isn't working?

 

Badger-Fi
Level 1
Level 1

It turns out that the global config command "no app-hosting signature verification" is not the command to disable signature verification.  The command "app-hosting verification disable" entered at privileged EXEC is the correct command.

Great that you came back to provide the answer! Did disabling signature verification resolve your issue? Remember to mark your comment as the solution if that's the case.

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

Badger-Fi
Level 1
Level 1

Yes, "app-hosting verification disable" was the command that needed to be run in privileged EXEC.  My app is now installed and running properly.

Review Cisco Networking for a $25 gift card