Bug 976845

Summary: the iso repo sync section does not have a status command
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: iso-supportAssignee: Sayli Karmarkar <skarmark>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: low Docs Contact:
Priority: low    
Version: 2.2 BetaCC: cperry, mhrivnak, nobody, skarmark
Target Milestone: ---Keywords: Triaged
Target Release: 2.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-09 14:31:55 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 Preethi Thomas 2013-06-21 15:58:39 UTC
Description of problem: 
There is no status command in iso sync

[root@ibm-x3550m3-13 ~]# pulp-admin iso repo sync
Usage: pulp-admin [SUB_SECTION, ..] COMMAND
Description: run, schedule, or view the status of sync tasks

Available Sections:
  schedules - manage repository sync schedules

Available Commands:
  run - triggers an immediate sync of a repository
[root@ibm-x3550m3-13 ~]# pulp-admin iso repo sync run
Command: run
Description: triggers an immediate sync of a repository

Available Arguments:

  --repo-id - (required) unique identifier; only alphanumeric, ., -, and _
              allowed
  --bg      - if specified, the CLI process will end but the process will
              continue on the server; the progress can be later displayed using
              the status command
The following options are required but were not specified:
  --repo-id
[root@ibm-x3550m3-13 ~]# 



Version-Release number of selected component (if applicable): pulp-builtins-admin-extensions-2.2.0-0.5.beta.fc18.noarch


How reproducible:


Steps to Reproduce:
1. Create and sync some iso repository
2. pulp-admin iso repo publish run --repo-id=your_repo_name --bg
3. pulp-admin iso repo publish status

Actual results: The command does not exist


Expected results: The status of the publish task is shown.


Additional info:

--- Additional comment from Michael Hrivnak on 2013-06-21 11:52:25 EDT ---

change the description, don't worry about adding a status command.

Comment 1 Sayli Karmarkar 2013-09-06 22:25:14 UTC
commit 1b8f8d5dcdccd4199d88b1b4671c68aef5cad379
Author: Sayli Karmarkar <skarmark>
Date:   Fri Sep 6 15:19:39 2013 -0700

    976845 - updating descriptions for iso repo sync and publish commands as both don't support status sub-command

$ pulp-admin iso repo sync
Usage: pulp-admin [SUB_SECTION, ..] COMMAND
Description: run or schedule sync tasks

Available Sections:
  schedules - manage repository sync schedules

Available Commands:
  run - triggers an immediate sync of a repository

$ pulp-admin iso repo publish
Usage: pulp-admin [SUB_SECTION, ..] COMMAND
Description: run publish tasks

Available Commands:
  run - triggers an immediate publish of a repository

Comment 2 Jeff Ortel 2013-09-12 22:36:07 UTC
build: 2.3.0-0.10.alpha

Comment 3 Preethi Thomas 2013-09-19 18:07:33 UTC
verified

[root@pulp-v2-server ~]# rpm -qa pulp-admin-client
pulp-admin-client-2.3.0-0.14.alpha.el6.noarch
[root@pulp-v2-server ~]#  pulp-admin iso repo sync
Usage: pulp-admin [SUB_SECTION, ..] COMMAND
Description: run or schedule sync tasks

Available Sections:
  schedules - manage repository sync schedules

Available Commands:
  run - triggers an immediate sync of a repository
[root@pulp-v2-server ~]# 
[root@pulp-v2-server ~]# 
[root@pulp-v2-server ~]# pulp-admin iso repo publish
Usage: pulp-admin [SUB_SECTION, ..] COMMAND
Description: run publish tasks

Available Commands:
  run - triggers an immediate publish of a repository
[root@pulp-v2-server ~]#

Comment 4 Preethi Thomas 2013-12-09 14:31:55 UTC
Pulp 2.3 released.