0

我正在安装 OpenShift origin 3.10.0 并在运行 deploy_cluster.yml 时在 Ansible Task 下方出现故障。

它适用于 OpenShift origin 3.9.0

环境:VM 操作系统版本为 CentOS 7.5

目前,当我运行prerequisites.yml 脚本时,它已成功运行“ ansible-playbook -i inventory.ini openshift-ansible/playbooks/prerequisites.yml

以下是错误跟踪

CHECK [memory_availability : x.0.x.x] **********************************
fatal: [x.x.x.x]: FAILED! => 
{  
   "changed":false,
   "checks":{  
      "disk_availability":{  
         "skipped":true,
         "skipped_reason":"Disabled by user request"
      },
      "docker_image_availability":{  
         "skipped":true,
         "skipped_reason":"Disabled by user request"
      },
      "docker_storage":{  
         "skipped":true,
         "skipped_reason":"Disabled by user request"
      },
      "memory_availability":{  
         "skipped":true,
         "skipped_reason":"Disabled by user request"
      },
      "package_availability":{  
         "changed":false,
         "invocation":{  
            "module_args":{  
               "packages":[  
                  "PyYAML",
                  "bash-completion",
                  "bind",
                  "ceph-common",
                  "cockpit-bridge",
                  "cockpit-docker",
                  "cockpit-system",
                  "cockpit-ws",
                  "dnsmasq",
                  "docker",
                  "etcd",
                  "firewalld",
                  "flannel",
                  "glusterfs-fuse",
                  "httpd-tools",
                  "iptables",
                  "ip 
tables-services",
                  "iscsi-initiator-utils",
                  "libselinux-python",
                  "nfs-utils",
                  "ntp",
                  "openssl",
                  "origin",
                  "origin-clients",
                  "origin-master",
                  "origin-node",
                  "origin-sdn-ovs",
                  "pyparted",
                  "python-httplib2",
                  "yum-utils"
               ]
            }
         }
      },
      "package_version":{  
         "failed":true,
         "failures":[  
            [  
               "OpenShiftCheckException",
               "Not all of the required packages are available at their requested version\norigin:3.10.0 \norigin-node:3.10.0 \norigin-master:3.10.0 \nPlease check your subscriptions and enabled repositories."
            ]
         ],
         "invocation":{  
            "module_args":{  
               "package_list":[  
                  {  
                     "check_multi":false,
                     "name":"origin",
                     "version":"3.10.0"
                  },
                  {  
                     "check_multi":false,
                     "name":"origin-master",
                     "version":"3.10.0"
                  },
                  {  
                     "check_multi":false,
                     "name":"origin-node 
",
                     "version":"3.10.0"
                  }
               ],
               "package_mgr":"yum"
            }
         },
         "last_failed":{  
            "failed":true,
            "invocation":{  
               "module_args":{  
                  "package_list":[  
                     {  
                        "check_multi":false,
                        "name":"origin",
                        "version":"3.10.0"
                     },
                     {  
                        "check_multi":false,
                        "name":"origin-master",
                        "version":"3.10.0"
                     },
                     {  
                        "check_multi":false,
                        "name":"origin-node",
                        "version":"3.10.0"
                     }
                  ],
                  "package_mgr":"yum"
               }
            },
            "msg 
":"Not all of the required packages are available at their requested version\norigin:3.10.0 \norigin-node:3.10.0 \norigin-master:3.10.0 \nPlease check your subscriptions and enabl 
ed repositories."
         },
         "msg":"Not all of the required packages are available at their requested version\norigin:3.10.0 \norigin-node:3.10.0 \norigin-master:3.10.0 \nPlease check your 
 subscriptions and enabled repositories."
      }
   },
   "msg":"One or more checks failed",
   "playbook_context":"install"
}
4

0 回答 0