> I alsl get the error from the katello log:
>
> Processing by Katello::Api::V2::SystemsController#index as JSON
> Parameters: {"organization_id"=>"3", "page"=>"1", "search"=>"",
> "sort_by"=>"name", "sort_order"=>"ASC", "api_version"=>"v2"}
> Failed to retrieve all Katello::System search results (20/20 found.)
> Rendered
> /opt/rh/ruby193/root/usr/share/gems/gems/katello-2.1.0/app/views/katello/api/v2/systems/index.json.rabl
> within katello/api/v2/layouts/collection (5821.9ms)
> exception when talking to a remote client:
> Katello::Resources::Candlepin::Consumer: 410 Gone {"displayMessage":"Unit
> 455ae32a-8faa-428c-ad92-18a816627f96 has been
> deleted","requestUuid":"a748e055-ac6f-46a7-a957-d60373944e62","deletedId":"455ae32a-8faa-428c-ad92-18a816627f96"}
> (GET /candlepin/consumers/455ae32a-8faa-428c-ad92-18a816627f96)
> RestClient::Gone: Katello::Resources::Candlepin::Consumer: 410 Gone
> {"displayMessage":"Unit 455ae32a-8faa-428c-ad92-18a816627f96 has been
> deleted","requestUuid":"a748e055-ac6f-46a7-a957-d60373944e62","deletedId":"455ae32a-8faa-428c-ad92-18a816627f96"}
> (GET /candlepin/consumers/455ae32a-8faa-428c-ad92-18a816627f96)
> Body: {"displayMessage":"Unit 455ae32a-8faa-428c-ad92-18a816627f96 has been
> deleted","requestUuid":"a748e055-ac6f-46a7-a957-d60373944e62","deletedId":"455ae32a-8faa-428c-ad92-18a816627f96"}
>
Thanks Sinux, logs are helpful.
Could you try to run foreman-rake katello:clean_backend_objects as root and see
if you still get the same error?
>
> >
> > Hi there,
> >
> > I was trying to upgrade to katello 2.2, but for some reason, I failed, the
> > reason I want to upgrade is because I have some issue running on 2.1, one
> > of the issue was I can not list content hosts in "Hosts"–> "Content Hosts"
> > page, it only showed the circular loading icon spinning continuously,
> > After analyzing via firebug, I found one GET method got 400 return code,
> > the get url is:
> > https://katello.anim.odw.com.cn/katello/api/v2/systems?organization_id=3&page=1&search=&sort_by=name&sort_order=ASC,
> > looks normal, but the response I got was:
> >
> > {"displayMessage":"Katello::Resources::Candlepin::Consumer: 410 Gone {"displayMessage":"Unit 455ae32a-8faa-428c-ad92-18a816627f96 has been deleted","requestUuid":"695a9943-de23-4ce0-852b-7998a9bc1708","deletedId":"455ae32a-8faa-428c-ad92-18a816627f96"}
> > (GET /candlepin/consumers/455ae32a-8faa-428c-ad92-18a816627f96)","errors":["Katello::Resources::Candlepin::Consumer: 410 Gone
> > {"displayMessage":"Unit 455ae32a-8faa-428c-ad92-18a816627f96 has been deleted","requestUuid":"695a9943-de23-4ce0-852b-7998a9bc1708","deletedId":"455ae32a-8faa-428c-ad92-18a816627f96"}
> > (GET /candlepin/consumers/455ae32a-8faa-428c-ad92-18a816627f96)"]}
> >
> > it seems something was deleted, I am not quite clear what was that, and how we can fix it.
> >
> > Any one has any ideas please?
> >
> > Thanks
> > Sinux
> >
> >
> >
>
> –
> You received this message because you are subscribed to the Google Groups "Foreman users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com.
> To post to this group, send email to foreman-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/foreman-users.
> For more options, visit https://groups.google.com/d/optout.
Best,
···
On 05/18, sinux shen wrote:
> On Tuesday, May 19, 2015 at 11:29:38 AM UTC+8, sinux shen wrote:
–
Daniel Lobato Garcia
@eLobatoss
blog.daniellobato.me
daniellobato.me
GPG: http://keys.gnupg.net/pks/lookup?op=get&search=0x7A92D6DD38D6DE30
Keybase: https://keybase.io/elobato