Skip to content

cpi job from bosh-cloudstack-cpi-release/5

Github source: 411fa0b2 or master branch

Properties

cloudstack

api_key

cloudstack api key

default_key_name

key name for ssh access (unused)

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_public_visibility

must stemcell template be public ?

Default
true

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

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

existing_template_name

The cloudstack template name the CPI should use, if mock mode is true

Default
bosh-stemcell-3033-po4.vhd.bz2

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

mock_create_stemcell

Should the CPI use a mock predefined stemcell (use full for troubleshooting / dev)

Default
false

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

Default
http://127.0.0.1:8080
password

password for bosh registry

Default
admin
user

user for bosh registry

Default
admin

vm_expunge_delay

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

Default
30

webdav_directory

webdav filesystem dir. defaults to persistent disk location

Default
/var/vcap/store/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

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/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.