Custom Query (894 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (40 - 42 of 894)

Ticket Owner Reporter Resolution Summary
#898 desai https://www.google.com/accounts/o8/id?id=AItOawmSAqcanZjC_zUMz6-24nRYFLJWSQtV0vw worksforme bad interaction between Lucid plymouth and bcfg2-server-1.1.0-rc3
Description

Since rc3, we've seen this bug when restarting a lucid server that runs bcfg2-server-1.1.0-rc3. We have a script that does the following on a restart of the server:

start bcfg2-server start bcfg2 -vqed

our logs say:

Phase: initial Correct entries: 457 Incorrect entries: 6 Total managed entries: 463 Unmanaged entries: 0

and it crashes, bringing down the parent script and this shows up in syslog:

Jul 1 22:13:54 greg init: rc main process (2335) killed by TERM signal Jul 1 22:13:54 greg init: plymouth-stop pre-start process (3109) terminated with status 1

This appears to be a bug in plymouth:

https://bugs.launchpad.net/ubuntu/lucid/+source/plymouth/+bug/551062

https://bugs.launchpad.net/upstart/+bug/530779

But I wanted to let bcfg2 know this has been an issue since rc3.

Thanks!

Greg

#901 solj https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc worksforme bcfg2-info doesn't (completely) honor -C flag
Description

When giving bcfg2-info the -C flag to use an alternate config file, it still attempts to read /etc/bcfg2.conf and complains if it cannot. For instance, if /etc/bcfg2.conf has permissions that make it unreadable to normal users, those users cannot run bcfg2-info, for instance to test templates. E.g.:

/usr/sbin/bcfg2-info -d -Q /home/stpierre/bcfg2/trunk -C /home/stpierre/bcfg2/trunk/Cfg/etc/bcfg2.conf/bcfg2.conf.H_bcfg.example.com buildfile /etc/bacula/bacula-dir.conf backup.example.com Failed to load configuration settings. No section: 'statistics'

Although /home/stpierre/bcfg2/trunk/Cfg/etc/bcfg2.conf/bcfg2.conf.H_bcfg.example.com was a valid bcfg2.conf (in fact, it was the same file as /etc/bcfg2.conf) and was readable, bcfg2-info still errored out after trying to read /etc/bcfg2.conf. From an 'strace' on the above command:

open("/etc/bcfg2.conf", O_RDONLY) = -1 EACCES (Permission denied) open("/etc/bcfg2-web.conf", O_RDONLY) = -1 ENOENT (No such file or directory) close(7) = 0 write(2, "Failed to load configuration set"..., 64Failed to load configuration settings. No section: 'statistics' ) = 64

To replicate this issue:

Create a local copy of /etc/bcfg2.conf.

Change permissions on /etc/bcfg2.conf such that you can no longer read it.

Attempt to run bcfg2-info using the -C flag against your local copy of bcfg2.conf.

#912 desai m4z <[email protected]…> worksforme bcfg2-admin pull tracebacks and sparse documentation
Description

(This is version 1.0.1)

When called without or with too few arguments, bcfg2-admin pull cries.

chaos:~ # bcfg2-admin pull
Traceback (most recent call last):
  File "/usr/local/bin/bcfg2-admin", line 78, in <module>
    main()
  File "/usr/local/bin/bcfg2-admin", line 70, in main
    mode(args[1:])
  File "/usr/local/lib/python2.6/site-packages/Bcfg2/Server/Admin/Pull.py", line 46, in __call__
    self.PullEntry(gargs[0], gargs[1], gargs[f5e4281313ff9004be488e420f90d5fe413bb5c1] (SVN r2))
IndexError: list index out of range

chaos:~ # bcfg2-admin pull chaos
Traceback (most recent call last):
  File "/usr/local/bin/bcfg2-admin", line 78, in <module>
    main()
  File "/usr/local/bin/bcfg2-admin", line 70, in main
    mode(args[1:])
  File "/usr/local/lib/python2.6/site-packages/Bcfg2/Server/Admin/Pull.py", line 46, in __call__
    self.PullEntry(gargs[0], gargs[1], gargs[f5e4281313ff9004be488e420f90d5fe413bb5c1] (SVN r2))
IndexError: list index out of range

chaos:~ # bcfg2-admin pull chaos foo
Traceback (most recent call last):
  File "/usr/local/bin/bcfg2-admin", line 78, in <module>
    main()
  File "/usr/local/bin/bcfg2-admin", line 70, in main
    mode(args[1:])
  File "/usr/local/lib/python2.6/site-packages/Bcfg2/Server/Admin/Pull.py", line 46, in __call__
    self.PullEntry(gargs[0], gargs[1], gargs[f5e4281313ff9004be488e420f90d5fe413bb5c1] (SVN r2))
IndexError: list index out of range

chaos:~ # bcfg2-admin pull i have no clue
Unable to build entry. Do you have a statistics plugin enabled?

It would be nice if it displayed required parameters and an usage example instead.

The last is also true for the man page: If I wear my newbie hat, I have no idea what <entry-type> and <entry-name> could be. There are examples in QuickStart2 that helped me figure it out, but it would be nice not to have to rely on a machine with internet access.

Note: See TracQuery for help on using queries.