Bug 969529 - scheduling install have required parameters --name, --content-unit
Summary: scheduling install have required parameters --name, --content-unit
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: consumers
Version: Master
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 2.2.0
Assignee: Jay Dobies
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-31 17:38 UTC by Preethi Thomas
Modified: 2013-09-10 15:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-09-10 15:42:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Preethi Thomas 2013-05-31 17:38:34 UTC
Description of problem:

Package/Errata install has the  following parmeters.  not sure why --content-unit and --name are required.

Also another observation is why the recurrence is needed in the schedule for package install, if the package is already installed.


[root@ibm-x3550m3-09 ~]# pulp-admin rpm consumer package install schedules createCommand: create
Description: adds a new scheduled install operation

Available Arguments:

  --schedule, -s          - (required) time to execute in iso8601 format
                            (yyyy-mm-ddThh:mm:ssZ/PiuT); the number of
                            recurrences may be specified in this value
  --failure-threshold, -f - number of failures before the schedule is
                            automatically disabled; unspecified means the
                            schedule will never be automatically disabled
  --consumer-id           - (required) unique identifier; only alphanumeric, -,
                            and _ allowed
  --content-unit          - (required) content unit id; may be repeated for
                            multiple content units
  --name, -n              - (required) package name; may be repeated for
                            multiple packages

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Jay Dobies 2013-06-06 14:25:00 UTC
https://github.com/pulp/pulp_rpm/pull/230

Comment 2 Jeff Ortel 2013-06-06 16:19:47 UTC
build: 2.2.0-0.2.beta.

Some of these were likely included in an earlier build but found them this time with a better BZ query.

Comment 3 Jeff Ortel 2013-06-11 14:15:37 UTC
build: 2.2.0-0.3.beta

Comment 4 Preethi Thomas 2013-06-20 17:52:42 UTC
verified
[root@ibm-x3550m3-13 ~]# rpm -q pulp-server
pulp-server-2.2.0-0.4.beta.fc18.noarch
[root@ibm-x3550m3-13 ~]# 

[root@ibm-x3550m3-13 ~]# pulp-admin rpm consumer package install schedules create
Command: create
Description: adds a new scheduled install operation

Available Arguments:

  --schedule, -s          - (required) time to execute in iso8601 format
                            (yyyy-mm-ddThh:mm:ssZ/PiuT); the number of
                            recurrences may be specified in this value
  --failure-threshold, -f - number of failures before the schedule is
                            automatically disabled; unspecified means the
                            schedule will never be automatically disabled
  --consumer-id           - (required) unique identifier; only alphanumeric, .,
                            -, and _ allowed
  --name, -n              - (required) package name; may be repeated for
                            multiple packages
The following options are required but were not specified:
  --schedule
  --consumer-id
  --name
[root@ibm-x3550m3-13 ~]# 
[root@ibm-x3550m3-13 ~]#

Comment 5 Preethi Thomas 2013-09-10 15:42:54 UTC
2.2 released
http://repos.fedorapeople.org/repos/pulp/pulp/stable/2.2/


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