[tickets] [opensaf:tickets] #711 log record write FAILED with SA_AIS_ERR_TRY_AGAIN after failover
changeset: 4910:cd893c991895 tag: tip user:Lennart Lund lennart.l...@ericsson.com date:Wed Feb 05 09:27:07 2014 +0100 summary: logsv: Fix updating of log root directory when check-pointing lgs config [#711] ver: cd893c9918950a139bf53d6d501ab063f94c302c changeset: 4907:d202a843c684 branch: opensaf-4.4.x user:Lennart Lund lennart.l...@ericsson.com date:Wed Feb 05 09:27:07 2014 +0100 summary: logsv: Fix updating of log root directory when check-pointing lgs config [#711] ver: d202a843c684adbaea7625a6c59928784c33be4a --- ** [tickets:#711] log record write FAILED with SA_AIS_ERR_TRY_AGAIN after failover** **Status:** fixed **Created:** Wed Jan 08, 2014 12:08 PM UTC by Sirisha Alla **Last Updated:** Mon Jan 27, 2014 04:06 PM UTC **Owner:** elunlen Performed failover and through saflogger tried to write a log record into standard streams, but write failed with SA_AIS_ERR_TRY_AGAIN. From the syslog, it is observed that logsv is not able to get the logRootDirectory on the new active controller and trying to create with the junk characters. Snippet from the syslog == Jan 8 16:16:24 OpenSAF-SLOT2 opensaf_reboot: Rebooting remote node in the absence of PLM is outside the scope of OpenSAF Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO LOG Root path does not exist. Will be created Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER Making directory error Permission denied Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO lgsv root path is changed to àf]·àf]·8ä^H^H8ä^H^H Jan 8 16:16:24 OpenSAF-SLOT2 osafamfd[3158]: NO Node 'SC-1' left the cluster Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO LOG Root path does not exist. Will be created Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER Making directory error Permission denied Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO lgsv root path is changed to àf]·àf]·8ä^H^H8ä^H^H Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: WA Create directory 'àf]·àf]·8ä^H^H8ä^H^H/.' failed Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER write_log_record_hdl - write FAILED: Bad file descriptor Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO LOG Root path does not exist. Will be created Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER Making directory error Permission denied == --- 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.-- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #711 log record write FAILED with SA_AIS_ERR_TRY_AGAIN after failover
- **status**: review -- fixed --- ** [tickets:#711] log record write FAILED with SA_AIS_ERR_TRY_AGAIN after failover** **Status:** fixed **Created:** Wed Jan 08, 2014 12:08 PM UTC by Sirisha Alla **Last Updated:** Mon Jan 27, 2014 04:06 PM UTC **Owner:** elunlen Performed failover and through saflogger tried to write a log record into standard streams, but write failed with SA_AIS_ERR_TRY_AGAIN. From the syslog, it is observed that logsv is not able to get the logRootDirectory on the new active controller and trying to create with the junk characters. Snippet from the syslog == Jan 8 16:16:24 OpenSAF-SLOT2 opensaf_reboot: Rebooting remote node in the absence of PLM is outside the scope of OpenSAF Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO LOG Root path does not exist. Will be created Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER Making directory error Permission denied Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO lgsv root path is changed to àf]·àf]·8ä^H^H8ä^H^H Jan 8 16:16:24 OpenSAF-SLOT2 osafamfd[3158]: NO Node 'SC-1' left the cluster Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO LOG Root path does not exist. Will be created Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER Making directory error Permission denied Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO lgsv root path is changed to àf]·àf]·8ä^H^H8ä^H^H Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: WA Create directory 'àf]·àf]·8ä^H^H8ä^H^H/.' failed Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER write_log_record_hdl - write FAILED: Bad file descriptor Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO LOG Root path does not exist. Will be created Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER Making directory error Permission denied == --- 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.-- Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231iu=/4140/ostg.clktrk___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #711 log record write FAILED with SA_AIS_ERR_TRY_AGAIN after failover
- **status**: unassigned -- assigned --- ** [tickets:#711] log record write FAILED with SA_AIS_ERR_TRY_AGAIN after failover** **Status:** assigned **Created:** Wed Jan 08, 2014 12:08 PM UTC by Sirisha Alla **Last Updated:** Tue Jan 21, 2014 04:40 PM UTC **Owner:** elunlen Performed failover and through saflogger tried to write a log record into standard streams, but write failed with SA_AIS_ERR_TRY_AGAIN. From the syslog, it is observed that logsv is not able to get the logRootDirectory on the new active controller and trying to create with the junk characters. Snippet from the syslog == Jan 8 16:16:24 OpenSAF-SLOT2 opensaf_reboot: Rebooting remote node in the absence of PLM is outside the scope of OpenSAF Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO LOG Root path does not exist. Will be created Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER Making directory error Permission denied Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO lgsv root path is changed to àf]·àf]·8ä^H^H8ä^H^H Jan 8 16:16:24 OpenSAF-SLOT2 osafamfd[3158]: NO Node 'SC-1' left the cluster Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO LOG Root path does not exist. Will be created Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER Making directory error Permission denied Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO lgsv root path is changed to àf]·àf]·8ä^H^H8ä^H^H Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: WA Create directory 'àf]·àf]·8ä^H^H8ä^H^H/.' failed Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER write_log_record_hdl - write FAILED: Bad file descriptor Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO LOG Root path does not exist. Will be created Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER Making directory error Permission denied == --- 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.-- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #711 log record write FAILED with SA_AIS_ERR_TRY_AGAIN after failover
- **status**: assigned -- review --- ** [tickets:#711] log record write FAILED with SA_AIS_ERR_TRY_AGAIN after failover** **Status:** review **Created:** Wed Jan 08, 2014 12:08 PM UTC by Sirisha Alla **Last Updated:** Mon Jan 27, 2014 08:44 AM UTC **Owner:** elunlen Performed failover and through saflogger tried to write a log record into standard streams, but write failed with SA_AIS_ERR_TRY_AGAIN. From the syslog, it is observed that logsv is not able to get the logRootDirectory on the new active controller and trying to create with the junk characters. Snippet from the syslog == Jan 8 16:16:24 OpenSAF-SLOT2 opensaf_reboot: Rebooting remote node in the absence of PLM is outside the scope of OpenSAF Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO LOG Root path does not exist. Will be created Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER Making directory error Permission denied Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO lgsv root path is changed to àf]·àf]·8ä^H^H8ä^H^H Jan 8 16:16:24 OpenSAF-SLOT2 osafamfd[3158]: NO Node 'SC-1' left the cluster Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO LOG Root path does not exist. Will be created Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER Making directory error Permission denied Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO lgsv root path is changed to àf]·àf]·8ä^H^H8ä^H^H Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: WA Create directory 'àf]·àf]·8ä^H^H8ä^H^H/.' failed Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER write_log_record_hdl - write FAILED: Bad file descriptor Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO LOG Root path does not exist. Will be created Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER Making directory error Permission denied == --- 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.-- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #711 log record write FAILED with SA_AIS_ERR_TRY_AGAIN after failover
when the rootpath is configured with a junk folder,and when mkdir fails, The intention is to default to PKGLOGDIR dir, but the new_rootstr is not getting filled with any value(should filled with PKGLOGDIR), in the below line: /* Handle a possible change of root dir to default */ if (new_rootstr[0] != '\0') { lgs_imm_rootpathconf_set(new_rootstr); TRACE(%s - new_rootstr \%s\,__FUNCTION__,new_rootstr); } We can fill with a default path in the above line, or we can fill a default rootpath when reading from IMM itself(after validating). What do you say? --- ** [tickets:#711] log record write FAILED with SA_AIS_ERR_TRY_AGAIN after failover** **Status:** unassigned **Created:** Wed Jan 08, 2014 12:08 PM UTC by Sirisha Alla **Last Updated:** Thu Jan 09, 2014 03:32 PM UTC **Owner:** elunlen Performed failover and through saflogger tried to write a log record into standard streams, but write failed with SA_AIS_ERR_TRY_AGAIN. From the syslog, it is observed that logsv is not able to get the logRootDirectory on the new active controller and trying to create with the junk characters. Snippet from the syslog == Jan 8 16:16:24 OpenSAF-SLOT2 opensaf_reboot: Rebooting remote node in the absence of PLM is outside the scope of OpenSAF Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO LOG Root path does not exist. Will be created Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER Making directory error Permission denied Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO lgsv root path is changed to àf]·àf]·8ä^H^H8ä^H^H Jan 8 16:16:24 OpenSAF-SLOT2 osafamfd[3158]: NO Node 'SC-1' left the cluster Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO LOG Root path does not exist. Will be created Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER Making directory error Permission denied Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO lgsv root path is changed to àf]·àf]·8ä^H^H8ä^H^H Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: WA Create directory 'àf]·àf]·8ä^H^H8ä^H^H/.' failed Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER write_log_record_hdl - write FAILED: Bad file descriptor Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO LOG Root path does not exist. Will be created Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER Making directory error Permission denied == --- 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.-- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #711 log record write FAILED with SA_AIS_ERR_TRY_AGAIN after failover
- **Milestone**: 4.4.FC -- 4.4.RC1 --- ** [tickets:#711] log record write FAILED with SA_AIS_ERR_TRY_AGAIN after failover** **Status:** unassigned **Created:** Wed Jan 08, 2014 12:08 PM UTC by Sirisha Alla **Last Updated:** Thu Jan 09, 2014 07:23 AM UTC **Owner:** elunlen Performed failover and through saflogger tried to write a log record into standard streams, but write failed with SA_AIS_ERR_TRY_AGAIN. From the syslog, it is observed that logsv is not able to get the logRootDirectory on the new active controller and trying to create with the junk characters. Snippet from the syslog == Jan 8 16:16:24 OpenSAF-SLOT2 opensaf_reboot: Rebooting remote node in the absence of PLM is outside the scope of OpenSAF Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO LOG Root path does not exist. Will be created Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER Making directory error Permission denied Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO lgsv root path is changed to àf]·àf]·8ä^H^H8ä^H^H Jan 8 16:16:24 OpenSAF-SLOT2 osafamfd[3158]: NO Node 'SC-1' left the cluster Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO LOG Root path does not exist. Will be created Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER Making directory error Permission denied Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO lgsv root path is changed to àf]·àf]·8ä^H^H8ä^H^H Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: WA Create directory 'àf]·àf]·8ä^H^H8ä^H^H/.' failed Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER write_log_record_hdl - write FAILED: Bad file descriptor Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO LOG Root path does not exist. Will be created Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER Making directory error Permission denied == --- 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.-- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/4140/ostg.clktrk___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets
[tickets] [opensaf:tickets] #711 log record write FAILED with SA_AIS_ERR_TRY_AGAIN after failover
--- ** [tickets:#711] log record write FAILED with SA_AIS_ERR_TRY_AGAIN after failover** **Status:** unassigned **Created:** Wed Jan 08, 2014 12:08 PM UTC by Sirisha Alla **Last Updated:** Wed Jan 08, 2014 12:08 PM UTC **Owner:** nobody Performed failover and through saflogger tried to write a log record into standard streams, but write failed with SA_AIS_ERR_TRY_AGAIN. From the syslog, it is observed that logsv is not able to get the logRootDirectory on the new active controller and trying to create with the junk characters. Snippet from the syslog == Jan 8 16:16:24 OpenSAF-SLOT2 opensaf_reboot: Rebooting remote node in the absence of PLM is outside the scope of OpenSAF Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO LOG Root path does not exist. Will be created Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER Making directory error Permission denied Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO lgsv root path is changed to àf]·àf]·8ä^H^H8ä^H^H Jan 8 16:16:24 OpenSAF-SLOT2 osafamfd[3158]: NO Node 'SC-1' left the cluster Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO LOG Root path does not exist. Will be created Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER Making directory error Permission denied Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO lgsv root path is changed to àf]·àf]·8ä^H^H8ä^H^H Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: WA Create directory 'àf]·àf]·8ä^H^H8ä^H^H/.' failed Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER write_log_record_hdl - write FAILED: Bad file descriptor Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: NO LOG Root path does not exist. Will be created Jan 8 16:16:24 OpenSAF-SLOT2 osaflogd[3112]: ER Making directory error Permission denied == --- 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.-- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk___ Opensaf-tickets mailing list Opensaf-tickets@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-tickets