gpt4 book ai didi

openstack - 上传干细胞错误 - Keystone 连接超时

转载 作者:行者123 更新时间:2023-12-02 22:59:51 24 4
gpt4 key购买 nike

我在将 Stemcell 上传到 Bosh Director 时遇到连接超时错误。我正在使用 bosh cli v2。以下是我的错误日志。

> bosh -e sdp-bosh-env upload-stemcell https://bosh.io/d/stemcells/bosh-openstack-kvm-ubuntu-trusty-go_agent?v=3541.12 --fix


Using environment '10.82.73.8' as client 'admin'

Task 13

Task 13 | 05:02:40 | Update stemcell: Downloading remote stemcell (00:00:51)
Task 13 | 05:03:31 | Update stemcell: Extracting stemcell archive (00:00:03)
Task 13 | 05:03:34 | Update stemcell: Verifying stemcell manifest (00:00:00)
Task 13 | 05:03:35 | Update stemcell: Checking if this stemcell already exists (00:00:00)
Task 13 | 05:03:35 | Update stemcell: Uploading stemcell bosh-openstack-kvm-ubuntu-trusty-go_agent/3541.12 to the cloud (00:10:41)
L Error: CPI error 'Bosh::Clouds::CloudError' with message 'Unable to connect to the OpenStack Keystone API http://10.81.102.5:5000/v2.0/tokens
Connection timed out - connect(2) for 10.81.102.5:5000 (Errno::ETIMEDOUT)' in 'create_stemcell' CPI method


Task 13 | 05:14:16 | Error: CPI error 'Bosh::Clouds::CloudError' with message 'Unable to connect to the OpenStack Keystone API http://10.81.102.5:5000/v2.0/tokens
Connection timed out - connect(2) for 10.81.102.5:5000 (Errno::ETIMEDOUT)' in 'create_stemcell' CPI method

Task 13 Started Sat Apr 7 05:02:40 UTC 2018
Task 13 Finished Sat Apr 7 05:14:16 UTC 2018
Task 13 Duration 00:11:36
Task 13 error



Uploading remote stemcell 'https://bosh.io/d/stemcells/bosh-openstack-kvm-ubuntu-trusty-go_agent?v=3541.12':
Expected task '13' to succeed but state is 'error'

Exit code 1

最佳答案

检查 BOSH Director 计算机的 OpenStack 安全组。如果 SG 未在端口 5000 上至少添加到 10.81.102.5 的导出 TCP,则应包含ALLOW IPv4 to 0.0.0.0/0

使用 ssh 检查连接:

  • bbl ssh --director
  • nc -tvn 10.81.102.5 5000

如果没有帮助检查网络/防火墙配置。

关于openstack - 上传干细胞错误 - Keystone 连接超时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49714711/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com