Project

General

Profile

Actions

Support #25129

open

Katello installation with Remote databse

Added by Krishna Verma over 5 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Documentation
Target version:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

We are installing Katello 3.7 with remote database following official documents. But getting below issues.

Issue 1: Installed centos-release-scl and rh-mongodb34-syspaths but /etc/mongod.conf does not exist. Then we install mongodb-org 4.0 and configure the mongodb to proceed further.

Issue 2: We created pulp user and database using below command given in your doc but unable to access pulp_database using pulp user from katello server. But pulp user was able to access admin database and by using this command its creating pulp user in admin database not in pulp_database. So we created pulp user under pulp_database then we able to authenticate pulp_database by pulp user from katello server.

mongo admin -u admin -p admin --eval "db.createUser({user:'pulp',pwd:'<PULP_PASSWORD>',roles:[{role:'dbOwner', db:'pulp_database'},{ role: 'readWrite', db: 'pulp_database'}]})"

Issue 3: On katello server we have installed the pacakeges followed your document and run the installer as below but it gives multiple errors as timed out. I have attached the installer logs file.

foreman-installer --scenario katello --foreman-db-host foremandbp.cadence.com --foreman-db-password cadence --foreman-db-database foreman --foreman-db-manage false --katello-candlepin-db-host foremandbp.cadence.com --katello-candlepin-db-name candlepin --katello-candlepin-db-password cadence --katello-candlepin-manage-db false --katello-pulp-db-username pulp --katello-pulp-db-password pulp123 --katello-pulp-db-seeds “foremandbm.cadence.com:27017” --katello-pulp-db-name pulp_database --katello-pulp-manage-db false


Files

katello.log katello.log 2.15 MB Ketello Installation with remote database log file Krishna Verma, 10/05/2018 10:01 AM
Actions #1

Updated by Anonymous over 5 years ago

  • Tracker changed from Bug to Support
  • Project changed from Installer to Katello
  • Category deleted (foreman-installer script)
  • Priority changed from Urgent to Low
  • Difficulty deleted (medium)
Actions #2

Updated by Krishna Verma over 5 years ago

  • Priority changed from Low to Normal
  • Team Backlog Daniel added

Please someone response

Actions #3

Updated by Justin Sherrill over 5 years ago

  • Category set to Documentation
  • Team Backlog deleted (Daniel)

It does look like our documentation may be incorrect. Instead of /etc/mongod.conf, you should look for and edit /etc/opt/rh/rh-mongodb34/mongod.conf instead. Can you try following the same directions for that file and try again?

Actions #4

Updated by Michael Johnson over 5 years ago

  • Assignee set to John Mitsch
  • Target version set to Katello Backlog
  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF