bosh deploy error错误190014

时间:2016-05-30 06:13:17

标签: vsphere bosh-deployer cf-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

1 个答案:

答案 0 :(得分:0)

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