我在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安装ruby193。依赖性问题。 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/)
答案 0 :(得分:1)
我发现问题出在ssh检查中。我无法ssh到代理,但安装脚本面临着好像ssh没问题。
需要的包:( yum -y install)ruby unzip httpd-tools puppet augeas bind
<击>有趣。我通过添加repos并安装了一些东西来解决它:
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>
答案 1 :(得分:0)
我会通过电子邮件将其发送到这里的openshift origin用户列表(https://lists.openshift.redhat.com/openshiftmm/listinfo/users),很多开发人员都在该列表中,应该能够帮助您找到解决方案。然后,一旦你有一个回到这里并更新我们,以便如果有其他人遇到它,他们将有一些东西可供参考。