Bug 750618 - Add --checksum_type to "pulp-admin repo update"
Summary: Add --checksum_type to "pulp-admin repo update"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: Sprint 30
Assignee: Pradeep Kilambi
QA Contact: Preethi Thomas
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-01 19:14 UTC by Chris St. Pierre
Modified: 2013-09-09 16:34 UTC (History)
1 user (show)

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


Attachments (Terms of Use)

Description Chris St. Pierre 2011-11-01 19:14:20 UTC
Description of problem:

If you create a repository with the default sha256 checksum type, you cannot use it to install RHEL 5.  Unfortunately, it is not currently possible to change the checksum type after a repo has been created, so you have to delete and then re-create the repo.

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

0.0.237

How reproducible:

Always.

Steps to Reproduce:

1. Create a repository.
2. Decide that you want to change the checksum type.
3. Search in vain for the --checksum_type option to "pulp-admin repo update".

Actual results:

No such option exists.

Expected results:

It should.

Additional info:

Comment 1 Pradeep Kilambi 2011-11-14 19:56:25 UTC
fixed! commit 0d5461031cad392c951f1c4758340d17713766ca

Comment 2 Jeff Ortel 2011-11-17 03:06:40 UTC
build: 0.249

Comment 3 Preethi Thomas 2011-11-28 20:55:51 UTC
verified

[root@preethi ~]# rpm -q pulp
pulp-0.0.251-1.fc15.noarch

[root@preethi ~]# pulp-admin repo update --help
Usage: pulp-admin <options> repo update <options>

Options:
  -h, --help            show this help message and exit
  --id=ID               repository id (required)
  --name=NAME           common repository name
  --arch=ARCH           package arch the repository should support
  --feed=FEED           url feed to populate the repository (repository must
                        be empty to change path component of the url)
  --feed_ca=FEED_CA     path location to the feed's ca certificate
  --feed_cert=FEED_CERT
                        path location to the feed's entitlement certificate
  --feed_key=FEED_KEY   path location to the feed's entitlement certificate
                        key
  --remove_feed_cert    if specified, the feed certificate information will be
                        removed from this repo
  --consumer_ca=CONSUMER_CA
                        path location to the ca certificate used to verify
                        consumer requests
  --consumer_cert=CONSUMER_CERT
                        path location to the entitlement certificate consumers
                        will be provided at bind to grant access to this repo
  --consumer_key=CONSUMER_KEY
                        path location to the consumer entitlement certificate
                        key
  --remove_consumer_cert
                        if specified, the consumer certificate information
                        will be removed from this repo
  --addgroup=ADDGROUP   group id to be added to the repository
  --rmgroup=RMGROUP     group id to be removed from the repository
  --addkeys=ADDKEYS     a ',' separated list of directories and/or files
                        containing GPG keys
  --rmkeys=RMKEYS       a ',' separated list of GPG key names
  --checksum_type=CHECKSUM_TYPE
                        checksum type to use for repository metadata; this
                        will perform a metadata update
[root@preethi ~]# 

[root@preethi ~]# pulp-admin repo update --id=f15 --checksum_type=sha256
Successfully updated repository [ f15 ]

Comment 4 Preethi Thomas 2012-02-24 20:12:59 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.