History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-3879
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Robin Shen
Reporter: Bin Wu
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

[RestAPI] authorized node still in the unauthorized list

Created: 22/Aug/22 06:39 AM   Updated: 22/Aug/22 10:32 PM
Component/s: None
Affects Version/s: 12.0.12
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
We try to automation authorized the agent with token feature

the logic is: scan for the "buildagents/unauthorized" to get the agent ip & port
use "tokens/authorize" to register the agent

but the different with operation on the UI, each round register agent (same ip & port & hostname) it will generate the new "id" of agent
the agent can be query from "buildagents/active" and "buildagents/unauthorized"

it almost like when load "tokens/authorize", it is not remove same agent from "buildagents/unauthorized"
or maybe "tokens/authorize" is not query the older id in "buildagents/unauthorized"


 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [22/Aug/22 10:32 PM]
This is not a bug. Agents will take a while for being removed from unauthorized list. When authorize agents automatically, you may query ip/port combo to only authorize those not already have tokens assigned.

Change by Robin Shen [22/Aug/22 10:32 PM]
Field Original Value New Value
Status Open [ 1 ] Closed [ 6 ]
Resolution Won't Fix [ 2 ]