How do I enable dns for microbosh ?

96 views
Skip to first unread message

chinc...@gmail.com

unread,
Jun 4, 2014, 4:50:05 PM6/4/14
to bosh-...@cloudfoundry.org
Hi,

I am not able to get dns enabled in microbosh. The status shows -

Director
  Name       MicroBOSH01
  URL        https://10.10.x.y:25555
  Version    1.2427.0 (release:921db96c bosh:921db96c)
  User       admin
  UUID       xx-xx-xxxx
  CPI        vsphere
  dns        disabled
  compiled_package_cache disabled
  snapshots  disabled

Here's my manifest: Am I missing something in the manifest ?

---
name: MicroBOSH01

network:
  type: dynamic
  ip: 10.10.x.y
  netmask: 255.255.255.0
  gateway: 10.10.x.1

  #dns:
  # The micro-bosh VM has the following DNS entries in its /etc/resolv.com, allowing it to resolve, for example, IaaS FQDNs.
  #- <ip_for_dns>
  dns:
  - 10.10.a.1

  cloud_properties:
    name: VM Network

resources: # this seems like good sizing for microbosh
   persistent_disk: 16384
   cloud_properties:
      ram: 4096
      disk: 16384
      cpu: 1
cloud:
  plugin: vsphere
  properties:
    agent:
      ntp:
        - <ntp_host_1>
        - <ntp_host_2>
    vcenters:
      - host: 10.10.a.b
        user: root
        password: xxxx
        datacenters:
          - name: CloudFoundry
            vm_folder: MicroBOSH_VMs
            template_folder: MicroBOSH_Templates
            disk_path: MicroBOSH_Disks
            datastore_pattern: datastore3
            persistent_datastore_pattern: datastore3
            allow_mixed_datastores: true
            clusters:
              - BOSH_Cluster
                #resource_pool: BOSH-RP

apply_spec:
  plugin: vsphere
  properties:
    vcenter:
      host: 10.10.a.b
      user: root
      password: xxxx
      datacenters:
        - name: CloudFoundry
          vm_folder: CF_VMs
          template_folder: CF_Templates
          disk_path: CF_Disks
          datastore_pattern: datastore3
          persistent_datastore_pattern: datastore3
          allow_mixed_datastores: true
          clusters:
            - BOSH_Cluster
              #resource_pool: BOSH-RP
    dns:
      # The BOSH powerDNS contacts the following DNS server for serving DNS entries from other domains.
      #recursor: <ip_for_dns>
      recursor: 8.8.8.8

logging:
  # If needed increase the default logging level to trace REST traffic with IaaS providers. Default is info
  level: debug
  # Default location is <deployment_dir>/bosh_micro_deploy.log
  # file :


Thanks
-C

chinc...@gmail.com

unread,
Jun 5, 2014, 4:58:07 PM6/5/14
to bosh-...@cloudfoundry.org, chinc...@gmail.com
Worked when I removed type: dynamic
Reply all
Reply to author
Forward
0 new messages