Failed in migrateing policy store from obi to file /tmp/BARwork/exportSICustomization/ssi/metadata/ — Oracle Analytics

Oracle Analytics Cloud and Server

Welcome to the Oracle Analytics Community: Please complete your User Profile and upload your Profile Picture

Failed in migrateing policy store from obi to file /tmp/BARwork/exportSICustomization/ssi/metadata/

Received Response
95
Views
4
Comments
User_4NU9S
User_4NU9S Rank 6 - Analytics Lead

ver 12.2.1.2.xxxx

No matte what I do to be successful @ exporting the bar with catalog set true .. I get this

exportServiceInstance('domain_home', 'ssi', '/tmp/BARwork', '/tmp/BARexp', includeCatalogRuntimeInfo=true, includeCredentials='********')

SEVERE: Failed in migrateing policy store from obi to file /tmp/BARwork/exportSICustomization/ssi/metadata/authmodel/jazn/jazn-data.xml

oracle.bi.bar.si.framework.handler.JaznServiceInstanceHandler exportServiceInstance

SEVERE: Failed running exportServiceInstance API of oracle.bi.jazn.bar.plugin.JaznMetadataManagerGenericPluginImpl

oracle.bi.bar.si.framework.plugin.MetadataPluginException: Failed in migrateing policy store from  obi to file /tmp/BARwork/exportSICustomization/ssi/metadata/authmodel/jazn/jazn-data.xml

        at oracle.bi.jazn.bar.plugin.JaznMetadataManagerGenericPluginImpl.exportServiceInstance(JaznMetadataManagerGenericPluginImpl.java:325)

        at oracle.bi.jazn.bar.plugin.JaznMetadataManagerGenericPluginImpl.exportServiceInstance(JaznMetadataManagerGenericPluginImpl.java:66)

        at oracle.bi.bar.si.framework.handler.JaznServiceInstanceHandler.exportServiceInstance(JaznServiceInstanceHandler.java:525)

        at oracle.bi.bar.si.framework.ServiceInstanceFrameWorkImpl.exportServiceInstance(ServiceInstanceFrameWorkImpl.java:370)

        at oracle.bi.bar.si.ServiceInstanceLifeCycleImpl.exportServiceInstance(ServiceInstanceLifeCycleImpl.java:665)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at org.python.core.PyReflectedFunction.__call__(Unknown Source)

        at org.python.core.PyMethod.__call__(Unknown Source)

        at org.python.core.PyObject.__call__(Unknown Source)

        at org.python.core.PyObject.invoke(Unknown Source)

        at org.python.pycode._pyx133.exportServiceInstance$4(/obinstance/obiee12/fmw/bi/lib/bi-bar.jar!/wlstScriptDir/ServiceInstanceLifeCycle.py:84)

        at org.python.pycode._pyx133.call_function(/obinstance/obiee12/fmw/bi/lib/bi-bar.jar!/wlstScriptDir/ServiceInstanceLifeCycle.py)

        at org.python.core.PyTableCode.call(Unknown Source)

        at org.python.core.PyTableCode.call(Unknown Source)

        at org.python.core.PyFunction.__call__(Unknown Source)

        at org.python.pycode._pyx146.f$0(<console>:1)

        at org.python.pycode._pyx146.call_function(<console>)

        at org.python.core.PyTableCode.call(Unknown Source)

        at org.python.core.PyCode.call(Unknown Source)

        at org.python.core.Py.runCode(Py.java:1224)

        at org.python.core.Py.exec(Py.java:1250)

        at org.python.util.PythonInterpreter.exec(Unknown Source)

        at org.python.util.InteractiveInterpreter.runcode(Unknown Source)

        at org.python.util.InteractiveInterpreter.runsource(Unknown Source)

        at org.python.util.InteractiveInterpreter.runsource(Unknown Source)

        at weblogic.management.scripting.utils.WLSTInterpreter.runsource(WLSTInterpreter.java:1095)

        at weblogic.management.scripting.WLST.main(WLST.java:227)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at weblogic.WLST.main(WLST.java:47)

