Bug 1459931
Summary: | hammer repository update missing organization-id and organization options | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Djebran Lezzoum <dlezzoum> |
Component: | Repositories | Assignee: | Brad Buckingham <bbuckingham> |
Status: | CLOSED ERRATA | QA Contact: | Nikhil Kathole <nkathole> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 6.3.0 | CC: | bbuckingham, bkearney, dhlavacd, ehelms, mhulan, nkathole, tstrachota |
Target Milestone: | Unspecified | Keywords: | Regression, Triaged |
Target Release: | Unused | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | tfm-rubygem-hammer_cli_katello-0.10.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-02-21 16:51:07 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
Djebran Lezzoum
2017-06-08 15:24:06 UTC
With the latest upstream katello 3.4 builds below, I do see the --organization and --organization-id parameters; therefore, going to move this to POST for verification with the next build. tfm-rubygem-katello-3.4.0.2-2.el7.noarch tfm-rubygem-hammer_cli_katello-0.10.0-1.el7.noarch hammer> repository update --organization-id 1 --id 2 --new-name custom-updated Repository updated hammer> repository update --help Usage: repository update [OPTIONS] Options: --checksum-type CHECKSUM_TYPE checksum of the repository, currently 'sha1' & 'sha256' are supported.' --docker-upstream-name DOCKER_UPSTREAM_NAME name of the upstream docker repository --download-policy DOWNLOAD_POLICY download policy for yum repos (either 'immediate', 'on_demand', or 'background') Possible value(s): 'immediate', 'on_demand', 'background' --gpg-key GPG_KEY_NAME Name to search by --gpg-key-id GPG_KEY_ID gpg key numeric identifier --id ID repository ID --mirror-on-sync MIRROR_ON_SYNC true if this repository when synced has to be mirrored from the source and stale rpms removed. One of true/false, yes/no, 1/0. --name NAME Repository name to search by --new-name NEW_NAME New name for the repository --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID Organization ID to search by --organization-label ORGANIZATION_LABEL Organization label to search by --ostree-upstream-sync-depth OSTREE_UPSTREAM_SYNC_DEPTH if a custom sync policy is chosen for ostree repositories then a 'depth' value must be provided. --ostree-upstream-sync-policy OSTREE_UPSTREAM_SYNC_POLICY policies for syncing upstream ostree repositories. Possible value(s): 'latest', 'all', 'custom' --product PRODUCT_NAME Product name to search by --product-id PRODUCT_ID product numeric identifier --publish-via-http ENABLE Publish Via HTTP One of true/false, yes/no, 1/0. --upstream-password UPSTREAM_PASSWORD Password of the upstream repository user for authentication --upstream-username UPSTREAM_USERNAME Username of the upstream repository user for authentication --url URL the feed url of the original repository --verify-ssl-on-sync VERIFY_SSL_ON_SYNC if true, Katello will verify the upstream url's SSL certifcates are signed by a trusted CA. One of true/false, yes/no, 1/0. -h, --help print help hammer> VERIFIED Version Tested: Satellite-6.3 Snap 12 steps: 1. Created a repository 2. hammer repository update --help >>> Usage: hammer repository update [OPTIONS] Options: --checksum-type CHECKSUM_TYPE checksum of the repository, currently 'sha1' & 'sha256' are supported.' --docker-upstream-name DOCKER_UPSTREAM_NAME name of the upstream docker repository --download-policy DOWNLOAD_POLICY download policy for yum repos (either 'immediate', 'on_demand', or 'background') Possible value(s): 'immediate', 'on_demand', 'background' --gpg-key GPG_KEY_NAME Name to search by --gpg-key-id GPG_KEY_ID gpg key numeric identifier --id ID repository ID --mirror-on-sync MIRROR_ON_SYNC true if this repository when synced has to be mirrored from the source and stale rpms removed. One of true/false, yes/no, 1/0. --name NAME Repository name to search by --new-name NEW_NAME New name for the repository --organization ORGANIZATION_NAME Organization name to search by --organization-id ORGANIZATION_ID Organization ID to search by --organization-label ORGANIZATION_LABEL Organization label to search by --ostree-upstream-sync-depth OSTREE_UPSTREAM_SYNC_DEPTH if a custom sync policy is chosen for ostree repositories then a 'depth' value must be provided. --ostree-upstream-sync-policy OSTREE_UPSTREAM_SYNC_POLICY policies for syncing upstream ostree repositories. Possible value(s): 'latest', 'all', 'custom' --product PRODUCT_NAME Product name to search by --product-id PRODUCT_ID product numeric identifier --publish-via-http ENABLE Publish Via HTTP One of true/false, yes/no, 1/0. --upstream-password UPSTREAM_PASSWORD Password of the upstream repository user for authentication --upstream-username UPSTREAM_USERNAME Username of the upstream repository user for authentication --url URL the feed url of the original repository --verify-ssl-on-sync VERIFY_SSL_ON_SYNC if true, Katello will verify the upstream url's SSL certifcates are signed by a trusted CA. One of true/false, yes/no, 1/0. -h, --help print help 3. hammer repository info --product Sat6Tools7 --name sat6tool7 --organization-id 1 >>> ID: 6 Name: sat6tool7 Label: sat6tool7 Organization: Default Organization Red Hat Repository: no Content Type: yum Checksum Type: sha256 Mirror on Sync: yes URL: http://url/repos Publish Via HTTP: yes Published At: http://$HOST/pulp/repos/Default_Organization/Library/custom/Sat6Tools7/sat6tool7/ Relative Path: Default_Organization/Library/custom/Sat6Tools7/sat6tool7 Download Policy: immediate Product: ID: 39 Name: Sat6Tools7 GPG Key: Sync: Status: Success Last Sync Date: 1 days Created: 2017/08/16 12:01:25 Updated: 2017/08/16 12:01:49 Content Counts: Packages: 62 Package Groups: 1 Errata: 0 4. hammer repository update --organization-id 1 --id 6 --new-name new-updated >>> Repository updated 5. hammer repository info --product Sat6Tools7 --id 6 --organization-id 1 >>> ID: 6 Name: new-updated Label: sat6tool7 Organization: Default Organization Red Hat Repository: no Content Type: yum Checksum Type: sha256 Mirror on Sync: yes URL: http://url/repos/ Publish Via HTTP: yes Published At: http://$HOST/pulp/repos/Default_Organization/Library/custom/Sat6Tools7/sat6tool7/ Relative Path: Default_Organization/Library/custom/Sat6Tools7/sat6tool7 Download Policy: immediate Product: ID: 39 Name: Sat6Tools7 GPG Key: Sync: Status: Success Last Sync Date: 1 days Created: 2017/08/16 12:01:25 Updated: 2017/08/22 06:16:32 Content Counts: Packages: 62 Package Groups: 1 Errata: 0 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
>
> For information on the advisory, and where to find the updated files, follow the link below.
>
> If the solution does not work for you, open a new bug report.
>
> https://access.redhat.com/errata/RHSA-2018:0336
|