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=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets