Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the troubleshoot item for "Calling Remote API Errors" #45

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions containers/beta-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,7 @@ preflight check container scan.connect.redhat.com/ospid-[PRODUCTION-project-ID]/
### 8. Submit Results

<b>Running container policy checks against a container that passes all tests needed to submit to Red Hat:</b>

*Non-Red Hat Container Registry*

```
preflight check container registry.example.org/[your-namespace]/[image-name]:[tag] \
--submit \
Expand Down
6 changes: 5 additions & 1 deletion containers/troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
### Common Issues
* [Authorization Errors](#authorizationerrors)
* [File Not Found Errors](#filenotfound)

* [Calling Remote API Errors](#callingremoteapierrors)
## <a id="runasnonroot"></a>RunAsNonRoot
The certification tooling is verifying that the USER is declared in the dockerfile and is not one of the following:
- USER root
Expand Down Expand Up @@ -62,3 +62,7 @@ Possible causes:
## <a id="filenotfound"></a>File Not Found Errors
Possible causes:
- You are not specifying the full path of the docker config file: please make sure you are using the full path, not the relative path. The file should only include the credentials for the image being certified.

## <a id="callingremoteapierrors"></a>Calling Remote API Errors
Possible causes:
- You are using the old opsid in --certification-project-id, you could find the project id in project link https://connect.redhat.com/projects/1234567890/overview
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the wording here should be consistend with the --help output of preflight You can see that verbiage here