[Spacewalk-list] monitoring-data-cleanup fails: "Already in transaction"

David Nutter davidn at bioss.ac.uk
Mon May 16 12:13:14 UTC 2011


On Mon, May 16, 2011 at 01:54:00PM +0200, Jan Pazdziora wrote:
> On Mon, May 16, 2011 at 12:35:49PM +0100, David Nutter wrote:
> 
> > I assume now that autocommit is on that --dry-run as currently coded
> > has no effect as it requires a transaction rollback?
> 
> The AutoCommit is off. Any other database operations are now
> transactional even if they were AutoCommitting in the past.

Oh dear, I seem to have a bad case of Monday Brain! Apologies for
failing to read your post properly. 
 
> Which I suspect might also be the cause of the other problems that
> you've reported with monitoring in Spacewalk 1.4. Sadly, I was not
> able to find the time needed to investigate that theory more. If you
> have a Spacewalk server where you could check it, that would be great.

I shall certainly have a look. A quick grep in current master sources
shows no references to begin_work in the monitoring code but I'll
compare with what's on my server. 

Thanks & regards,

-- 
David Nutter  				Tel: +44 (0)131 650 4888
BioSS, JCMB, King's Buildings, Mayfield Rd, EH9 3JZ. Scotland, UK 

Biomathematics and Statistics Scotland (BioSS) is formally part of The
James Hutton Institute (JHI), a registered Scottish charity No. SC041796
and a company limited by guarantee No. SC374831




More information about the Spacewalk-list mailing list