STDERR is only logged when the action is not successful, maybe that is your problem.
On Sat, Nov 23, 2013 at 11:35 PM, Gary S. Cuozzo <[email protected]> wrote: > Hi All, > I finally got some time to get back to looking at this. My original task was > to get my custom drivers working with ONE 4.2. I was able to do so. It was > related to a bug fix where the SRC & DST arguments to pre/postmigrate were > swapped. I simply had to swap them back. The irony in it is that I was the > one that suggested the pre/postmigrate feature request and reported that bug. > ;) > > So, I'm happily able to live migrate again. > > Oddly though, I am unable to get any log messages to show up in oned.log > file. I'm guessing some of the common script libraries have gotten > reorganized, so I need to dig in a bit more on this issue. > > Cheers, > gary > > ----- Original Message ----- > From: "Gary S. Cuozzo" <[email protected]> > To: "Users OpenNebula" <[email protected]> > Sent: Friday, November 8, 2013 8:53:32 AM > Subject: Re: [one-users] datastore log info missing from oned.log in v4.2 > > Is this a new behavior? I used to see any logged messages up to the level of > the log mode in the oned.log file. It seems like 'debug' mode should log > regardless of the exit code of the script. Even if I changed the logs from > log_debug to log_error, still no output. I'll try forcing exit 1 to see if > that causes the logs to show up. > > Also, I validated that when I first installed ONE 4.2, the log messages were > there, but now are not. I went back to my logs from a few weeks ago and see > all the messages I would expect. I did not have time to work on this, so the > server sat for a few weeks. Now I'm back to working on it and not seeing the > messages. Very odd. > > Will let you know if setting exit 1 helps. > > Thanks for the reply, > gary > > ----- Original Message ----- > Normally the transfers are not logged when everything goes ok, that > is, the script exists with 0. > > On Fri, Nov 8, 2013 at 1:17 AM, Gary S. Cuozzo <[email protected]> wrote: >> Hi All, >> I have recently upgraded our environment from 3.8.x to 4.2 version. Running >> on Ubuntu 12.04LTS. I have some custom datastore/tm drivers that I wrote >> which worked well in 3.8. I am trying to troubleshoot something related to >> live migration and my log messages are not getting to /var/log/one/oned.log >> file. I have logging set to debug in oned.conf. I see debug level messages >> for other subsystems, such as [ReM] but nothing related to the datastore or >> tm. >> >> Just as a sanity check, I have another server that I did a clean install on >> and I'm seeing the same results. >> >> I also tested adding some log entries into the stock ONE drivers and I do >> not see anything logged. >> >> Any ideas? >> >> Thanks in advance, >> gary >> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> > > > > -- > Javier Fontán Muiños > Developer > OpenNebula - The Open Source Toolkit for Data Center Virtualization > www.OpenNebula.org | @OpenNebula | github.com/jfontan > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños Developer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | @OpenNebula | github.com/jfontan _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
