vSphere CPI error uninitialized constant vSphereCloud
search cancel

vSphere CPI error uninitialized constant vSphereCloud

book

Article ID: 293773

calendar_today

Updated On:

Products

Operations Manager

Issue/Introduction

An error is returned when Bosh is creating a new VM:
CPI 'has_vm' method responded with error: CmdError{"type":"Unknown","message":"uninitialized constant VSphereCloud::cloud::Tempfile","ok_to_retry":false}

This issue affects Bosh vSphere CPI 59; this is shipped in Ops Manager v2.10.12 and v2.10.13 for NSX-T environment using certificate authentication. NSX-T policy API is disabled.

Environment

Product Version: 2.10

Resolution

Workaround

Switching to password based authentication in the NSX-T settings is a workaround for this issue.


Resolution

A Bosh vSphere CPI fix has been released and available in Ops Manager 2.10.14
  • https://docs.pivotal.io/ops-manager/2-10/release-notes.html#2-10-14