0

我的 bosh 版本是 1.3232.0 我的平台是 vsphere,我搜索了 google 和 bosh 站点,它可能与 cloud-config opt-in 有关。但我不知道了。

我创建了自己的 mongodb 版本,上传清单时,它抛出错误 190014

Director task 163
  Started preparing deployment > Preparing deployment. Failed: Deployment manifest should not contain cloud config properties: ["compilation", "networks", "resource_pools"] (00:00:00)

Error 190014: Deployment manifest should not contain cloud config properties: ["compilation", "networks", "resource_pools"]

我的清单是:

---
name: mongodb3
director_uuid: d3df0341-4aeb-4706-940b-6f4681090af8

releases:
- name: mongodb
  version: latest

compilation:
  workers: 1
  reuse_compilation_vms: false
  network: default
  cloud_properties:
    cpu: 4
    datacenters:
    - clusters:
      - cf_z2:
          resource_pool: mongodb
      name: cf_z2
    disk: 20480
    ram: 4096

update:
  canaries: 1
  canary_watch_time: 15000-30000
  update_watch_time: 15000-30000
  max_in_flight: 1

networks:
- name: default
  type: manual
  subnets:
  - cloud_properties:
      name: VM Network
    range: 10.62.90.133/25
    gateway: 10.62.90.129
    static:
    - 10.62.90.140
    reserved:
    - 10.62.90.130 - 10.62.90.139
    - 10.62.90.151 - 10.62.90.254
    dns:
    - 10.254.174.10
    - 10.104.128.235

resource_pools:
- cloud_properties:
    cpu: 2
    datacenters:
    - clusters:
      - cf_z2:
          resource_pool: mongodb
      name: cf
    disk: 10480
    ram: 4096
  name: mongodb3
  network: default
  stemcell:
    name: bosh-vsphere-esxi-ubuntu-trusty-go_agent
    version: latest
jobs:
- name: mongodb3
  instances: 1
  templates:
  - {name: mongodb3, release: mongodb3}
  persistent_disk: 10_240
  resource_pools: mongodb3
  networks:
  - name: default
4

1 回答 1

0

解决了,这些部分应该放在一个文件中,并部署到bosh

于 2016-05-31T05:32:08.937 回答