Skip to content

cloudstack_cpi job from bosh-cloudstack-cpi-release/16

Github source: ecdb5bd5 or master branch

Properties

cloudstack

api_key

cloudstack api key

default_key_name

key name for ssh access. must be present in cloudstack. cpi+bosh agent will provision the public key for vcap user

default_zone

CloudStack Iaas ZONE to use

endpoint

cloudstack api endpoint

private_key

private key for ssh access. (unused)

proxy_host

host to the proxy e.g. 192.168.1.1. Usefull to reach cloudstack api behind proxy. No proxy if no set

Default
""

proxy_password

password to authent on the proxy

proxy_port

port to the proxy

Default
8080

proxy_user

user to authent on the proxy

secret_access_key

cloudstack api secret

state_timeout

cloudstack api timeout

Default
1200

state_timeout_volume

cloudstack volume api timout

Default
1200

stemcell_os_type

os type to use when publishing stemcell as cloudstack template.

Default
Other PV (64-bit)

stemcell_public_visibility

must stemcell template be public ? (unused)

Default
true

stemcell_publish_timeout

timeout in minutes before consider stemcell push to cloud is ko

Default
5

stemcell_requires_hvm

must stemcell template be published with requires hvm flag

Default
false

cpi

agent

mbus

director nats url eg : nats://nats:[email protected]:4222

blobstore

address

ip of blobstore

Default
0.0.0.0
agent
password

password user for blobstore

Default
agent-password
user

agent user for blobstore

Default
agent
path

path for local provider

Default
/var/vcap/micro_bosh/data/cache
port

port of blobstore

Default
0
provider

local for micro bosh and bosh-init or dav provider for full bosh

Default
local

core

password

password for core rest API

Default
cpi
user

user for core rest API

Default
cpi

default_disk_offering

default disk offering to use if not specified (ie not disk_pool, just persistent tag)

default_ephemeral_disk_offering

default disk offering to use if not specified (ie not disk_pool, just persistent tag)

force_expunge

explicitly force vm expunge with cloudstack api. expunge follows delete api calls, should not require cloudstack admin rights

Default
false

heap_size

cpi jvm sizing

Default
512M

host

host the cpi-core rest server is listening on. use full for debugging rest server out of bosh deployment

Default
127.0.0.1

lightstemcell

instance_type

instance type to use when creating new template from existing template for light stemcell

network_name

network to use when creating new template from existing template for light stemcell

ntp

ntp server list (same as director) eg : [10.234.50.245 ,10.234.50.246]

port

port the cpi core rest server is listening on

Default
8080

registry

endpoint

host the bosh registry is listening on. must be the IP of the director to be reached from bosh agents

Example
http://admin:admin@<bosh_director_ip>:8080
password

password for bosh registry

Default
admin
user

user for bosh registry

Default
admin

use_dhcp

should the cpi tell bosh-agent to configure vm network with dhcp. default is false - static configuration

Default
false

vm_create_delay

delay (in seconds) the cpi will wait after vm creation. To tune e.g. in case of xentools discovery delay. must not exceed 5mins

Default
10

vm_expunge_delay

delay (in seconds) the cpi will wait after vm deletion. Should match cloudstack expunge delay to prevent ip reuse conflicts if force_expunge not set

Default
30

webdav_directory

webdav filesystem dir. defaults to persistent disk location

Default
/var/vcap/store/cloudstack_cpi/webdav

webdav_host

webdav server to offer template to cloudstack api. Should be set to bosh server ip address

Default
127.0.0.1

webdav_port

webdav port to offer template to cloudstack api

Default
8080

zipkin

base-url

remote zipkin collecter server url

Default
http://127.0.0.1:9441
Example
http://xx.xx.xx
enabled

should cpi activate zipkin sleuth http tracing

Default
false
sampler-percentage

zipkin sleuth percentage sampling. 1.0 is all, 0.1 is one tenth

Default
0.1

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/cloudstack_cpi/ directory (learn more).

  • bin/cpi (from cpi.erb)
  • bin/cpi-core (from cpi-core.erb)
  • config/application.yml (from application.yml.erb)
  • config/logback.xml (from logback.xml.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.