Skip to content

openstack_cpi job from bosh-openstack-cpi/44

Github source: 60a1edd or master branch

Properties

agent

blobstore

access_key_id

access_key_id for agent used by s3 blobstore plugin

address

Address for agent to connect to blobstore server used by ‘dav’ blobstore plugin

host

Host of agent blobstore server used by s3 blobstore plugin

s3_port

Port of agent blobstore server used by s3 blobstore plugin

s3_region

AWS region for agent used by s3 blobstore plugin

s3_signature_version

Signature version used to connect to an s3 blobstore

secret_access_key

secret_access_key for agent used by s3 blobstore plugin

ssl_verify_peer

Whether the agent blobstore plugin should verify its peer when using SSL

use_ssl

Whether the agent blobstore plugin should use SSL to connect to the blobstore server

mbus

Message bus endpoint for the agent to start accepting agent requests

Example
https://user:[email protected]:5000

blobstore

access_key_id

AWS access_key_id used by s3 blobstore plugin

address

Address for agent to connect to blobstore server used by ‘dav’ blobstore plugin

agent

password

Password agent uses to connect to blobstore used by ‘dav’ blobstore plugin

user

Username agent uses to connect to blobstore used by ‘dav’ blobstore plugin

bucket_name

S3 Bucket used by s3 blobstore plugin

host

Host of blobstore server used by s3 blobstore plugin

path

local blobstore path

port

Port for agent to connect to blobstore server used by ‘dav’ blobstore plugin

provider

Provider of the blobstore used by director and agent (dav|local|s3)

s3_port

Port of blobstore server used by s3 blobstore plugin

Default
443

s3_region

AWS region used by s3 blobstore plugin

s3_signature_version

Signature version used to connect to an s3 blobstore

secret_access_key

AWS secret_access_key used by s3 blobstore plugin

ssl_verify_peer

Whether the s3 blobstore plugin should verify its peer when using SSL

Default
true

use_ssl

Whether the s3 blobstore plugin should use SSL to connect to the blobstore server

Default
true

env

http_proxy

Http proxy to connect to cloud API’s

https_proxy

Https proxy to connect to cloud API’s

no_proxy

No proxy environment variable

nats

address

NATS address used by agent to subscribe to agent requests

password

NATS password used by agent to subscribe to agent requests

port

NATS port used by agent to subscribe to agent requests

Default
4222

user

NATS username used by agent to subscribe to agent requests

ntp

List of NTP servers

Example
- 0.us.pool.ntp.org
- 1.us.pool.ntp.org

openstack

api_key

OpenStack API key (required)

auth_url

URL of the OpenStack Identity endpoint to connect to (required)

Example

Keystone V2 endpoint

http://192.168.0.1:5000/v2.0

Keystone V3 endpoint

http://192.168.0.1:5000/v3

boot_from_volume

Boot from volume

Default
false

config_drive

Config drive device (cdrom or disk) to use as metadata service on OpenStack (optional)

Example
cdrom

connection_options

Hash containing additional connection parameters (optional)

Example

Provide all required custom CA certificates

ca_cert: |+
  -----BEGIN CERTIFICATE-----
  MII...
  -----END CERTIFICATE-----

Disable SSL verification for DevStack

ssl_verify_peer: false

Any other excon connection option, e.g. setting the read timeout

read_timeout: 360

default_key_name

Default OpenStack keypair to use when spinning up new VMs (required)

Example
bosh

default_security_groups

Default OpenStack security groups to use when spinning up new VMs (required)

Example
- bosh-grp

default_volume_type

Default OpenStack volume type to use when creating new disks (optional)

Example
SSD

domain

OpenStack domain (required for Keystone API V3)

enable_auto_anti_affinity

No longer supported (see https://www.pivotaltracker.com/story/show/159522260)

endpoint_type

OpenStack endpoint type

Default
publicURL

human_readable_vm_names

When creating a VM, use the job name as VM name if true. Otherwise use a generated UUID as name. If this parameter is set to true, the registry.endpoint parameter has to be set.

Default
false

ignore_server_availability_zone

When creating a disk, do not use the availability zone of the server, fall back to Openstacks default

Default
false

project

OpenStack project name (required for Keystone API V3)

region

OpenStack region (optional)

Example
nova

state_timeout

Timeout (in seconds) for OpenStack resources desired state

Default
300

stemcell_public_visibility

Set public visibility for stemcells

Default
false

tenant

OpenStack tenant name (required for Keystone API V2)

use_dhcp

Whether to use DHCP when configuring networking on VM (for both manual and dynamic)

Default
true

use_nova_networking

Use Nova networking APIs instead of Neutron APIs. Note: Nova networking APIs are deprecated with the Newton release, hence this switch will likely not work in future releases.

Default
false

username

OpenStack user name (required)

wait_resource_poll_interval

Changes the delay (in seconds) between each status check to OpenStack when creating a resource (optional, by default 5)

Default
5

registry

endpoint

Full URL for the registry endpoint that may include basic auth credentials

Example
http://admin:admin-password@some-ip:port

host

Address of the Registry to connect to (required)

password

Password to access the Registry

port

Port of the Registry for CPI and agent to connect to

Default
25777

username

Username to access the Registry

Templates

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

  • bin/cpi (from cpi.erb)
  • config/cacert.pem (from cacert.pem.erb)
  • config/cpi.json (from cpi.json.erb)

Packages

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