I am also getting a 500 error going to the Content -> Sync Status page. I only just upgraded this morning and I haven't had a chance to investigate further.
On Fri, Dec 16, 2016 at 3:05 PM, 'Jason B. Nance' via Foreman users < [email protected]> wrote: > Team, > > I upgraded my Katello box from 3.1 to 3.2, and then to 3.2.1 and all hell > broke loose in terms of syncing packages, which led me to file this bug: > > http://projects.theforeman.org/issues/17715 > > ...because I'm using on demand for everything and I assumed that was > related as I initially discovered the issue trying to update subscribed > hosts. > > But then I did a fresh install of 3.2.1 and am getting 500 errors clicking > on Content -> Sync Status just like my upgraded host (and this is before > doing any customization - no products, CVs, etc). > > Is anyone else having any issues? I feel like I'm going crazy or > something... > > production.log says: > > 2016-12-16 14:54:30 5c1b2060 [app] [I] Started GET > "/katello/sync_management" for 192.168.16.133 at 2016-12-16 14:54:30 -0600 > 2016-12-16 14:54:31 5c1b2060 [app] [I] Processing by > Katello::SyncManagementController#index > as HTML > 2016-12-16 14:54:31 74681c86 [app] [I] Started POST > "/pulp/api/v2/repositories/search/" for 192.168.16.212 at 2016-12-16 > 14:54:31 -0600 > 2016-12-16 14:54:31 74681c86 [app] [F] > | ActionController::RoutingError (No route matches [POST] > "/pulp/api/v2/repositories/search"): > | lib/middleware/tagged_logging.rb:18:in `call' > | > | > 2016-12-16 14:54:31 5c1b2060 [katello/pulp_rest] [I] RestClient.post " > https://satellite.tresgeek.org/pulp/api/v2/repositories/search/", > "{\"criteria\":{\"filters\":{\"id\":{\"$in\":[]}}}}", "Accept"=>"*/*; > q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", > "Content-Length"=>"42", "accept"=>"application/json", > "content_type"=>"application/json" > | \n# => 404 NotFound | application/json 36 bytes > | > 2016-12-16 14:54:31 5c1b2060 [app] [I] Completed 500 Internal Server Error > in 129ms (ActiveRecord: 7.6ms) > 2016-12-16 14:54:31 5c1b2060 [app] [F] > | RestClient::ResourceNotFound (404 Resource Not Found): > | katello (3.2.1.1) app/models/katello/glue/pulp/repos.rb:53:in > `prepopulate!' > | katello (3.2.1.1) app/helpers/katello/sync_management_helper.rb:38:in > `collect_repos' > | katello (3.2.1.1) > app/controllers/katello/sync_management_controller.rb:27:in > `index' > | app/controllers/concerns/application_shared.rb:14:in `set_timezone' > | lib/middleware/catch_json_parse_errors.rb:9:in `call' > | lib/middleware/tagged_logging.rb:18:in `call' > | > | > 2016-12-16 14:54:31 5c1b2060 [app] [I] Started GET "/favicon.ico" for > 192.168.16.133 at 2016-12-16 14:54:31 -0600 > 2016-12-16 14:54:31 5c1b2060 [app] [F] > | ActionController::RoutingError (No route matches [GET] "/favicon.ico"): > | lib/middleware/tagged_logging.rb:18:in `call' > | > | > > Here's my foreman-installer line: > > foreman-installer \ > --scenario katello \ > --enable-foreman-plugin-bootdisk \ > --enable-foreman-plugin-discovery \ > --enable-foreman-plugin-hooks \ > --enable-foreman-plugin-openscap \ > --enable-foreman-plugin-remote-execution \ > --enable-foreman-plugin-templates \ > --enable-foreman-proxy-plugin-openscap \ > --enable-foreman-proxy-plugin-remote-execution-ssh \ > --certs-city 'My City' \ > --certs-org 'My Org' \ > --certs-org-unit Katello \ > --certs-state Mystate \ > --foreman-admin-email [email protected] \ > --foreman-admin-password foobar \ > --foreman-configure-epel-repo false \ > --foreman-configure-scl-repo false \ > --foreman-email-delivery-method sendmail \ > --foreman-initial-location Lab \ > --foreman-initial-organization 'My Org' \ > --foreman-ipa-authentication true \ > --foreman-puppetrun true \ > --foreman-plugin-discovery-install-images true \ > --foreman-proxy-manage-puppet-group true \ > --foreman-proxy-manage-sudoersd true \ > --foreman-proxy-puppetrun-provider ssh \ > --foreman-proxy-realm true \ > --foreman-proxy-realm-principal [email protected] \ > --foreman-proxy-templates true \ > --foreman-proxy-tftp true \ > --foreman-proxy-plugin-openscap-configure-openscap-repo \ > > -- > 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 [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
