【问题标题】:OpenShift Origin on Fedora 19Fedora 19 上的 OpenShift 起源
【发布时间】:2014-09-05 23:29:49
【问题描述】:

我在 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

【问题讨论】:

    标签: fedora openshift-origin


    【解决方案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>
    

    【讨论】:

      【解决方案2】:

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

      【讨论】:

        猜你喜欢
        • 2023-03-16
        • 1970-01-01
        • 1970-01-01
        • 2014-04-13
        • 1970-01-01
        • 1970-01-01
        • 2013-08-17
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多