Releases: pivotal-cf/om
0.19.0
New in this release:
- Running
configure-bosh
after your director has been deployed will no longer result in a cryptic error.om
will detect that the director is already deployed and provide a nice warning message indicating that it is skipping this step. - For commands that require it, the password can be provided by setting the
OM_PASSWORD
environment variable instead of using the--password
flag. - The
om errands
command will list "post-deploy" errands. We will be adding "pre-delete" errand support in a future release. - When running
om apply-changes
and "re-attaching" to an running installation, the installation ID and start time will now be printed out before the logs display. - You can now use
--client-id
and--client-secret
flags to authenticate if you have a UAA client instead of a username and password.
Bug fixes:
- Setting
internet_connected
tofalse
will actually stick when using theconfigure-product
command with the--product-resources
flag. - Some HTTP requests that result in a "dial tcp: i/o timeout" error will now be retried. Hopefully this will make long-running commands a bit more stable.
- The
om import-installation
command will no longer "peg" your CPU.
0.18.0
New in this release:
Bug Fixes
- Fixes a bug where providing the
--help
flag for a command that also requires the--target
flag would produce an error. - Fixes
ignore_warnings
so that it is now a quoted string instead of a json bool - Fixes #41 so you can now re-attach to a running deletion
New Features
- Highly Experimental support for configuring Openstack environments
- Allows for bosh configuration of AWS networks
Provided the ability for an operator to configure their bosh director.
The syntax below is now supported for --resource-configuration
when calling the configure-bosh
command:
{
"director": {
"instance_type": {
"id": "m1.medium"
},
"persistent_disk": {
"size_mb": "20480"
},
"internet_connected": true,
"elb_names": ["my-elb"]
},
"compilation": {
"instances": 1,
"instance_type": {
"id": "m1.medium"
},
"internet_connected": true,
"elb_names": ["my-elb"]
}
}
Breaking Changes
We have slightly tweaked the format required for passing network configuration to om
this was done to accommodate the way AWS networks work. The iaas_identifier
now resides within the subnet object like so:
"subnets": [
{
"iaas_identifier": "vpc-subnet-id-2",
"cidr": "10.0.4.0/22",
"reserved_ip_ranges": "10.0.4.0-10.0.4.4",
"dns": "8.8.8.8",
}
]
The documentation has been updated to reflect this.
0.17.0
0.16.0
0.15.0
Warning This release contains a backward-incompatible change to the structure of the --az-configuration
flag in the configure-bosh
command. The flag input required a refactoring to enable support for vSphere Director AZ configuration. The primary change is that the input for existing IAASes, like GCP and AWS will change to look like the following:
{
"availability_zones": [
{"name": "az-1"},
{"name": "az-2"}
]
}
New in this release:
- Support for configuring availability zones on vSphere Directors. More details can be found in the docs.
0.14.0
New in this release:
--path
is now a required argument in thecurl
command.- For commands that require a target, not specifying the
--target
global flag will produce an error. - The logging for
configure-product
will now provide some more insight into what exactly is being configured. - The
available-products
command will list the set of available products on an Ops Manager. stage-product
behaves correctly when staging a new version of a product that has never been deployed.- Commands that provide feedback about time elapsed since some event will do so with a more human-friendly output.
0.13.0
0.12.0
0.11.0
New in this release:
delete-unused-products
will allow you go get rid of products that are not being used by your Ops Manager.import-installation
will now wait until the UAA has come up to complete.- commands now all support
--help
,-help
, and-h
flags for printing command-specific help. apply-changes
will now "re-attach" to an ongoing installation when one is already in progress.apply-changes
is now capable of ignoring warnings if any are found before deployment.upload-product
will check to see if a product has already been uploaded before uploading it again.- Fixes a bug in
export-installation
that incorrectly read the exported installation zip file into memory and would cause memory-constrained environments to error.
0.10.0
New in this release:
stage-product
will now inform you if a product has already been staged.- Full support for product configuration.
om curl
now "pretty prints" the JSON returned in responses.om <command> --help
will now print command-specific help.- Addresses some more issues with network connection timeouts.
- Fixes a regression in the
apply-changes
command that would prevent users from authenticating correctly when invoking the command.
om configure-product
This command can be invoked as follows:
$ om --target https://opsman.example.com \
--username "some-username" \
--password "some-password" \
configure-product \
--product-name "my-product" \
--product-properties '{
".my_job.my_property": {
"value": "some-property"
}
}' \
--product-network '{
"network": { "name": "my-subnet" },
"other_availability_zones": [
{ "name": "us-central1-a" },
{ "name": "us-central1-b" },
{ "name": "us-central1-c" }
],
"singleton_availability_zone": { "name": "us-central1-a" }
}' \
--product-resources '{
"consul_server": {
"instance_type": {"id": "automatic"},
"instances": 3,
"internet_connected": true,
"persistent_disk": {"size_mb": "automatic"}
},
"diego_brain": {
"elb_names": ["tcp:banana-cf-ssh"],
"instance_type": {"id": "automatic"},
"instances": 1,
"internet_connected": true,
"persistent_disk": {"size_mb": "automatic"}
}
}'
The properties, network, and resources JSON fields follow the structure of those same fields as described in the OpsManager API. Look to the API docs for more information about how to structure your specific configuration.