Bug 749613 - pulp-admin cds scheduling options should match pulp-admin repo options
Summary: pulp-admin cds scheduling options should match pulp-admin repo options
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: nodes
Version: 1.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jay Dobies
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-27 16:58 UTC by Jason Connor
Modified: 2014-03-31 01:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-24 20:12:46 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.