Bug 715004 - Simple sync test not working
Summary: Simple sync test not working
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Katello
Classification: Retired
Component: WebUI
Version: 1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Shannon Hughes
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-21 15:07 UTC by Jeff Weiss
Modified: 2014-11-09 22:51 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
pulp-0.0.190-1.git.13.baee389.fc14.noarch
Last Closed: 2011-06-22 19:54:47 UTC


Attachments (Terms of Use)

Description Jeff Weiss 2011-06-21 15:07:29 UTC
Description of problem:
I created a simple repo and tried to sync it, got "Something when wrong" dialog

Version-Release number of selected component (if applicable):
katello-0.1.48-1.git.19.66d6564.fc14.noarch

How reproducible:


Steps to Reproduce:
1.  Create a custom provider, product, and repo via the API
2.  Go to the UI and try to sync the repo
3.
  
Actual results:
"Something when wrong"

Expected results:
Sync completes normally

Additional info:

Started POST "/sync_management/sync" for 10.11.9.134 at Tue Jun 21 10:33:17 -0400 2011
  Processing by SyncManagementController#sync as JS
  Parameters: {"repo"=>{"1308666783116-testrepo-1308666799031-ACME_Corporation"=>"1"}, "commit"=>"Synchronize Now", "authenticity_token"=>"6ttSyg7JqT/hnSOwqWCtTIM+Ii8O7crt6l3x8Qg3P1k=", "utf8"=>"✓", "product"=>{"1"=>"1"}}
Setting locale: en
Authorizing admin for sync_management/sync
Checking if role admin_role is allowed to "sync" in "sync_management" scoped []
Setting current user thread-local variable to admin
Resource POST request: /pulp/api/repositories/1308666783116-testrepo-1308666799031-ACME_Corporation/sync/, {}
Setting current user thread-local variable to nil
Completed   in 724ms

RestClient::NotAcceptable (406 Not Acceptable):
  lib/http_resource.rb:92:in `post'
  lib/resources/pulp.rb:204:in `sync'
  app/controllers/sync_management_controller.rb:127:in `sync_repos'
  app/controllers/sync_management_controller.rb:124:in `each'
  app/controllers/sync_management_controller.rb:124:in `inject'
  app/controllers/sync_management_controller.rb:124:in `sync_repos'
  app/controllers/sync_management_controller.rb:53:in `sync'
  lib/util/threadsession.rb:77:in `thread_locals'

Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.5/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms)
Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.5/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (4952.0ms)
Rendered /usr/lib/ruby/gems/1.8/gems/actionpack-3.0.5/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5160.7ms)

Comment 1 Dmitri Dolguikh 2011-06-22 19:36:46 UTC
cannot reproduce with latest katello from master (be27d182698457a7af9c8d2634fe26dd44e4090b) and latest pulp (0.0.192).

Comment 2 Jeff Weiss 2011-06-22 19:54:47 UTC
Re-tested using pulp 0.0.194, fixed.


Note You need to log in before you can comment on or make changes to this bug.