director-sdk

Cloudera Altus Director API v11 (2.7.0) Changelog

This document summarizes changes to the Altus Director server API from version v10 to the new version v11, released with Altus Director 2.7.0.

Breaking Changes

The following concerns are typical for moving to a new API version.

When a new Altus Director server API version is released, older versions remain available and supported. Therefore, moving to the new version is usually only needed to make use of new API features. Over time, however, very old API versions are deprecated and then removed.

Detailed Provider Error Information

The following new error codes may now be returned with additional details on cloud provider errors:

An individual PROVIDER_ERROR error information object includes these fields:

Errors caught by the Altus Director AWS plugin include the following error details in the details table:

Errors caught by the Altus Director Azure plugin include the following error details in the details table:

The Google plugin does not currently use this mechanism to supply detailed error information.

A PROVIDER_ERROR_MULTIPLE error information object includes one or more PROVIDER_ERROR error information object in its causes field.

User Management Status Endpoint

Altus Director 2.7 can make use of a backing LDAP or Active Directory (AD) server for managing user accounts. A new GET API endpoint users/managementStatus is available for clients to determine how Director is configured for user management. The JSON result includes the following fields:

When Altus Director is configured to use LDAP or AD for user accounts, API calls to work with user accounts return an HTTP 400 Bad Request response with the reason “Local user management is disabled”. Use the new users/managementStatus endpoint to check on the management status to avoid receiving these error responses.

See Altus Director documentation on LDAP and AD configuration for more information.

Fine-grained Normalization Configuration

Altus Director 2.7 offers fine-grained control of the instance normalization process, where new cloud instances are updated and configured for use with Cloudera Manager or as part of a cluster. Instance template objects may now include the following optional new field:

The flags in the normalizationConfig map are:

See the AWS reference client configuration file for additional details. Contact Cloudera for guidance in using this advanced capability.

Miscellaneous

The following new error codes may now be returned:

The codes noted in the list above as “reserved” are not returned by Altus Director under normal operation, but are reserved for future use. Please contact Cloudera support if they are encountered.