Bug 749613

Summary: pulp-admin cds scheduling options should match pulp-admin repo options
Product: [Retired] Pulp Reporter: Jason Connor <jconnor>
Component: nodesAssignee: Jay Dobies <jason.dobies>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: mmccune, skarmark
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-24 20:12:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Jason Connor 2011-10-27 16:58:38 UTC
pulp-admin repo sync has new parameters for updating the schedule:
  --show-schedule      show existing schedule
  --delete-schedule    delete existing schedule
  --interval=INTERVAL  length of time between each run in iso8601 duration
                       format
  --runs=RUNS          number of times to run the scheduled sync, ommitting
                       implies running indefinitely
  --start=START        date and time of the first run in iso8601 combined date
                       and time format, ommitting implies starting immediately

pulp-admin cds register and update should match:
  CDS Sync Schedule:
    --interval=SCHEDULE_INTERVAL
                        length of time between each run in iso8601 duration
                        format
    --start=SCHEDULE_START
                        date and time of the first run in iso8601 combined
                        date and time format, ommitting implies starting
                        immediately
    --runs=SCHEDULE_RUNS
                        number of times to run the scheduled sync, ommitting
                        implies running indefinitely


  --remove_sync_schedule
                        removes scheduled syncs for this CDS

Comment 1 Jay Dobies 2011-12-07 20:50:47 UTC
I'm not sure if I should pitch this back as cannot reproduce or just to put it to QE, but it looks like this is already done.



Repositories:
-> pulp-admin repo sync --help
Usage: pulp-admin <options> repo sync <options>

Options:
  -h, --help           show this help message and exit
  --id=ID              repository id (required)
  --show-schedule      show existing schedule
  --delete-schedule    delete existing schedule
  --interval=INTERVAL  length of time between each run in iso8601 duration
                       format
  --runs=RUNS          number of times to run the scheduled sync, ommitting
                       implies running indefinitely
  --start=START        date and time of the first run in iso8601 combined date
                       and time format, ommitting implies starting immediately
  --exclude=EXCLUDE    elements to exclude: packages, errata and/or
                       distribution
  --timeout=TIMEOUT    repository sync timeout specified in iso8601 duration
                       format (P[n]Y[n]M[n]DT[n]H[n]M[n]S)
  --limit=LIMIT        limit download bandwidth per thread to value in KB/sec
  --threads=THREADS    number of threads to use for downloading content
  -F, --foreground     synchronize repository in the foreground




CDS Register:

-> pulp-admin cds register --help
Usage: pulp-admin <options> cds register <options>

Options:
  -h, --help            show this help message and exit
  --hostname=HOSTNAME   CDS hostname (required)
  --name=NAME           display name
  --description=DESCRIPTION
                        description of the CDS
  --cluster_id=CLUSTER_ID
                        if specified, the CDS will belong to the given cluster

  CDS Sync Schedule:
    --interval=SCHEDULE_INTERVAL
                        length of time between each run in iso8601 duration
                        format
    --start=SCHEDULE_START
                        date and time of the first run in iso8601 combined
                        date and time format, omitting implies starting
                        immediately
    --runs=SCHEDULE_RUNS
                        number of times to run the scheduled sync, omitting
                        implies running indefinitely



CDS Update:

-> pulp-admin cds update --help
Usage: pulp-admin <options> cds update <options>

Options:
  -h, --help            show this help message and exit
  --hostname=HOSTNAME   CDS hostname (required)
  --name=NAME           display name
  --description=DESCRIPTION
                        description of the CDS
  --cluster_id=CLUSTER_ID
                        assigns the CDS to the given group
  --remove_cluster      removes the CDS from a cluster if it is in one
  --remove_sync_schedule
                        removes scheduled syncs for this CDS

  CDS Sync Schedule:
    --interval=SCHEDULE_INTERVAL
                        length of time between each run in iso8601 duration
                        format
    --start=SCHEDULE_START
                        date and time of the first run in iso8601 combined
                        date and time format, omitting implies starting
                        immediately
    --runs=SCHEDULE_RUNS
                        number of times to run the scheduled sync, omitting
                        implies running indefinitely

Comment 2 Preethi Thomas 2012-01-03 16:19:24 UTC
verified
will keep this https://bugzilla.redhat.com/show_bug.cgi?id=710153 to verify the help

Comment 3 Preethi Thomas 2012-02-24 20:12:46 UTC
Pulp v1.0 is released
Closed Current Release.