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

CommandError: duplicate key value violates unique constraint "core_signingservice_name_key" #473

Open
git-hyagi opened this issue Apr 14, 2023 · 1 comment

Comments

@git-hyagi
Copy link
Contributor

Version
Tested with quay.io/pulp/galaxy-minimal:stable.

Describe the bug
When a signing service is already stored in the database, every new pulp-api container (galaxy-minimal image) will output the error:

CommandError: duplicate key value violates unique constraint "core_signingservice_name_key"
DETAIL:  Key (name)=(ansible-default) already exists.
pulp [None]: pulpcore.deprecation:WARNING: verify_signature() is deprecated and will be removed in pulpcore==3.25; use gpg_verify().
CommandError: duplicate key value violates unique constraint "core_signingservice_name_key"
DETAIL:  Key (name)=(container-default) already exists.

Additional context
Even though these errors do not interfere with the app execution they slow down the container startup.

@mikedep333
Copy link
Member

Related to #472 .

If we remove this functionality from the script, it will address both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Free to take
Development

No branches or pull requests

3 participants