New to foreman

Please help me to install foreman in centos 7.
I'm new to foreman.

··· ***********************************************************

[root@foreman-centos7 ~]# foreman-installer --enable-foreman-proxy
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foreman-centos7.sltidc.lk]:
Could not evaluate:
Pro xy
foreman-centos7.sltidc.lk cannot be registered (Could not load data from
https://foreman-centos7.sltidc.l
k
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foreman-centos7.sltidc.lk]:
Failed to call
refresh: Proxy
foreman-centos7.sltidc.lk cannot be registered (Could not load data from
https://foreman-centos7.slti
dc.lk
/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foreman-centos7.sltidc.lk]:
Proxy
foreman-centos7.s
ltidc.lk cannot be registered (Could not load data from
https://foreman-centos7.sltidc.lk
Installing Done
[100%] […]
Something went wrong! Check the log for ERROR-level output

[root@foreman-centos7 ~]# foreman-debug

HOSTNAME: foreman-centos7.sltidc.lk
OS: redhat
RELEASE: CentOS Linux release 7.2.1511 (Core)
FOREMAN: 1.9.3
RUBY: ruby 2.0.0p598 (2014-11-13) [x86_64-linux]
PUPPET: 3.8.7
DENIALS: 2793

A debug file has been created: /tmp/foreman-debug-KX61X.tar.xz (462456
bytes)

To upload a tarball to our secure site, please use the -u option.

This suggests the Foreman web UI isn't working correctly, or the server
can't resolve its own hostname.

Try visiting the page at https://foreman-centos7.sltidc.lk and ensure
the login page appears (credentials were lower down in the output).

Ensure the name foreman-centos7.sltidc.lk is in DNS, not /etc/hosts, and
that it resolves to the correct IP address. If you have a firewall,
ensure that ports 80 and 443 are open and that they're open on the right
interface (the one with the IP of foreman-centos7.sltidc.lk) too.

··· On 11/07/16 08:44, Prabhath samarasinghe wrote: > Please help me to install foreman in centos 7. > I'm new to foreman. > > *********************************************************** > > [root@foreman-centos7 ~]# foreman-installer --enable-foreman-proxy > /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[foreman-centos7.sltidc.lk]: > Could not evaluate: > Pro xy > foreman-centos7.sltidc.lk cannot be registered (Could not load data from > https://foreman-centos7.sltidc.l > k


Dominic Cleal
dominic@cleal.org

> [root@foreman-centos7 ~]# foreman-installer --enable-foreman-proxy

Try with --register-in-foreman false

Does the hostname resolve? Firewall? SELinux?

LZ

··· -- Later, Lukas #lzap Zapletal