troubleshooting
Troubleshooting Pulp
Section titled “Troubleshooting Pulp”Uploaded package not available in repository
Section titled “Uploaded package not available in repository”- Ensure that a content has been created for the uploaded package
pulp deb content list --package=<package-name> --version=<package-version> --architecture=<architecture>pulp rpm content list --name=<package-name> --version=<package-version> --arch=<architecture>If not, upload the package again, and ensure the task has completed successfully.
- Get href of the latest version of the repository
pulp deb repository show --name=<repository-name> | jq -r '.latest_version_href'pulp rpm repository show --name=<repository-name> | jq -r '.latest_version_href'- Check if package is in the latest version of the repository
pulp deb content list --package=<package-name> --version=<package-version> --architecture=<architecture> --repository-version=<repository-version-href>pulp rpm content list --name=<package-name> --version=<package-version> --arch=<architecture> --repository-version=<repository-version-href>- If not, add the content to the repository
pulp deb repository content add --repository=<repository_name> --package-href=<package-content-href>pulp rpm repository content add --repository=<repository_name> --package-href=<package-content-href>- Check if a publication exists that points to the latest version of the repository
pulp deb publication list --repository-version=<latest-repository-version-href>pulp rpm publication list --repository-version=<latest-repository-version-href>- If not, create a publication manually
pulp deb publication create --repository=<repository-name>pulp rpm publication create --repository=<repository-name>- Verify that a publication exist with the content
pulp deb publication list --content='["<package-content-href>"]'pulp rpm publication list --content='["<package-content-href>"]'