[tickets] [opensaf:tickets] #1443 log: service is crashed if creating and deleting conf obj class continuously
- **status**: assigned --> invalid --- ** [tickets:#1443] log: service is crashed if creating and deleting conf obj class continuously** **Status:** invalid **Milestone:** future **Created:** Tue Aug 11, 2015 07:37 AM UTC by Vu Minh Nguyen **Last Updated:** Mon Oct 09, 2017 10:13 AM UTC **Owner:** Srinivas Siva Mangipudy When creating application object class and deleting it continuously, log service could be crashed. To reproduce this case, perform following command. > for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20; do immcfg -c > SaLogStreamConfig safLgStrCfg=TestLog -a saLogStreamPathName=. -a > saLogStreamFileName=TestLog; echo "create ($i) - $?"; immcfg -d > safLgStrCfg=TestLog; echo "Delete ($i) - $?"; done Output something likes: > create (1) - 0 > Delete (1) - 0 > create (2) - 0 > error - saImmOmCcbObjectDelete for 'safLgStrCfg= TestLog' FAILED: > SA_AIS_ERR_FAILED_OPERATION (21) > error - saImmOmCcbApply FAILED: SA_AIS_ERR_FAILED_OPERATION (21) > Delete (2) - 1 > error - saImmOmCcbObjectCreate_2 FAILED with SA_AIS_ERR_EXIST (14) > create (3) - 1 > reboot: Restarting system Here is the analysis: 1. When creating obj class is done by IMM, but logsv have not finished the `apply callback` job yet. In this case, it needs to update a run-time attribute ` saLogStreamCreationTimestamp`. This is done in main thread. 2. If deleting this obj class comes before `apply callback` job finishes, IMM will mark that obj class as `IMM_DELETE_LOCK` and call respective callbacks to logsv and *wait for response*, but logsv is busy in doing `apply callback` in (1). When the request `update runtime attribute` to IMM by logsv, IMM will returns TRY_AGAIN. IMM waits for logsv response to release “IMM_DELETE_LOCK”, while logsv still get stuck in `update rt attribute` as getting TRY_AGAIN. Consequently, logsv might be terminated if number of try-again is reached or delete action gets failed. --- 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.-- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #2600 log: test case logtest 5 2 failed due to logsv is busy
- **status**: review --> fixed - **assigned_to**: Canh Truong --> nobody - **Comment**: commit 39b6568271fb6291cd654c8edf5b9104968bf3c4 (HEAD, origin/develop, develop) Author: Canh Van Truong Date: Mon Oct 9 16:32:13 2017 +0700 log: fix test case logtest 5 2 failed due to logsv is busy [#2600] When changing root directory (immcfg -a logRootDirectory=NEW_ROOT logConfig=1,safApp=safLogService), The "NEW_ROOT" need to be verify if it is writeable in ccb_completed_callback by log server. But log server is busy in sometimes cause test case fails. The patch fixes test case do retry the immcfg command commit df18652d6b95b486540a536077c3cb58212332e8 (HEAD, release) Author: Canh Van Truong Date: Mon Oct 9 16:32:13 2017 +0700 log: fix test case logtest 5 2 failed due to logsv is busy [#2600] --- ** [tickets:#2600] log: test case logtest 5 2 failed due to logsv is busy ** **Status:** fixed **Milestone:** 5.17.10 **Created:** Thu Sep 28, 2017 04:09 AM UTC by Canh Truong **Last Updated:** Mon Oct 09, 2017 09:12 AM UTC **Owner:** nobody The test case logtest 5 2 failed because logsv is busy. When changing root directory (immcfg -a logRootDirectory=NEW_ROOT logConfig=1,safApp=safLogService), The "NEW_ROOT" need to be verify if it is writeable in ccb_completed_callback by log server. But log server is busy in sometime, the test case should do command try again. --- 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.-- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #2585 AMF: Allow to delete SI and SI Dependency object in same CCB
- **status**: review --> fixed - **assigned_to**: Minh Hon Chau --> nobody - **Comment**: develop: commit acc519ca87bcec8d35cd9665ad2a385ef17aceb6 Author: Minh Chau Date: Wed Oct 11 11:20:00 2017 +1100 amf: Allow SI and SI Dependency object to be deleted in same ccb [#2585] documentation: changeset: 219:995485d47ca9 tag: tip user:Minh Hon Chau date:Wed Oct 11 11:37:27 2017 +1100 summary: amf: Update PR doc for deletion of SI and SI Dependency in same CCB --- ** [tickets:#2585] AMF: Allow to delete SI and SI Dependency object in same CCB** **Status:** fixed **Milestone:** 5.17.10 **Created:** Wed Sep 20, 2017 06:47 AM UTC by Minh Hon Chau **Last Updated:** Mon Oct 09, 2017 01:04 AM UTC **Owner:** nobody AMF today only allows users to delete SI if all SI Dependency objects (safDepend) related to the SI are deleted first. The CCB will be rejected if users delete both SI and safDepend objects in the same CCB. There's a model migration use case that needs to delete all SIs and all related safDepend in the same CCB, provided that all SIs are unassigned. This ticket enables this use case. (to be updated) --- 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.-- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #2165 base: Use osaftransportd for OpenSAF trace messages
- **summary**: osaf: Use osaftransportd for OpenSAF trace messages --> base: Use osaftransportd for OpenSAF trace messages - **status**: accepted --> review - **Component**: osaf --> base - **Blocker**: --> False - **Milestone**: 5.17.08 --> 5.17.10 --- ** [tickets:#2165] base: Use osaftransportd for OpenSAF trace messages** **Status:** review **Milestone:** 5.17.10 **Created:** Thu Nov 03, 2016 04:03 PM UTC by Anders Widell **Last Updated:** Mon Apr 10, 2017 01:40 PM UTC **Owner:** Anders Widell Use the MDS log framework also for OpenSAF trace messages, so that the trace messages are sent to the osaftransportd daemon instead of writing them directly to file. This has the benefit of increased performance, use of the standardized rfc5424 log message protocol, and that trace files will be automatically rotated. --- 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.-- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #2555 smf: execLevel for balanced upgrade
- **status**: assigned --> fixed --- ** [tickets:#2555] smf: execLevel for balanced upgrade** **Status:** fixed **Milestone:** 5.17.10 **Created:** Wed Aug 16, 2017 11:39 AM UTC by Rafael Odzakow **Last Updated:** Fri Aug 18, 2017 03:57 PM UTC **Owner:** Rafael Odzakow Currently the SMF created balanced procedures get the highest execLevel and are therefore executed last in the chain. There are cases where it is needed to execute procedures after the balanced procedures are completed. To offer this feature SMF can check which execLevel existing procedures that are used for balanced upgrade have. Inserting the balanced procedure one step after the highest of those procedures. This would allow to configure procedures that are not part of the balanced group to be executed after a balanced procedure. --- 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.-- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #2622 base: double start failed
- Description has changed: Diff: --- old +++ new @@ -1 +1 @@ -Previously named function "check_env" overwrites pid file. Move it to after running pidofproc for amfnd pid. +Previously named function "check_env" deletes pid file. Move it to after running pidofproc for amfnd pid. --- ** [tickets:#2622] base: double start failed** **Status:** review **Milestone:** 5.17.10 **Created:** Tue Oct 10, 2017 11:29 AM UTC by Rafael Odzakow **Last Updated:** Tue Oct 10, 2017 11:30 AM UTC **Owner:** Rafael Odzakow Previously named function "check_env" deletes pid file. Move it to after running pidofproc for amfnd pid. --- 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.-- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #2622 base: double start failed
- **summary**: [base] double start failed --> base: double start failed --- ** [tickets:#2622] base: double start failed** **Status:** review **Milestone:** 5.17.10 **Created:** Tue Oct 10, 2017 11:29 AM UTC by Rafael Odzakow **Last Updated:** Tue Oct 10, 2017 11:29 AM UTC **Owner:** Rafael Odzakow Previously named function "check_env" overwrites pid file. Move it to after running pidofproc for amfnd pid. --- 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.-- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #2622 double start failed
--- ** [tickets:#2622] double start failed** **Status:** review **Milestone:** 5.17.10 **Created:** Tue Oct 10, 2017 11:29 AM UTC by Rafael Odzakow **Last Updated:** Tue Oct 10, 2017 11:29 AM UTC **Owner:** Rafael Odzakow Previously named function "check_env" overwrites pid file. Move it to after running pidofproc for amfnd pid. --- 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.-- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #2622 [base] double start failed
- **summary**: double start failed --> [base] double start failed --- ** [tickets:#2622] [base] double start failed** **Status:** review **Milestone:** 5.17.10 **Created:** Tue Oct 10, 2017 11:29 AM UTC by Rafael Odzakow **Last Updated:** Tue Oct 10, 2017 11:29 AM UTC **Owner:** Rafael Odzakow Previously named function "check_env" overwrites pid file. Move it to after running pidofproc for amfnd pid. --- 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.-- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets