9 Replies Latest reply on Sep 14, 2018 6:16 AM by Bill Robinson

    Failed to delete object graph: com.bladelogic.om.infra.mfw.util.BlException: Model Object has objects depending on it

    Natali Nogueira

      I am executing the blcli command  "BlPackage importAndUpdateByName" using BAO, but it is showing this error.

      Any ideia?

       

      <bladelogic-response>

        <metadata>

          <status>success</status>

        </metadata>

        <targets-output>

          <target-output>

            <metadata>

              <os-id>Linux</os-id>

              <os-version>3.10.0-693.21.1.el7.x86_64</os-version>

              <os-arch>amd64</os-arch>

              <status>success</status>

            </metadata>

            <commands-output>

              <command-output>

                <metadata>

                  <command>blcli_execute BlPackage importAndUpdateByName "/opt/bmc/BAO/tmp/DBKey:SDepotObjectModelKeyImpl:2049987-1-3972590" "/opt/bmc/BAO/tmp/DBKey:SDepotObjectModelKeyImpl:2049987-1-3972590/mapping.xml" "<package-name>" "<package-name>" "/<dirGroup>"  </command>

                  <line-count>1</line-count>

                  <execution-milliseconds>100067</execution-milliseconds>

                  <exit-code>1</exit-code>

                  <status>error</status>

                  <error>Exit code indicates error</error>

                </metadata>

                <output>

                  <line index="1">Command execution failed. com.bladelogic.om.infra.mfw.util.BlException: Failed to delete object graph: com.bladelogic.om.infra.mfw.util.BlException: Model Object has objects depending on it. DBKey:SBLGroupModelKeyImpl:2093121-3971526</line>

                </output>

              </command-output>

            </commands-output>

          </target-output>

        </targets-output>

      </bladelogic-response>

       

       

      Thank you