首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >etcd的Openshift安装错误?

etcd的Openshift安装错误?
EN

Stack Overflow用户
提问于 2018-03-31 19:35:41
回答 1查看 369关注 0票数 1

尝试安装Openshift-企业在先决条件检查阶段获得以下错误。

代码语言:javascript
复制
    TASK [Evaluate groups - Fail if no etcd hosts group is defined] *************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "Running etcd as an embedded service is no longer supported. If this is a new install please define an 'etcd' group with either one, three or five hosts. These hosts may be the same hosts as your masters. If this is an upgrade please see https://docs.openshift.com/container-platform/latest/install_config/upgrading/migrating_embedded_etcd.html for documentation on how to migrate from embedded to external etcd.\n"}
        to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/prerequisites.retry

PLAY RECAP ******************************************************************************************************************************
localhost                  : ok=1    changed=0    unreachable=0    failed=1

我已经定义了一个与主主机相同的etcd主机组。下面是ansible主机文件,用于洞察我的集群配置:

代码语言:javascript
复制
    # Create an OSEv3 group that contains the masters, nodes, and etcd groups
[OSEv3:children]
masters
nodes
etcd

# Set variables common for all OSEv3 hosts
[OSEv3:vars]
# SSH user, this user should allow ssh based auth without requiring a password
ansible_ssh_user=root
openshift_master_identity_providers=[{'name': 'htpasswd_auth',
'login': 'true', 'challenge': 'true',
'kind': 'HTPasswdPasswordIdentityProvider',
'filename': '/etc/origin/master/htpasswd'}]
openshift_use_etcd_system_container=True
# If ansible_ssh_user is not root, ansible_become must be set to true
openshift_deployment_type=openshift-enterprise
#ansible_become=true

openshift_deployment_type=openshift-enterprise
# uncomment the following to enable htpasswd authentication; defaults to DenyAllPasswordIdentityProvider
#openshift_master_identity_providers=[{'name': 'htpasswd_auth', 'login': 'true', 'challenge': 'true', 'kind': 'HTPasswdPasswordIdentityProvider', 'filename': '/etc/origin/master/htpasswd'}]
openshift_logging_install_logging=true
openshift_logging_es_pvc_dynamic=true
openshift_metrics_install_metrics=true
openshift_metrics_cassandra_storage_type=dynamic
# host group for masters
[masters]
ip-172-31-7-82.us-west-2.compute.internal

# host group for etcd
[etcd]
ip-172-31-7-82.us-west-2.compute.internal
# host group for nodes, includes region info
[nodes]
ip-172-31-8-41.us-west-2.compute.internal openshift_node_labels="{'region': 'primary', 'zone': 'east'}"
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2018-11-22 07:51:38

这个错误在稍后的版本中被Openshift解决了。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49591648

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档