Bug 1785613
| Summary: | Templates Export to git repo is failing with error : <branch> did not find file known to git | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Jitendra Yejare <jyejare> |
| Component: | Templates Plugin | Assignee: | Ondřej Pražák <oprazak> |
| Status: | CLOSED ERRATA | QA Contact: | Ondrej Gajdusek <ogajduse> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.7.0 | CC: | mhulan, oprazak, pcreech |
| Target Milestone: | 6.7.0 | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | tfm-rubygem-foreman_templates-7.0.6-1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-04-14 13:28:08 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: | 1778146 | ||
Created redmine issue https://projects.theforeman.org/issues/28716 from this bug Upstream bug assigned to oprazak Upstream bug assigned to oprazak Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/28716 has been resolved. 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-2020:1454 Resetting the QA assignee to set the `qe_test_coverage` based on current test coverage and decide on the flag/implementation if not covered. Pending PR that adds the coverage: https://github.com/SatelliteQE/robottelo/pull/9199 |
Description of problem: "Export to git {Note: before that, I did purging}" is failing with error : Error : "git '--git-dir=/tmp/d20191218-16244-1zdqb6/.git' '--work-tree=/tmp/d20191218-16244-1zdqb6' checkout 'master' 2>&1:error: pathspec 'master' did not match any file(s) known to git." Version-Release number of selected component (if applicable): Satellite 6.7 snap 6 How reproducible: Always Steps to Reproduce: 1. Attempt to export templates from satellite to any git repository. (Make sure you have added foreman public key to the repo already) Actual results: "Export to git {Note: before that, I did purging}" is failing with error : Error : "git '--git-dir=/tmp/d20191218-16244-1zdqb6/.git' '--work-tree=/tmp/d20191218-16244-1zdqb6' checkout 'master' 2>&1:error: pathspec 'master' did not match any file(s) known to git." Expected results: The successful template export to Git repo. Additional info: