美文网首页
Cloud Foundry 运行bosh create-env时

Cloud Foundry 运行bosh create-env时

作者: kongxx | 来源:发表于2018-03-07 22:16 被阅读42次

    在Linux上使用Bosh创建Director的时候报错,如下:

    bosh create-env bosh-deployment/bosh.yml \
      --state state.json \
      --vars-store ./creds.yml \
      -o bosh-deployment/virtualbox/cpi.yml \
      -o bosh-deployment/virtualbox/outbound-network.yml \
      -o bosh-deployment/bosh-lite.yml \
      -o bosh-deployment/jumpbox-user.yml \
      -v director_name=vbox \
      -v internal_ip=192.168.50.6 \
      -v internal_gw=192.168.50.1 \
      -v internal_cidr=192.168.50.0/24 \
      -v network_name=vboxnet0 \
      -v outbound_network_name=NatNetwork
    
    ...
    Deploying:
      Creating instance 'bosh/0':
        Waiting until instance is ready:
          Post https://mbus:<redacted>@192.168.50.6:6868/agent: net/http: TLS handshake timeout
    

    解决办法:

    编辑 bosh-deployment/virtualbox/cpi.yml 文件,将其中 memory 由 4096 改成 2048。然后重新运行bosh create-env 命令。

    相关文章

      网友评论

          本文标题:Cloud Foundry 运行bosh create-env时

          本文链接:https://www.haomeiwen.com/subject/bgnsfftx.html