Pivotal Knowledge Base

Follow

CredHub for PCF 2.0 "Unable to render instance groups" as encryption password must be 20 characters

Environment

Pivotal Cloud Foundry (PCF) Ops Manager 2.0

Secure Service Instance Credentials for Pivotal Application Service (PAS) formally known as CredHub

Symptom

While configuring CredHub in Ops Manager for PCF 2.0, CredHub deployment fails with the following errors:

Error: Unable to render instance groups for deployment. Errors are:
- Unable to render jobs for instance group 'credhub'. Errors are:
- Unable to render templates for job 'credhub'. Errors are:
- Error filling in template 'application.yml.erb'
(line 160: The encryption_password value must be at least 20 characters in length.
Please update and redeploy.)

Cause

The value for Active Encryption Password Value field is set as to less than 20 characters. Users need to type a key to use for encrypting and decrypting the values stored in the CredHub database. This key must be at least 20 characters.

Resolution

Read the Configure CredHub Section from PCF 2.0 Docs. Make sure the Password is at least 20 characters.

Comments

Powered by Zendesk