Bug 1164251

Summary: capsule content synchronize: invalid example
Product: Red Hat Satellite Reporter: Pavel Moravec <pmoravec>
Component: Docs Install GuideAssignee: Megan Lewis <melewis>
Status: CLOSED CURRENTRELEASE QA Contact: Hayley Hudgeons <hhudgeon>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0.4   
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Build Name: 22922, Installation Guide-6.0-1 Build Date: 03-10-2014 10:50:13 Topic ID: 24318-708786 [Latest]
Last Closed: 2015-07-15 05:25:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Pavel Moravec 2014-11-14 13:15:18 UTC
Title: Adding Lifecycle Environments to a Red&nbsp;Hat Satellite Capsule Server

Describe the issue:
In step 5: "Synchronize the content from the Satellite Server's environment to the Satellite Capsule Server:", the second example

hammer capsule content synchronize --id 1 --environment-id 1

is invalid. capsule with id 1 is everytime the internal one, and one can synchronize only external capsule servers. Synchronizing internal capsule is done via "hammer repository synchronize" command.


Suggestions for improvement:
Replace "--id 1" by either "--id <external_capsule_id>" (to express it is applicable to _external_ capsules only) or "--id 2" (to be in line with numeric id of environment).

Additional information:

Comment 1 Pavel Moravec 2014-11-14 13:21:36 UTC
FYI when one tries to execute that command, (s)he gets confusing error:

# hammer -u admin -p BLFqs2jM4WZoi9jn capsule content synchronize --id 1
Could not synchronize capsule content:
  Couldn't find SmartProxy with id=1 [WHERE "features"."name" IN ('Pulp Node')]
#

I requested to change that error string in bz164233.

Comment 3 Athene Chan 2014-11-18 03:04:00 UTC
Hi Pavel,

Thank you for the feedback. We'll add this into the prioritization list. Updating the ticket once we work on this.

Cheers,
Athene

Comment 5 Athene Chan 2015-03-24 04:45:09 UTC
This was published in the December Async. looks all good.