【问题标题】:IBM Cloud Private 2.1 - Cloudant fails to startIBM Cloud Private 2.1 - Cloudant 无法启动
【发布时间】:2017-10-30 16:44:38
【问题描述】:

创建了 3 个具有 16G 存储和 4 Gig 内存的虚拟机和 Ubuntu 16.4。 安装 ICP 2.1 CE 时,部署 cloudant 的步骤因超时(50 次)而失败。

尝试了一些东西:

  1. 在本地提取“ibmcom/icp-datastore” - 没有变化
  2. 添加 - kubelet_extra_args: ["--cgroup-driver=systemd"] - 行为没有变化

这是实际输出:

TASK [addon : Deploying cloudant] **************************************************************************************************************************
changed: [localhost]

TASK [addon : Waiting for cloudant to start] ***************************************************************************************************************
FAILED - RETRYING: TASK: addon : Waiting for cloudant to start (50 retries left).
FAILED - RETRYING: TASK: addon : Waiting for cloudant to start (49 retries left).
FAILED - RETRYING: TASK: addon : Waiting for cloudant to start (48 retries left).
FAILED - RETRYING: TASK: addon : Waiting for cloudant to start (47 retries left).
FAILED - RETRYING: TASK: addon : Waiting for cloudant to start (46 retries left).

【问题讨论】:

    标签: ibm-cloud-private


    【解决方案1】:

    在 2.1 中,如果您要启用各种管理服务,您将需要主节点上的更多磁盘和更多内存。

    如果您使用管理节点,文档建议在主节点上使用 4G 内存;如果您不使用管理节点角色,则主节点上的内存为 8G。

    另外,我不确定您的意思是 160G 磁盘还是真正的 16G 磁盘,这在主服务器上是不够的。

    您可以提供一些额外信息来帮助解决此问题:

    • 使用详细选项运行安装程序。

      docker run -e LICENSE=accept --net=host \ -t -v "$(pwd)":/installer/cluster \ ibmcom/icp-inception:2.1.0 install -vvv | tee -a install_log.txt

    日志可能会提供有关失败原因的其他上下文。

    • 提供来自 IBM Cloud Private 数据存储容器的日志。

      docker logs $(docker ps | grep icp-datastore | cut -f 1 -d ' ')

    你应该看到的,在一个好的情况下看起来像:

    Volume Mount not available
    Accepting License
    Running Runit in Background Process
    FEDERATION_RESULT
    icp-ds-0
    FEDERATOR Pod.
    ...
    Node Added to Cluster Successfully
    Initialize Cluster
    INFO:cast.database:Creating the system databases.
    INFO:cast.database:Creating the security documents
    Cluster Initialization Successfully
    

    【讨论】:

    • 看起来 Pod 已重新启动。从集群配置文件安装数据库 在后台运行 Runit 进程信息:cast.system:更新存储库缓存。警告:以下软件包无法通过身份验证! libcs​​map-cloudant libgeos-cloudant-3.4.2 libsnappy-cloudant libleveldb-cloudant libspatialindex-cloudant cloudant-db cloudant-metrics cloudant-mustgather cloudant-rebal cloudant-search cloudant-dbnode dpkg-preconfigure:无法重新打开stdin:以前选择未选择的软件包 libcs​​map-cloudant。
    • 嗨迈克尔,我没有看到像你展示的那样好的案例。如何发送日志?
    【解决方案2】:

    虚拟机似乎过小。请为 VM 分配更多 CPU、RAM 和存储空间后重试。 https://www.ibm.com/support/knowledgecenter/SSBS6K_2.1.0/supported_system_config/hardware_reqs.html

    【讨论】:

    • 磁盘大小为16G,改成160G试了下。结果相同。
    猜你喜欢
    • 1970-01-01
    • 2018-11-15
    • 2023-04-03
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多