Hi, Yes, it is possible, but we need a defect ticket. I'll check if we already have a ticket. I'm not sure if there is a common ticket for improving logs and traces.
Regards, Zoran -----Original Message----- From: Kang-sen Lu [mailto:[email protected]] Sent: den 13 februari 2015 16:29 To: Zoran Milinkovic Cc: [email protected] Subject: RE: [users] need help about calling saImmOmCcbObjectDelete and return code is SA_AIS_ERR_BAD_OPERATION Hi, Zoran: You are correct that our code only set admin owner of the to-be-deleted-object to SAFIMM, not the whole SUBTREE. Is there any way to add debugging code into ImmModel.cc and display the object that is offending? That would make debugging much more convenient. Thanks. Kang-sen -----Original Message----- From: Zoran Milinkovic [mailto:[email protected]] Sent: Friday, February 13, 2015 10:20 AM To: Kang-sen Lu Cc: [email protected] Subject: RE: [users] need help about calling saImmOmCcbObjectDelete and return code is SA_AIS_ERR_BAD_OPERATION Hi Lu, You probably have the cascade delete case. Seems that you set admin owner only to the top object, and not to children. Regards, Zoran -----Original Message----- From: Kang-sen Lu [mailto:[email protected]] Sent: den 13 februari 2015 15:40 To: [email protected] Subject: [users] need help about calling saImmOmCcbObjectDelete and return code is SA_AIS_ERR_BAD_OPERATION We are trying to delete a CSI object from IMM. We first called saImmOmAdminOwnerSet to changethe admin-owner of the object to be deleted, then call saImmOmCcbObjectDelete. But we got SA_AIS_ERR_BAD_OPERATION. Can some expert on IMM examine the following osafimmnd log? I have added debugging code into ImmModel.cc to find out the details. Here is the relevant log: Feb 13 8:43:13.475789 osafimmnd [14540:/home/ksenlu/sandbox/klu_main/cae/extern/opensaf4/opensaf-4.5.0/osaf/services/saf/immsv/immnd/ImmModel.cc:4376] >> adminOwnerChange Feb 13 8:43:13.475794 osafimmnd [14540:/home/ksenlu/sandbox/klu_main/cae/extern/opensaf4/opensaf-4.5.0/osaf/services/saf/immsv/immnd/ImmModel.cc:4403] T5 Set admin owner 'SAFIMM' Feb 13 8:43:13.475806 osafimmnd [14540:/home/ksenlu/sandbox/klu_main/cae/extern/opensaf4/opensaf-4.5.0/osaf/services/saf/immsv/immnd/ImmModel.cc:13377] T5 before set: doIt=0, Object 'safCsi=ZookeeperUserCSI_SI-1,safSi=dbSvcUserSI-1,safApp=dbSvcUserApp' administative owner old=, new= SAFIMM Feb 13 8:43:13.475813 osafimmnd [14540:/home/ksenlu/sandbox/klu_main/cae/extern/opensaf4/opensaf-4.5.0/osaf/services/saf/immsv/immnd/ImmModel.cc:4416] T5 Set Admin Owner for object safCsi=ZookeeperUserCSI_SI-1,safSi=dbSvcUserSI-1,safApp=dbSvcUserApp Feb 13 8:43:13.475819 osafimmnd [14540:/home/ksenlu/sandbox/klu_main/cae/extern/opensaf4/opensaf-4.5.0/osaf/services/saf/immsv/immnd/ImmModel.cc:13377] T5 before set: doIt=1, Object 'safCsi=ZookeeperUserCSI_SI-1,safSi=dbSvcUserSI-1,safApp=dbSvcUserApp' administative owner old=, new= SAFIMM Feb 13 8:43:13.475833 osafimmnd [14540:/home/ksenlu/sandbox/klu_main/cae/extern/opensaf4/opensaf-4.5.0/osaf/services/saf/immsv/immnd/ImmModel.cc:13386] T5 after set: Object 'safCsi=ZookeeperUserCSI_SI-1,safSi=dbSvcUserSI-1,safApp=dbSvcUserApp' administative owner old=SAFIMM, new= SAFIMM Feb 13 8:43:13.475841 osafimmnd [14540:/home/ksenlu/sandbox/klu_main/cae/extern/opensaf4/opensaf-4.5.0/osaf/services/saf/immsv/immnd/ImmModel.cc:4521] << adminOwnerChange Feb 13 8:43:13.475847 osafimmnd [14540:/home/ksenlu/sandbox/klu_main/cae/extern/opensaf4/opensaf-4.5.0/osaf/services/saf/immsv/immnd/immnd_evt.c:8950] T2 SENDRSP 1 ---- Feb 13 8:43:13.476098 osafimmnd [14540:/home/ksenlu/sandbox/klu_main/cae/extern/opensaf4/opensaf-4.5.0/osaf/services/saf/immsv/immnd/ImmModel.cc:8529] >> ccbObjectDelete Feb 13 8:43:13.476103 osafimmnd [14540:/home/ksenlu/sandbox/klu_main/cae/extern/opensaf4/opensaf-4.5.0/osaf/services/saf/immsv/immnd/ImmModel.cc:2626] >> getLongDnsAllowed Feb 13 8:43:13.476109 osafimmnd [14540:/home/ksenlu/sandbox/klu_main/cae/extern/opensaf4/opensaf-4.5.0/osaf/services/saf/immsv/immnd/ImmModel.cc:2650] << getLongDnsAllowed Feb 13 8:43:13.476116 osafimmnd [14540:/home/ksenlu/sandbox/klu_main/cae/extern/opensaf4/opensaf-4.5.0/osaf/services/saf/immsv/immnd/ImmModel.cc:8671] T5 doIt=0, Object 'safCsi=ZookeeperUserCSI_SI-1,safSi=dbSvcUserSI-1,safApp=dbSvcUserApp' to be deleted. Feb 13 8:43:13.476205 osafimmnd [14540:/home/ksenlu/sandbox/klu_main/cae/extern/opensaf4/opensaf-4.5.0/osaf/services/saf/immsv/immnd/ImmModel.cc:8727] NO ERR_BAD_OPERATION: Mismatch on administrative owner != SAFIMM Feb 13 8:43:13.476214 osafimmnd [14540:/home/ksenlu/sandbox/klu_main/cae/extern/opensaf4/opensaf-4.5.0/osaf/services/saf/immsv/immnd/ImmModel.cc:8701] << ccbObjectDelete Feb 13 8:43:13.476220 osafimmnd [14540:/home/ksenlu/sandbox/klu_main/cae/extern/opensaf4/opensaf-4.5.0/osaf/services/saf/immsv/immnd/immnd_evt.c:6933] T2 Send immediate reply to OM client Thanks. Kang-sen ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Opensaf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-users ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ Opensaf-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensaf-users
