-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Removing an org with the hzn cli command will not clean up agbotbusinesspols and agbotpatterns tables since the GET request to those tables returns a 404 when called with root/root:$ROOT_PW
[verbose] HTTP request timeout set to 30 seconds
[verbose] HTTP code: 200
[verbose] Using agbot IBM/agbot
[verbose] The exchange url: http://9.46.67.90:3090/v1
[verbose] GET http://9.46.67.90:3090/v1/orgs/IBM/agbots/agbot/patterns
[verbose] HTTP request timeout set to 30 seconds
[verbose] HTTP code: 404
[verbose] The exchange url: http://9.46.67.90:3090/v1
[verbose] GET http://9.46.67.90:3090/v1/orgs/IBM/agbots/agbot/businesspols
[verbose] HTTP request timeout set to 30 seconds
[verbose] HTTP code: 404
Can also see this with curl
curl -u root/root:$ROOT_PW http://9.46.67.90:3090/v1/orgs/IBM/agbots/agbot/businesspols
{"code":"not-found","msg":"resource 'IBM/agbot' not found"}
Using IBM/agbot user does work though
[2025-09-27 21:48:31,486] [org.apache.pekko.actor.ActorSystemImpl] [] [actors-pekko.actor.default-dispatcher-11] [INFO] -- exchange-api:IBM/agbot GET http://exchange-api:8080/v1/orgs/IBM/agbots/agbot/businesspols: 200 OK
[2025-09-29 12:35:02,608] [org.apache.pekko.actor.ActorSystemImpl] [] [actors-pekko.actor.default-dispatcher-8] [INFO] -- 9.46.67.90:root/root GET http://9.46.67.90:3090/v1/orgs/IBM/agbots/agbot/businesspols: 404 Not Found
Metadata
Metadata
Assignees
Labels
No labels