Custom Query (894 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (91 - 93 of 894)

Ticket Owner Reporter Resolution Summary
#706 desai Leif Ryge <[email protected]…> fixed Incorrect SymLinks to missing files are not corrected
Description

When there is an incorrect SymLink? on a client and its (incorrect) target is missing, bcfg2 lists it as incorrect and says "Found clobbered entries:", but does not correct it.

(Tested in 1.0pre5 on Debian etch)

#730 desai Leif Ryge <[email protected]…> fixed SGenshi strips whitespace
Description

Genshi irritatingly strips whitespace when rendering templates, unless it is told not to. Bcfg2 should tell it not to, like this:

--- bcfg2-1.0pre5/src/lib/Server/Plugins/SGenshi.py     2009-05-07 02:42:41.000000000 +0000
+++ bcfg2-1.0pre5.local/src/lib/Server/Plugins/SGenshi.py       2009-09-11 00:09:20.000000000 +0000
@@ -14,7 +14,7 @@
             raise Bcfg2.Server.Plugin.PluginExecutionError
         stream = self.template.generate(metadata=metadata,).filter( \
             Bcfg2.Server.Plugins.TGenshi.removecomment)
-        data = stream.render('xml')
+        data = stream.render('xml', strip_whitespace=False)
         return lxml.etree.XML(data)
 
 class SGenshiEntrySet(Bcfg2.Server.Plugin.EntrySet):

This should probably be done in TGenshi.py as well.

#674 desai Lisa Giacchetti <[email protected]…> fixed bcfg2 client query hangs
Description

Hi,

I have run into the following issue with the bcfg2 -vqn on SSL cert config on bcfg2-1.0pre3

This is centos release 5 server using same machine as the client. I run bcfg2 -vqn and it hangs with no output. strace shows that it reads the ca and the hostkey.pem and then starts to process the hostcert.pem at which point it hangs on a read. eventually it times out and starts the process of evaluating the ca, hostkey etc again and hangs again. Time out error is "connection reset by peer"

read(3, 0x9db63b0, 7)                   = -1 ECONNRESET (Connection reset by peer)
futex(0x9d03a38, FUTEX_WAKE, 1)         = 0
futex(0x9d03a38, FUTEX_WAKE, 1)         = 0
futex(0x9d03a38, FUTEX_WAKE, 1)         = 0
futex(0x9d03a38, FUTEX_WAKE, 1)         = 0
futex(0x9d03a38, FUTEX_WAKE, 1)         = 0
futex(0x9d03a38, FUTEX_WAKE, 1)         = 0
futex(0x9d03a38, FUTEX_WAKE, 1)         = 0
futex(0x9d03a38, FUTEX_WAKE, 1)         = 0
futex(0x9d03a38, FUTEX_WAKE, 1)         = 0
fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR)             = 0
select(0, NULL, NULL, NULL, {0, 500000}) = 0 (Timeout)
futex(0x9cb53d8, FUTEX_WAKE, 1)         = 0
futex(0x9cb53d8, FUTEX_WAKE, 1)         = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 4
getpeername(4, 0xbfa45248, [ae621612f78837dc2052be3f813cfcb915ce83a1] (SVN r16))        = -1 ENOTCONN (Transport endpoint is not connected)

My /etc/bcfg2.conf communications section looks like this:

[communication]
protocol = xmlrpc/ssl
key = /etc/grid-security/hostkey.pem
certificate = /etc/grid-security/hostcert.pem
ca = /etc/grid-security/certificates/1c3f2ca8.0
Note: See TracQuery for help on using queries.