---
** [tickets:#3321] imm: multiple value attribute is out of order after cluster
reboot**
**Status:** accepted
**Milestone:** 5.22.11
**Created:** Tue Sep 20, 2022 09:11 AM UTC by Thien Minh Huynh
**Last Updated:** Tue Sep 20, 2022 09:11 AM UTC
**Owner:** Thien Minh Huynh
Multiple value attribute is out of order after cluster reboot.
expected value: hosts=192.168.0.1|192.168.0.2|192.168.0.3|192.168.0.4
but received: hosts=192.168.0.1|192.168.0.4|192.168.0.3|192.168.0.2
step reproduce:
1. Create class and a object has multiple value attribute same as schema.
`immcfg -f <path schema>`
`immcfg -c TestMultipleValue -a hosts="192.168.0.1" -a hosts="192.168.0.2" -a
hosts="192.168.0.3" -a hosts="192.168.0.4" testMultipleValue=1`
2. Check value before cluster restart
`immlist testMultipleValue=1 -a host -d "|"`
3. Cluster reboot
`immadm -o 4 safCluster=myClmCluster`
hosts=192.168.0.1|192.168.0.2|192.168.0.3|192.168.0.4
4. Check value after cluster restart
`immlist testMultipleValue=1 -a host -d "|"`
hosts=192.168.0.1|192.168.0.4|192.168.0.3|192.168.0.2
~~~
<?xml version="1.0" encoding="utf-8"?>
<imm:IMM-contents>
<class name="TestMultipleValue">
<category>SA_CONFIG</category>
<rdn>
<name>testMultipleValue</name>
<type>SA_STRING_T</type>
<category>SA_CONFIG</category>
<flag>SA_INITIALIZED</flag>
</rdn>
<attr>
<name>hosts</name>
<type>SA_STRING_T</type>
<category>SA_CONFIG</category>
<flag>SA_WRITABLE</flag>
<flag>SA_MULTI_VALUE</flag>
</attr>
</class>
</imm:IMM-contents>
~~~
---
Sent from sourceforge.net because [email protected] 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets