Dynamic VDB doesn't exist error when it's imported VDB is undeployed/deployed in DV

Solution Verified - Updated -

Issue

  • Using a Dynamic VDB that imports another VDB, when the imported VDB is redeployed the Dynamic VDB is undeployed but never redeployed, so it doesn't exist:
WARN [org.teiid.SECURITY] (New I/O worker #10) TEIID40011 Processing exception 'TEIID40046 VDB "dynovdb2" version "latest" does not exist.' for session null. Exception type org.teiid.client.security.LogonException thrown from org.teiid.services.SessionServiceImpl.getActiveVDB(SessionServiceImpl.java:269). Enable more detailed logging to see the entire stacktrace

Environment

  • Red Hat JBoss Data Virtualization (DV) 6.1, 6.2
  • DV Dynamic VDBs:
    dynovdb2-vdb.xml that imports dynovdb1
<vdb name="dynovdb2" version="1">
    <import-vdb name="dynovdb1" version="1" import-data-policies="true"/>
</vdb>

dynovdb1-vdb.xml

<vdb name="dynovdb1" version="1">
     <import-vdb name="ModeShape" version="1" import-data-policies="true"/>
 </vdb>

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In