Foreman 1.7在Ubuntu 14.04上安装错误

Foreman 1.7在Ubuntu 14.04上安装错误,ubuntu,puppet,theforeman,Ubuntu,Puppet,Theforeman,我正在尝试在新安装的Ubuntu 14.04上安装Foreman master。我遇到了一个安装问题,这个问题不会产生任何可搜索的结果(或者我不知道该怎么说) 在运行foreman安装程序之前,我确保“ping$(hostname-f)”生成我的IP地址,而不是127.0.1.1 安装程序完成后,我出现以下错误(机器名已编辑): 从/var/log/foreman installer/foreman-installer.log(机器名称已编辑)中: 鉴于错误的性质,我尝试使用Web UI重新创建

我正在尝试在新安装的Ubuntu 14.04上安装Foreman master。我遇到了一个安装问题,这个问题不会产生任何可搜索的结果(或者我不知道该怎么说)

在运行foreman安装程序之前,我确保“ping$(hostname-f)”生成我的IP地址,而不是127.0.1.1

安装程序完成后,我出现以下错误(机器名已编辑):

从/var/log/foreman installer/foreman-installer.log(机器名称已编辑)中:

鉴于错误的性质,我尝试使用Web UI重新创建智能代理。在那里,我遇到了这个错误(机器名已编辑):

最后,我再次检查代理是否正在运行:

service foreman-proxy status
 * foreman-proxy is running
防火墙已关闭,并且已运行apt get升级。除此之外,它应该是Ubuntu 14.04的标准安装

有人遇到过这个错误吗?还有其他的故障排除提示吗


谢谢

我有相同的设置和相同的结果。刚刚重新安装了Foreman 1.6,没有这个问题。Foreman_smartproxy register.pp在1.6和1.7之间没有变化,但显然有些变化

多亏了irc频道的Dominic节目主持人, 解决方案似乎是更改设置:

管理员>设置>常规和检查代理\u请求\u超时设置为60

重新运行安装程序


PS我还将空闲超时更改为60,我可以确认。Foreman 1.7默认带有怪异的设置。我更改了管理员>设置>常规,并检查代理\u请求\u超时设置为60,即使不重新运行安装程序,我也可以添加新代理


非常感谢

特别是当您在日志中看到“[RestClient::RequestTimeout]:Request Timeout”时。我想这可能会在1.7.1中修复。谢谢!我必须检查一下irc频道。
[DEBUG 2014-12-09 16:01:31 main]  Puppet::Type::Foreman_smartproxy::ProviderRest: feature foreman_api is missing
[ INFO 2014-12-09 16:01:59 main] E, [2014-12-09T16:01:59.627479 #3981] ERROR -- : 422 Unprocessable Entity
[ INFO 2014-12-09 16:01:59 main] {
[ INFO 2014-12-09 16:01:59 main]     "error"[0;37m => [0m{
[ INFO 2014-12-09 16:01:59 main]                    "id"[0;37m => [0m[1;31mnil[0m,
[ INFO 2014-12-09 16:01:59 main]                "errors"[0;37m => [0m{
[ INFO 2014-12-09 16:01:59 main]             "base"[0;37m => [0m[
[ INFO 2014-12-09 16:01:59 main]                 [1;37m[0] [0m[0;33m"Unable to communicate with the proxy: ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([RestClient::RequestTimeout]: Request Timeout) for proxy https://abc.xyz.com:8443/features"[0m,
[ INFO 2014-12-09 16:01:59 main]                 [1;37m[1] [0m[0;33m"Please check the proxy is configured and running on the host."[0m
[ INFO 2014-12-09 16:01:59 main]             ]
[ INFO 2014-12-09 16:01:59 main]         },
[ INFO 2014-12-09 16:01:59 main]         "full_messages"[0;37m => [0m[
[ INFO 2014-12-09 16:01:59 main]             [1;37m[0] [0m[0;33m"Unable to communicate with the proxy: ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([RestClient::RequestTimeout]: Request Timeout) for proxy https://abc.xyz.com:8443/features"[0m,
[ INFO 2014-12-09 16:01:59 main]             [1;37m[1] [0m[0;33m"Please check the proxy is configured and running on the host."[0m
[ INFO 2014-12-09 16:01:59 main]         ]
[ INFO 2014-12-09 16:01:59 main]     }
[ INFO 2014-12-09 16:01:59 main] }
[ERROR 2014-12-09 16:01:59 main]  Could not set 'present' on ensure: 422 Unprocessable Entity at 12:/usr/share/foreman-installer/modules/foreman_proxy/manifests/register.pp
Unable to communicate with the proxy: ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([RestClient::RequestTimeout]: Request Timeout) for proxy https://abc.xyz.com:8443/features
Please check the proxy is configured and running on the host.
service foreman-proxy status
 * foreman-proxy is running