Pivotal Knowledge Base

Follow

PKS Cluster Creation fails with "Failed to unmarshal ops file" error

Environment

Pivotal Container Service (PKS) Version 1.0

NSX-T Version 2.1

Symptom

PKS cluster creation fails with the message: Failed to unmarshal ops file

Error Message

Cluster creation fails with the following message:

Error: Could not get ops: Could not get plan defined ops: Failed to unmarshal ops file
/var/vcap/jobs/pks-nsx-t-ops-files/manifests/add_pks_nsx_t.yml due to yaml: line 17: found
character that cannot start any token

Cause

The error message found character that cannot start any token is a sign that a yaml file is not properly formatted. In this case, NSX-T admin user’s password contained a special character ‘@’ as the first character of the password. This caused unmarshalling of /var/vcap/jobs/pks-nsx-t-ops-files/manifests/add_pks_nsx_t.yml used by PKS’ NSX-T job to fail.

Resolution

  • Change the NSX-T admin user’s password using these instructions.
  • Do not use the special character as the first character of NSX-T admin user’s password.
  • Certain special characters are not allowed for NSX-T admin user's password. For more details refer to this article.

Comments

Powered by Zendesk