Actions
Bug #28767
closedInstaller can fail at apipie:cache:index step due to race condition with plugin role loading`
Description
The error we see in nightly test runs transiently:
[ WARN 2020-01-14T16:32:53 main] /Stage[main]/Foreman/Foreman::Rake[apipie:cache:index]/Exec[foreman-rake-apipie:cache:index]/returns: [ WARN 2020-01-14T16:32:53 main] /Stage[main]/Foreman/Foreman::Rake[apipie:cache:index]/Exec[foreman-rake-apipie:cache:index]/returns: Caused by: [ WARN 2020-01-14T16:32:53 main] /Stage[main]/Foreman/Foreman::Rake[apipie:cache:index]/Exec[foreman-rake-apipie:cache:index]/returns: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_roles_on_name" [ WARN 2020-01-14T16:32:53 main] /Stage[main]/Foreman/Foreman::Rake[apipie:cache:index]/Exec[foreman-rake-apipie:cache:index]/returns: DETAIL: Key (name)=(Tasks Manager) already exists. [ WARN 2020-01-14T16:32:53 main] /Stage[main]/Foreman/Foreman::Rake[apipie:cache:index]/Exec[foreman-rake-apipie:cache:index]/returns: /opt/theforeman/tfm-ror52/root/usr/share/gems/gems/activerecord-5.2.1/lib/active_record/connection_adapters/postgresql_adapter.rb:603:in `async_exec'
Updated by Eric Helms almost 5 years ago
- Related to Bug #27380: 'duplicate key value violates unique constraint "index_roles_on_name"' when installing 6.5.0 added
Updated by The Foreman Bot almost 5 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/7362 added
Updated by Eric Helms almost 5 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 5eabb004aa8578973ba5abd696960d4a40e5f7f6.
Actions