0

我在 Fedora 19 上部署 OpenShift Origin 时遇到问题。我收到错误消息:

Preflight check: verifying system and resource availability.

Checking broker.example.com:
* SSH connection succeeded
* Target host is running non-Fedora, non-RHEL
* Located getenforce
* SELinux is running in please login as the user "fedora" rather than
the user "root". mode
* Located yum
* Located puppet
* Located augtool
* Located dnssec-keygen
* Located htpasswd
* Located scl
* ERROR: The ruby193 software collection is not installed. Correct
this by running `yum install ruby193` on this system.
* ERROR: The 'epel' repository isn't available via yum. Install /
enable this repository and try again.

这很奇怪:

Target host is running non-Fedora, non-RHEL

释放:

[root@broker tmp]# cat /etc/issue
Fedora release 19 (Schrödinger’s Cat)
Kernel \r on an \m (\l)

我无法通过 yum 安装 ruby​​193。依赖问题。Fedora 19 有 ruby​​ 版本 2.0.0。ruby193 安装日志:http ://pastebin.com/raw.php?i=TpJEF4Rw

所以我正在使用 rvm:

[root@broker tmp]# ruby -v
ruby 1.9.3p545 (2014-02-24 revision 45159) [x86_64-linux]
[root@broker tmp]# 

最后,我通过以下方式安装 Origin:

sh <(curl -s https://install.openshift.com/)

还有我的配置文件:http ://pastebin.com/raw.php?i=sSgYVVMt

4

2 回答 2

1

我发现问题出在 ssh 检查中。我无法通过 ssh 连接到代理,但安装脚本面临的问题好像 ssh 没问题。

需要的软件包:(yum -y install) ruby​​ unzip httpd-tools puppet augeas bind

有趣的。我通过添加回购解决了它并安装了一些东西:

cat <<EOF> /etc/yum.repos.d/openshift-origin-deps.repo
[openshift-origin-deps]
name=openshift-origin-deps
baseurl=http://mirror.openshift.com/pub/origin-server/release/3/fedora-19/dependencies/x86_64/
gpgcheck=0
enabled=1
EOF

cat <<EOF> /etc/yum.repos.d/openshift-origin.repo
[openshift-origin]
name=openshift-origin
baseurl=http://mirror.openshift.com/pub/origin-server/release/3/fedora-19/packages/x86_64/
gpgcheck=0
enabled=1
EOF

yum clean all
yum -y update

yum -y install ruby unzip httpd-tools puppet bind vim rubygem-openshift-origin-container-selinux</strike>
于 2014-04-18T21:44:05.097 回答
0

我会将其通过电子邮件发送到此处的 openshift 原始用户列表 ( https://lists.openshift.redhat.com/openshiftmm/listinfo/users ) 很多开发人员都在该列表中,并且应该能够为您提供解决方案。然后,一旦您有一个回到这里并更新我们,以便如果其他人遇到它,他们将有一些可参考的东西。

于 2014-04-17T18:14:13.147 回答