oracle.bi.bar.si.framework.ServiceInstanceFrameWorkImpl exportServiceInstance

SEVERE: Error during export service instanceoracle.bi.bar.si.exception.ServiceInstanceLifeCycleException: Failed running CreateServiceInstance API of oracle.bi.jazn.bar.plugin.JaznMetadataManagerGenericPluginImpl

oracle.bi.bar.si.ServiceInstanceLifeCycleImpl exportServiceInstance

SEVERE: Failed in running all the handlers during export service instance.

Traceback (innermost last):

  File "<console>", line 1, in ?

  File "/obinstance/obiee12/fmw/bi/lib/lib/bi-bar.jar!/wlstScriptDir/ServiceInstanceLifeCycle.py", line 84, in exportServiceInstance

        at oracle.bi.bar.si.ServiceInstanceLifeCycleImpl.exportServiceInstance(ServiceInstanceLifeCycleImpl.java:669)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

oracle.bi.bar.si.exception.ServiceInstanceLifeCycleException: oracle.bi.bar.si.exception.ServiceInstanceLifeCycleException: BAR-00005

Things I tried ..

1) full set of 777 permission on working and exp dir.

2) BI_PRODUCT_HOME instance set to /oracle_home/bi

3) OBIEE 12c: Unable To Export or Import The BI Artifacts (Doc ID 2305246.1)  - to me its not at all relevant here in linux box at least.

3) and of course the usual bounce of service ..

What not done is these..

1) catalog manager log study

2)Opss table scrutiny

before that wanted to check with experts here !

Thanks again as always !!!

Answers

  • User_4NU9S
    User_4NU9S Rank 6 - Analytics Lead

    OPSS table is clean ,, as the query didn't return any record

    select * from jps_attrs where jps_dn_entryid in (select entryid from jps_dn

    where parentdn =

    'cn=opssroot,cn=jpscontext,cn=opsssecuritystore,cn=obi,cn=jaas

    policy,cn=permissions,')

    and jps_dn_entryid not in (select jps_dn_entryid from jps_attrs where

    attrname = 'orcljaznpermissiontarget')

    order by jps_dn_entryid, attrname;

  • User_4NU9S
    User_4NU9S Rank 6 - Analytics Lead

    This is resolved by fixing the permission issue with the problematic user which was found in jazn-data.xml file.

  • bae15
    bae15 Rank 1 - Community Starter

    I'm getting same error, how to find  problematic user role?

    Error Message :

    Oct 24, 2024 1:01:43 AM oracle.bi.security.opss.policy.MigrateApplicationPolicyProcess main
    SEVERE: Failed on running migrate application policy/stripe. oracle.security.jps.service.policystore.PolicyObjectNotFoundException: JPS-09018: Policy object Grantee orclguid=19ADF0078C764EDDB73142F3C6E3214A,cn=Grantees,cn=JAAS Policy,cn=obi,cn=opssSecurityStore,cn=JPSContext,cn=opssRoot cannot be found.
    Exception in thread "main" java.lang.RuntimeException: Failed on running migrate application policy/stripe.
    at oracle.bi.security.opss.policy.MigrateApplicationPolicyProcess.main(MigrateApplicationPolicyProcess.java:148)
    Caused by: oracle.security.jps.service.policystore.PolicyObjectNotFoundException: JPS-09018: Policy object Grantee orclguid=19ADF0078C764EDDB73142F3C6E3214A,cn=Grantees,cn=JAAS Policy,cn=obi,cn=opssSecurityStore,cn=JPSContext,cn=opssRoot cannot be found.
    at oracle.security.jps.internal.policystore.ldap.GranteeManagerImpl.getGranteeEntryInTransaction(GranteeManagerImpl.java:428)

  • [Deleted User]
    [Deleted User] Rank 7 - Analytics Coach

    @bae15 This is a 5 year old thread and OBIEE 12.2.1.2 an outdated product which is no longer under error correction support.

    I am closing this thread. If you have a question then please open your own thread. State your question with full details and information.

    Be aware that many comment will point to the fact that you're using a unsupported product and should have upgrade since a very long time. You are 7 major product releases behind the current state of the art.