Bug 1312839
Summary: | [RFE] As a user I'd like to cancel running synchronization from CLI | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Tomas Strachota <tstrachota> |
Component: | Hammer | Assignee: | Tomas Strachota <tstrachota> |
Status: | CLOSED ERRATA | QA Contact: | Kedar Bidarkar <kbidarka> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.4 | CC: | bbuckingham, bkearney, cwelton, kbidarka, mmccune |
Target Milestone: | Unspecified | Keywords: | FutureFeature, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/13615 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-27 11:00:01 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Tomas Strachota
2016-02-29 11:03:52 UTC
Created from redmine issue http://projects.theforeman.org/issues/13615 Upstream bug assigned to tstrachota Moving to POST since upstream bug http://projects.theforeman.org/issues/13615 has been closed ------------- Anonymous Applied in changeset commit:hammer-cli-katello|c1b8eb02f2d6df720d5f399d355e6d1b1fcc6c65. [root@xyz ~]# hammer -u admin -p changeme capsule content info --id 2 Lifecycle Environments: 1) Name: DEV Organization: Default Organization Content Views: 1) Name: RHEL 7 CV Composite: no Last Published: 2016/05/24 12:11:22 Content: Hosts: 2 Products: 2 Yum repos: 3 Docker repos: 0 Packages: 15540 Package groups: 143 Errata: 1197 Puppet modules: 0 2) Name: RHEL 6 CV Composite: no Last Published: 2016/05/18 21:34:55 Content: Hosts: 2 Products: 2 Yum repos: 3 Docker repos: 0 Packages: 21902 Package groups: 405 Errata: 3639 Puppet modules: 0 3) Name: Capsule RHEL 7 CV Composite: no Last Published: 2016/05/19 14:40:36 Content: Hosts: 1 Products: 3 Yum repos: 3 Docker repos: 0 Packages: 11327 Package groups: 73 Errata: 1197 Puppet modules: 0 [root@xyz ~]# hammer -u admin -p changeme capsule content synchronization-status --id 2 Last sync: 2016/05/24 12:40:14 Status: Capsule is synchronized Currently running sync tasks: Last failure: Task id: Messages: [root@xyz ~]# hammer -u admin -p changeme capsule content synchronize --id 2 [...........................................] [65%] [root@xyz ~]# hammer -u admin -p changeme capsule content synchronization-status --id 2 Last sync: 2016/05/24 12:40:14 Status: Capsule is synchronized Currently running sync tasks: 1) Task id: 1a2671db-a5bd-4fc9-8a75-fd5ae439cf4b Progress: 0% Last failure: Task id: Messages: [root@xyz ~]# hammer -u admin -p changeme capsule content synchronization-status --id 2 Last sync: 2016/05/24 12:40:14 Status: Capsule is synchronized Currently running sync tasks: 1) Task id: 1a2671db-a5bd-4fc9-8a75-fd5ae439cf4b Progress: 65% Last failure: Task id: Messages: [root@xyz ~]# hammer -u admin -p changeme capsule content cancel-synchronization --id 2 Trying to cancel the synchronization... [root@xyz ~]# hammer -u admin -p changeme capsule content synchronization-status --id 2 Last sync: 2016/05/24 12:40:14 Status: Capsule is synchronized Currently running sync tasks: Last failure: Task id: 1a2671db-a5bd-4fc9-8a75-fd5ae439cf4b Messages: Task canceled Task canceled Task canceled [root@xyz ~]# hammer -u admin -p changeme capsule content synchronize --id 2 [......................................................................] [100%] Task canceled Task canceled Task canceled VERIFIED with sat62-snap12.1 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/RHBA-2016:1501 |