Library not found error when configuring vSphere Supervisor 9.0
search cancel

Library not found error when configuring vSphere Supervisor 9.0

book

Article ID: 406569

calendar_today

Updated On:

Products

VMware vSphere Kubernetes Service

Issue/Introduction

Configuration of vSphere Supervisor 9.0 can result in below error. 

Error processing Content Library <content library id>, Error: Library not found error.
 

Environment

VCF 9.0

Cause

Deleting and recreating Content library  associated with vSphere Supervisor results in the issue. From UI you would see 

Error processing Content Library <content library id>, Error: Library not found error.
 
From /var/log/vmware/content-library/cls.log
 error wcp [content/controller.go:303] [opID=cl-<content library id>] Error creating library processor while processing CL: <content library id>, error: Library not found error
 debug wcp [content/repository.go:214] [opID=cl-<content library id>] Updated stateVector for CL: <content library id> to state: APPLY, phase: ERROR, status: ERROR

 

Resolution

Old library needs to be disassociated from vCenter

This can be done by opening ssh to the vCenter

Enter dcli prompt

dcli +i

Run below to remove library

 com vmware vcenter namespacemanagement lifecycle content libraries unassign --library <content library id>

Restart vSphere Supervisor deployment.