Need help in foreman 1.10 installation

Hi,

I am trying to install foreman 1.10 on RHEL 7 but I am facing following
error:

/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[FQDN]: Could not
evaluate: Proxy FQDN cannot be registered (401 Unauthorized): N/A

I have tried by disabling the firewall and SELinux but still the same error.

I am able to launch the console but few of the dashboard widgets are
missing. It seems not properly installed.

Am I missing anything?

Thanks,
Sanjiv

type facter and look for fqdn => if there is a right fqdn?

if the field is empty or wrong i would suggest to try to edit /etc/hostname
and /etc/hosts and put the fqdn there and start the installation again.

Hi Denis,

FQDN is properly set but still the same issue.

Thanks,
Sanjiv

··· On Tuesday, March 29, 2016 at 9:43:55 PM UTC+5:30, Sanjiv wrote: > > Hi, > > I am trying to install foreman 1.10 on RHEL 7 but I am facing following > error: > > /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[FQDN]: Could not > evaluate: Proxy FQDN cannot be registered (401 Unauthorized): N/A > > I have tried by disabling the firewall and SELinux but still the same > error. > > I am able to launch the console but few of the dashboard widgets are > missing. It seems not properly installed. > > Am I missing anything? > > Thanks, > Sanjiv >

On your foreman-proxy node, this is an example of my basic configurtion
without ssl for testing:
/etc/foreman-proxy/settings.yml
:trusted_hosts:

and in foreman-gui -> cumputeresources -> Smart-Proxy:
http://foreman-proxy-node.com:8000

make sure fore-proxy deamon is running. I hope this help.

··· Am Dienstag, 29. März 2016 18:13:55 UTC+2 schrieb Sanjiv: > > Hi, > > I am trying to install foreman 1.10 on RHEL 7 but I am facing following > error: > > /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[FQDN]: Could not > evaluate: Proxy FQDN cannot be registered (401 Unauthorized): N/A > > I have tried by disabling the firewall and SELinux but still the same > error. > > I am able to launch the console but few of the dashboard widgets are > missing. It seems not properly installed. > > Am I missing anything? > > Thanks, > Sanjiv >

What do you get when you enter 'hostname -f'

You need to have that working before you start the install.

··· On Tuesday, March 29, 2016 at 12:13:55 PM UTC-4, Sanjiv wrote:

Hi,

I am trying to install foreman 1.10 on RHEL 7 but I am facing following
error:

/Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[FQDN]: Could not
evaluate: Proxy FQDN cannot be registered (401 Unauthorized): N/A

I have tried by disabling the firewall and SELinux but still the same
error.

I am able to launch the console but few of the dashboard widgets are
missing. It seems not properly installed.

Am I missing anything?

Thanks,
Sanjiv