Bug 1523993
| Summary: | [RFE] satellite-clone should provide an option to get detailed or verbose output | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Gauravi <gapatil> |
| Component: | Satellite Clone | Assignee: | John Mitsch <jomitsch> |
| Status: | CLOSED DUPLICATE | QA Contact: | Katello QA List <katello-qa-list> |
| Severity: | high | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 6.3.0 | CC: | ahumbe, bkearney, jomitsch, mmccune, rjerrido, sthirugn |
| Target Milestone: | Unspecified | Keywords: | FutureFeature |
| Target Release: | Unused | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-02-12 20:51:03 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
Gauravi
2017-12-09 12:34:32 UTC
*** This bug has been marked as a duplicate of bug 1523954 *** Hi John, This bz is different than 1523954, The intention of this bz is to get a flag to debug output on the console. When we run # ansible-playbook command with -vvv option then we get detailed/debug output. Same way we need option with satellite-clone command. In the bz 1523954: we are expecting progress bar or something like moving dots "." to indicate that script is working in the backend and not hung. After the " [WARNING]: " message satellite-clone script takes very long time to show further details/steps output. This makes an impression to the user that command is hung so there should be some indication to the user that work is going on in the backend. Thanks Ashish, a verbose flag is coming in 1.2.0 as well # rpm -q satellite-clone
satellite-clone-1.2.0-1.el7sat.noarch
# satellite-clone --help
usage: satellite-clone [-h] [-v] [--start-at-task START_AT_TASK] [--step]
[--list-tasks]
optional arguments:
-h, --help show this help message and exit
-v, --verbose verbose output
--start-at-task START_AT_TASK
Start at a specific task
--step interactive: confirm each task before running
--list-tasks list tasks that will be run in the playbook
Confirmed, runs now with more verbose output
Verified as per https://bugzilla.redhat.com/show_bug.cgi?id=1523954#c4. Note that there is no verbose mode now, but the current running ansible tasks will be displayed by the satellite-clone command. satellite-clone --help usage: satellite-clone [-h] [--start-at-task START_AT_TASK] [--step] [--list-tasks] [--flush-cache] optional arguments: -h, --help show this help message and exit --start-at-task START_AT_TASK Start at a specific task --step interactive: confirm each task before running --list-tasks list tasks that will be run in the playbook --flush-cache clear the fact cache and run playbook Additional note - The verbose mode was removed as it does not play nicely with the Ansible playbook python module we use in the production script. I'm looking into it more, but it *may* be an issue on Ansible's end. Either way, once it is straightened out, verbose mode will be added back in A workaround to run verbose mode is run "ansible-playbook -vvv -i /usr/share/satellite-clone/inventory /usr/share/satellite-clone/satellite-clone-playbook.yml" *** This bug has been marked as a duplicate of bug 1523954 *** |