- **status**: assigned --> accepted
---
** [tickets:#1474] imm: Assigning default value to no-dangling attributes make
cluster fail to start**
**Status:** accepted
**Milestone:** 4.5.2
**Created:** Thu Sep 10, 2015 02:27 PM UTC by Hung Nguyen
**Last Updated:** Mon Sep 14, 2015 02:42 PM UTC
**Owner:** Hung Nguyen
root@SC1:~# immlist -c Test
<< Test - CONFIG >>
test : SA_STRING_T [1] {RDN, CONFIG, INITIALIZED}
dep : SA_NAME_T [0] = test=1 (6) {CONFIG, WRITEABLE, NO_DANGLING}
Create test=1 and test=2
root@SC1:~# immcfg -c Test test=1
root@SC1:~# immcfg -c Test test=2
Set the attribute with default value to empty.
root@SC1:~# immcfg -a dep= test=2
root@SC-1:~# immlist -a dep test=2
dep=<Empty>
Now test=1 can be deleted
root@SC1:~# immcfg -d test=1
Reboot cluster and it will fail to start
Sep 10 21:03:36 SC1 osafimmloadd: NO ***** Loading from PBE file imm.db at
/srv/shared/imm/ *****
Sep 10 21:03:40 SC1 osafimmnd[421]: NO ERR_FAILED_OPERATION: NO_DANGLING
reference (test=1) is dangling (Ccb 1)
Sep 10 21:03:40 SC1 osafimmnd[421]: NO Ccb 1 ABORTED (IMMLOADER)
[#1377]
---
Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets