Re: [go-cd] go-agent missing in the "Agents" tab

2017-09-12 Thread Santhosh Basavaraju
We debug and found it to be a duplicate agent with the same GUID issue. 
This got repeated again now. 

https://github.com/gocd/gocd/issues/3844

Please lemme if you need any other information. 



On Thursday, 13 April 2017 10:16:33 UTC+5:30, Ketan Padegaonkar wrote:
>
> Can you log an issue on github with the complete stack trace?
>
> On Thu, Apr 13, 2017 at 4:46 AM Santhosh Basavaraju  > wrote:
>
>> Hi ,
>>
>> All the agents from the Agents tab disappeared suddenly and when i click 
>> in the "Agents" tab i got the below error in go server logs. Go server 
>> restart didn't help. 
>>
>> 2017-04-12 17:08:10,952 FATAL [qtp999661724-6576104] Rails:? - 
>>
>> ActionController::UrlGenerationError (No route matches 
>> {:action=>"update", :controller=>"api_v4/agents", :uuid=>""} missing 
>> required keys: [:uuid]):
>>
>>   app/controllers/application_controller.rb:196:in `url_for'
>>
>>   app/presenters/api_v4/agent_representer.rb:27:in `AgentRepresenter'
>>
>>   app/presenters/api_v3/base_representer.rb:102:in `to_hash'
>>
>>   app/presenters/api_v3/base_representer.rb:102:in `to_hash'
>>
>>   app/controllers/api_v4/agents_controller.rb:27:in `index'
>>
>>   lib/jetty_weak_etag_middleware.rb:35:in `call'
>>
>>   lib/catch_json_parse_errors.rb:8:in `call'
>>
>>
>> I realized it was a UI issue and the agents were all working fine as my 
>> pipelines worked without any issue.
>>
>>
>> In what case do we face this issue? 
>>
>>
>> Regards
>>
>> San
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "go-cd" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to go-cd+un...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to go-cd+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [go-cd] go-agent missing in the "Agents" tab

2017-04-12 Thread Ketan Padegaonkar
Can you log an issue on github with the complete stack trace?

On Thu, Apr 13, 2017 at 4:46 AM Santhosh Basavaraju <
e.patra.benk...@gmail.com> wrote:

> Hi ,
>
> All the agents from the Agents tab disappeared suddenly and when i click
> in the "Agents" tab i got the below error in go server logs. Go server
> restart didn't help.
>
> 2017-04-12 17:08:10,952 FATAL [qtp999661724-6576104] Rails:? -
>
> ActionController::UrlGenerationError (No route matches {:action=>"update",
> :controller=>"api_v4/agents", :uuid=>""} missing required keys: [:uuid]):
>
>   app/controllers/application_controller.rb:196:in `url_for'
>
>   app/presenters/api_v4/agent_representer.rb:27:in `AgentRepresenter'
>
>   app/presenters/api_v3/base_representer.rb:102:in `to_hash'
>
>   app/presenters/api_v3/base_representer.rb:102:in `to_hash'
>
>   app/controllers/api_v4/agents_controller.rb:27:in `index'
>
>   lib/jetty_weak_etag_middleware.rb:35:in `call'
>
>   lib/catch_json_parse_errors.rb:8:in `call'
>
>
> I realized it was a UI issue and the agents were all working fine as my
> pipelines worked without any issue.
>
>
> In what case do we face this issue?
>
>
> Regards
>
> San
>
> --
> You received this message because you are subscribed to the Google Groups
> "go-cd" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to go-cd+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to go-cd+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[go-cd] go-agent missing in the "Agents" tab

2017-04-12 Thread Santhosh Basavaraju
Hi ,

All the agents from the Agents tab disappeared suddenly and when i click in 
the "Agents" tab i got the below error in go server logs. Go server restart 
didn't help. 

2017-04-12 17:08:10,952 FATAL [qtp999661724-6576104] Rails:? - 

ActionController::UrlGenerationError (No route matches {:action=>"update", 
:controller=>"api_v4/agents", :uuid=>""} missing required keys: [:uuid]):

  app/controllers/application_controller.rb:196:in `url_for'

  app/presenters/api_v4/agent_representer.rb:27:in `AgentRepresenter'

  app/presenters/api_v3/base_representer.rb:102:in `to_hash'

  app/presenters/api_v3/base_representer.rb:102:in `to_hash'

  app/controllers/api_v4/agents_controller.rb:27:in `index'

  lib/jetty_weak_etag_middleware.rb:35:in `call'

  lib/catch_json_parse_errors.rb:8:in `call'


I realized it was a UI issue and the agents were all working fine as my 
pipelines worked without any issue.


In what case do we face this issue? 


Regards

San

-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to go-cd+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.