Re: Cloud Foundry Deployment using bosh


David Sabeti
 

Hey Arpit,

I don't think you need to use CPI config for this. You can define VM types
in your *cloud-config:* http://bosh.io/docs/cloud-config.html#vm-types

You probably just need to add an `m1.tiny` VM type to your cloud config.

On Wed, Aug 9, 2017 at 7:13 AM Arpit Sharma <arpitvipulsharma(a)gmail.com>
wrote:

Hey David!
I have updated cloud-config as follows:

bosh -e bosh-1 cloud-config
Using environment '10.100.10.18' as client 'admin'

azs:
- cloud_properties:
availability_zone: nova
name: z1
compilation:
az: z1
network: default
reuse_compilation_vms: true
vm_type: default
workers: 5
disk_types:
- disk_size: 3000
name: default
- disk_size: 50000
name: large
networks:
- name: default
subnets:
- az: z1
cloud_properties:
net_id: 6274c624-e262-4ba1-845f-7548c91a813f
dns:
- 8.8.8.8
gateway: 192.168.1.1
range: 192.168.1.0/24
type: manual
- name: vip
type: vip
vm_types:
- cloud_properties:
instance_type: default
name: default

but now I am getting below mentioned error


14:02:48 | Preparing deployment: Preparing deployment (00:00:00)
L Error: Instance group 'smoke-tests' references an unknown vm
type 'm1.tiny'

14:02:48 | Error: Instance group 'smoke-tests' references an unknown vm
type 'm1.tiny'

Started Wed Aug 9 14:02:48 UTC 2017
Finished Wed Aug 9 14:02:48 UTC 2017
Duration 00:00:00

Task 117 error

Updating deployment:
Expected task '117' to succeed but state is 'error'

Exit code 1


can you help with this? I have not uploaded cpi config till now. Do you
think that cpi config is required?

Join cf-bosh@lists.cloudfoundry.org to automatically receive all group messages.