Bug 1135989
Summary: | Installation occasionally fails: failed to call refresh: /usr/sbin/foreman-rake db:seed returned 1 instead of one of [0] with "Validation failed: Name has already been taken" in katello-installer.log | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Ivan Necas <inecas> |
Component: | Installation | Assignee: | Ivan Necas <inecas> |
Status: | CLOSED ERRATA | QA Contact: | Elyézer Rezende <erezende> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.4 | CC: | ahumbe, bbuckingham, bkearney, dcleal, erezende, jhutar, jmontleo, kshravag, lzap, mmccune, nstrug |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/7353 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-08-12 05:15:44 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: |
Description
Ivan Necas
2014-09-01 12:11:24 UTC
Created redmine issue http://projects.theforeman.org/issues/7353 from this bug WORKAROUND: Clear the database.yml file: # echo >> /etc/foreman/database.yml Re-run the installer: # katello-installer For the record, we are not clearing the yml file but rather changing it's MD5 content tag to trigger some actions in Puppet. The fix should be part of https://github.com/theforeman/puppet-foreman/pull/225, but it seems we will need to go other direction (still not enough support for getting the changes in so far) Moving to POST since upstream bug http://projects.theforeman.org/issues/7353 has been closed ------------- Ivan Necas Applied in changeset commit:puppet-foreman|dcde67122d8151e16b905201196a764671f0d63d. The fix consists of (need to be applied in this order): https://github.com/theforeman/foreman/pull/1735 https://github.com/theforeman/puppet-foreman/pull/243 https://github.com/theforeman/puppet-foreman/pull/225 What is the corresponding upstream katello-installer commit? Verified on: Satellite-6.1.0-RHEL-7-20150303.0 Steps to reproduce: Have been installing multiple times using recent versions of Satellite 6 on both RHEL 6.6 and RHEL 7.1 and was not able to raise that error. Seems that the bug is now fixed. Just done a fresh deploy on a fully up to date RHEL 7.1 and hit this error. This bug is slated to be released with Satellite 6.1. 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-2015:1592 |