Skip to content

openstack_cpi job from bosh-openstack-cpi/25

Github source: 6b45d8b4 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 simple blobstore plugin

host

Host of agent blobstore server used by simple blobstore plugin

s3_force_path_style

Whether the agent blobstore plugin will always use path style for bucket access

s3_multipart_threshold

Agent blobstore threshold for multipart uploads

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:password@192.168.0.1:5000

blobstore

access_key_id

access_key_id used by s3 blobstore plugin

address

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

agent

password

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

user

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

bucket_name

S3 Bucket used by s3 blobstore plugin

host

Host of blobstore server used by simple blobstore plugin

path

Path used by ‘local’ blobstore plugin

port

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

provider

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

s3_force_path_style

Whether s3 blobstore plugin will always use path style for bucket access

Default
false

s3_multipart_threshold

Simple blobstore threshold for multipart uploads

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

secret_access_key used by s3 blobstore plugin

ssl_verify_peer

Verify the SSL certificate used on the blobstore?

Default
true

use_ssl

Whether the simple 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

Default
[]
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 optional connection parameters to the OpenStack API (optional)

Example

Provide all required custom CA certificates

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

Disable SSL verification for DevStack

ssl_verify_peer: false

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

domain

OpenStack domain (required for Keystone API V3)

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

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.