[Anthill-pro] Cannot delete agent

Ryan Smith rws at urbancode.com
Mon Jun 2 11:03:13 CDT 2008


An agent will be marked online if the agent is sending a heartbeat 
message periodically to the server. The only way a agent can be online 
is if this message is received because that state is not saved in the 
database, it is a runtime status. Your agent must still be running and 
talking to the server.


Ryan

Peter Steele wrote:
> I rebooted the server and the behavior is still the same. The X to
> delete this agent is always disabled, whether it in the ignored list or
> in the configured list. The GUI claims that the agent is online but the
> fact I have the agent assigned to an invalid host would imply that it
> must not be testing if the agent process is actually up, although I did
> find this reference in the logs:
>
> 2008-06-02 07:30:09,349 ERROR http-0.0.0.0-8080-Processor22
> com.urbancode.anthill3.services.agent.AgentUpgradeService - error gettin
> g version for agent: Agent {
>   id:          201
>   ver:         23
>   name:        test
>   description: null
>   endpoint:    tcp://test:4568 (endpointId=MHQ3eHRzNnV5aDVlMHduMzQyMD)
> }
>
> I tried changing the host to another system that is currently online and
> upgraded to the latest version and the GUI still reports that it is
> running the wrong version, and it still doesn't let me delete it. The
> server is obviously confused about this agent.
>
> -----Original Message-----
> From: Ryan Smith [mailto:rws at urbancode.com] 
> Sent: Monday, June 02, 2008 7:48 AM
> To: Peter Steele
> Cc: AnthillPro user and support list.
> Subject: Re: [Anthill-pro] Cannot delete agent
>
> Peter,
>
> The upgrade will only target agents that it can connect to which makes
> sense because its referencing an invalid host. It could be possible that
> the process that checks periodically to mark agents offline is not
> running for some reason. The easiest way to check that is to restart the
> Anthill server. If the same behavior for this agent continues, the
> process is still running. If its not, then you will be able to remove
> it.
>
>
> Ryan
>
> Peter Steele wrote:
>   
>> Right now it is saying "offline - wrong agent version" and is in the
>> ignored list. If I move it into the configured list, its status
>>     
> changes
>   
>> to "Online -wrong agent version." If I then hit the "Upgrade" button,
>> the message "No agents were found that require an upgrade" is
>>     
> displayed.
>   
>> To answer your question, no, the agent process is not running, and in
>> fact, the agent's host is set to "test", which isn't even a real host
>>     
> in
>   
>> our network. So why the GUI is saying that the agent is online is a
>> mystery.
>>
>> -----Original Message-----
>> From: anthill-pro-bounces at lists.urbancode.com
>> [mailto:anthill-pro-bounces at lists.urbancode.com] On Behalf Of Ryan
>>     
> Smith
>   
>> Sent: Saturday, May 31, 2008 3:37 AM
>> To: AnthillPro user and support list.
>> Subject: Re: [Anthill-pro] Cannot delete agent
>>
>> Peter,
>>
>> The only time the delete is disabled is if the agent is online and it
>> should display either "Online" or "Offline - wrong agent version". The
>> second one should be corrected because its really "Online - wrong
>>     
> agent
>   
>> version". Is the agent process still running?
>>
>>
>> Ryan
>>
>> Peter Steele wrote:
>>     
>>> I have an agent that does not exist anymore, but I cannot delete the 
>>> server's reference to it. The X delete butten is disabled, even
>>>       
> though
>   
>>> it is in the ignored list as offline. It's also flagged as running
>>>       
> the
>   
>>> wrong version. If I move it into the active list, it shows that it is
>>>       
>
>   
>>> online and running the wrong version. I'm not sure why it thinks it
>>>       
> is
>   
>>> online because the server address it is pointing to doesn't exist.
>>>       
>> When 
>>     
>>> I move it back into the ignored list, it again shows as offline. So,
>>>       
>> how 
>>     
>>> can I delete this agent?
>>>
>>>  
>>>
>>>
>>>
>>>       
> ------------------------------------------------------------------------
>   
>>> _______________________________________________
>>> Anthill-pro mailing list
>>> Anthill-pro at lists.urbancode.com
>>> http://lists.urbancode.com/mailman/listinfo/anthill-pro
>>>       
>
>   

-- 
===========================================================
Ryan Smith.           		2044 Euclid Ave., Suite 600
Developer                   Cleveland, Ohio 44115
Urbancode, Inc.
                                email:  rws at urbancode.com
web:     www.urbancode.com      phone:  216-858-9000
web:     www.anthillpro.com     fax:    216-858-9602
===========================================================



More information about the Anthill-pro mailing list