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

Add external database role and pipeline #1871

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ehelms
Copy link
Member

@ehelms ehelms commented Oct 24, 2024

This should help with testing external database use cases. I used it to test the EVR removal (theforeman/foreman-installer#984).

Copy link
Contributor

@ianballou ianballou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hit an error when trying it out:

TASK [foreman_installer : Run installer] *********************************************************************************************************************
fatal: [pi-katello-nightly-centos9-stream-server]: FAILED! => changed=true 
  cmd: |-
    foreman-installer -v --no-colors   --scenario katello  --foreman-db-manage false --foreman-db-host pi-katello-nightly-centos9-stream-database --foreman-db-database foreman --foreman-db-password foreman --katello-candlepin-manage-db false --katello-candlepin-db-host pi-katello-nightly-centos9-stream-database --katello-candlepin-db-name candlepin --katello-candlepin-db-password candlepin --foreman-proxy-content-pulpcore-manage-postgresql false --foreman-proxy-content-pulpcore-postgresql-host pi-katello-nightly-centos9-stream-database --foreman-proxy-content-pulpcore-postgresql-db-name pulp --foreman-proxy-content-pulpcore-postgresql-password pulp
  delta: '0:00:00.303296'
  end: '2024-11-04 15:00:30.247603'
  msg: non-zero return code
  rc: 26
  start: '2024-11-04 15:00:29.944307'
  stderr: 'ERROR: Scenario (/etc/foreman-installer/scenarios.d/katello.yaml) was not found, can not continue'
  stderr_lines: <omitted>
  stdout: ''
  stdout_lines: <omitted>

Looks like the Katello installer module wasn't installed for some reason.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants