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
