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 almost 8 years ago. Updated over 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

Also available in: Atom PDF