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

Vagrant deployment always fails on foreman-installer step with 'Reverse DNS failed' error #1889

Open
Lennonka opened this issue Dec 6, 2024 · 0 comments

Comments

@Lennonka
Copy link

Lennonka commented Dec 6, 2024

All deployments fail on the installer step when running with vagrant.
For example:

$ vagrant up centos9-stream-katello-nightly
...output ommitted... // all steps successful until...
TASK [foreman_installer : Run installer] ***************************************
fatal: [centos9-stream-katello-nightly]: FAILED! => changed=true 
  cmd: |-
    foreman-installer -v --no-colors  --tuning development --scenario katello  --foreman-initial-admin-password changeme
  delta: '0:00:04.165121'
  end: '2024-12-06 12:49:03.231139'
  msg: non-zero return code
  rc: 20
  start: '2024-12-06 12:48:59.066018'
  stderr: Reverse DNS failed. Looking up 127.0.0.1 gave localhost, expected to match centos9-stream-katello-nightly.myhost.example.com
  stderr_lines: <omitted>
  stdout: |-
    2024-12-06 12:49:00 [NOTICE] [root] Loading installer configuration. This will take some time.
    2024-12-06 12:49:02 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
    2024-12-06 12:49:02 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
    2024-12-06 12:49:03 [ERROR ] [checks] Your system does not meet configuration criteria
  stdout_lines: <omitted>

How reproducible

100 % for all VMs

This prevents me from using Forklift at all.

Environment

  • Ubuntu 24.04.1 LTS
  • vagrant 2.4.3 (latest)
  • Oracle VM VirtualBox VM Selector v7.0.16_Ubuntu

This problem was previously fixed by #1854 but that PR was reverted later.

Tag me for more information if needed.

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

No branches or pull requests

1 participant