When using immcfg to create an object, the tool sets admin-owner to parent object with subtree scope. That makes it fail to set admin-owner to the children of the parent object.
immcfg -c Test test=1
immcfg -c Test test=2,test=1
immcfg (explicit mode)
> immcfg -c Test test=3,test=1
> (don't commit, just leave the CCB in idle state)
immcfg -d test=2,test=1
error - saImmOmAdminOwnerSet FAILED: SA_AIS_ERR_EXIST (14)
Diff:
opensaf-4.5.x:
changeset: 6765:d8c4b6e99421
branch: opensaf-4.5.x
parent: 6762:c76aa6582989
user: Hung Nguyen hung.d.nguyen@dektech.com.au
date: Thu Aug 20 18:15:56 2015 +0700
summary: immtools: Set admin-owner to parent object with SA_IMM_ONE scope when creating objects with immcfg [#1429]
opensaf-4.6.x:
changeset: 6766:1f4db804c6d4
branch: opensaf-4.6.x
parent: 6763:80ec1cdd6c61
user: Hung Nguyen hung.d.nguyen@dektech.com.au
date: Thu Aug 20 18:15:56 2015 +0700
summary: immtools: Set admin-owner to parent object with SA_IMM_ONE scope when creating objects with immcfg [#1429]
default(4.7):
changeset: 6767:9be40d5407a1
tag: tip
parent: 6764:6e061e191875
user: Hung Nguyen hung.d.nguyen@dektech.com.au
date: Thu Aug 20 18:15:56 2015 +0700
summary: immtools: Set admin-owner to parent object with SA_IMM_ONE scope when creating objects with immcfg [#1429]
Related
Tickets:
#1429