Bug 1138696
| Summary: | hammer import all does not propagate --synchronize and --wait options to content-view sub-command | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Tomas Lestach <tlestach> |
| Component: | Transitions | Assignee: | Tomas Lestach <tlestach> |
| Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.0.4 | CC: | bkearney, cperry, ggainey, jmontleo, mkollar, mmccune, xdmoon |
| Target Milestone: | Unspecified | ||
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-09-22 15:13:40 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1125243 | ||
|
Description
Tomas Lestach
2014-09-05 13:16:20 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been set to ? to ensure that it is properly evaluated for this release. hammer-cli-import.git(master): 5e891bf5ec51f1bd1e4e9173658bda4ca6e29707 Moving to POST, only fixed upstream currently Moving to MODIFIED to put in the errata. VERIFIED. rubygem-hammer_cli_import-0.10.4-1.2.el6sat.noarch
REPRO:
# hammer import all --verbose --wait --synchronize --manifest-directory /root --dry-run
Import organization with arguments --csv-file /tmp/exports/users.csv --upload-manifests-from /root
Import user with arguments --csv-file /tmp/exports/users.csv --new-passwords passwords_2014-09-20T22:09:42+0000.csv
Import host-collection with arguments --csv-file /tmp/exports/system-groups.csv
Import repository-enable with arguments --csv-file /tmp/exports/channels.csv --synchronize --wait
Import repository with arguments --csv-file /tmp/exports/repositories.csv --synchronize --wait
Import content-view with arguments --csv-file /tmp/exports/CHANNELS/export.csv --dir /tmp/exports/CHANNELS
Import activation-key with arguments --csv-file /tmp/exports/activation-keys.csv
Import template-snippet with arguments --csv-file /tmp/exports/kickstart-scripts.csv
Import config-file with arguments --csv-file /tmp/exports/config-files-latest.csv
Import content-host with arguments --csv-file /tmp/exports/system-profiles.csv --export-directory /root/rpm-working-dir
vs.
FIX:
# hammer import all --verbose --wait --synchronize --manifest-directory /root --dry-run
Import organization with arguments --csv-file /tmp/exports/users.csv --upload-manifests-from /root
Import user with arguments --csv-file /tmp/exports/users.csv --new-passwords passwords_2014-09-20T22:11:35+0000.csv
Import host-collection with arguments --csv-file /tmp/exports/system-groups.csv
Import repository-enable with arguments --csv-file /tmp/exports/channels.csv --synchronize --wait
Import repository with arguments --csv-file /tmp/exports/repositories.csv --synchronize --wait
Import content-view with arguments --csv-file /tmp/exports/CHANNELS/export.csv --dir /tmp/exports/CHANNELS --synchronize --wait
Import activation-key with arguments --csv-file /tmp/exports/activation-keys.csv
Import template-snippet with arguments --csv-file /tmp/exports/kickstart-scripts.csv
Import config-file with arguments --csv-file /tmp/exports/config-files-latest.csv
Import content-host with arguments --csv-file /tmp/exports/system-profiles.csv --export-directory /root/rpm-working-dir
>>> options --synchronize and --wait are correctly propagated to the import of content-views
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. http://rhn.redhat.com/errata/RHBA-2014-1279.html |