Project

General

Profile

Actions

Bug #18648

closed

sync to smart proxy with content errors "Couldn't find SmartProxy with 'id'=2 [WHERE 1=0]"

Added by Thomas McKay about 7 years ago. Updated almost 6 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Foreman Proxy Content
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

To reproduce, create a capsule w/ "content" and attempt to sync a lifecycle environment.

Error happens here

https://github.com/Katello/katello/blob/master/app/lib/actions/pulp/abstract.rb#L10

but there may be other locations.

It was suggested that a possible solution is to set User.current = User.anonymous_api_admin


Related issues 1 (0 open1 closed)

Is duplicate of Katello - Bug #18656: syncing a capsule fails with ActiveRecord::RecordNotFound Couldn't find SmartProxy with 'id'=2ClosedJustin Sherrill02/23/2017Actions
Actions #2

Updated by Thomas McKay about 7 years ago

  • Status changed from New to Duplicate
Actions #3

Updated by Eric Helms about 7 years ago

  • translation missing: en.field_release set to 166
Actions #4

Updated by Eric Helms about 7 years ago

  • Is duplicate of Bug #18656: syncing a capsule fails with ActiveRecord::RecordNotFound Couldn't find SmartProxy with 'id'=2 added
Actions

Also available in: Atom PDF