Custom Query (894 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (37 - 39 of 894)

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Ticket Owner Reporter Resolution Summary
#789 solj lueningh fixed /etc/defaults oddness
Description

After building an RPM of the bcfg 1.0.0 source and installing it on a fresh server, I couldn't start it up and it wasn't immediately obvious how to fix it:

mgt5:/var/lib/bcfg2 # /etc/init.d/bcfg2-server start
bcfg2-server is disabled - see /etc/default/bcfg2-server      failed
mgt5:/var/lib/bcfg2 # ls /etc/default/bcfg2-server
ls: /etc/default/bcfg2-server: No such file or directory

Looks like that file needs to be added to the packaging.

#793 solj https://www.google.com/accounts/o8/id?id=AItOawmgjcCg7lAJ6ZhqeaZka53jw8AUv8fpG2E fixed Tracebacks from Displays/Summary and Displays/System
Description

On Gentoo, with bcfg2 trunk and Django 1.1.1 I get the following traceback from both Displays/System? and Displays/Summary?:

Environment:

Request Method: GET
Request URL: http://localhost/bcfg2/displays/sys-view/
Django Version: 1.1.1
Python Version: 2.6.2
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.admin',
 'Bcfg2.Server.Reports.reports']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.middleware.doc.XViewMiddleware')


Traceback:
File "/usr/lib64/python2.6/site-packages/django/core/handlers/base.py" in get_response
  92.                 response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/Reports/reports/views.py" in display_sys_view
  193.     client_lists = prepare_client_lists(request, timestamp)
File "/usr/lib64/python2.6/site-packages/Bcfg2/Server/Reports/reports/views.py" in prepare_client_lists
  308.         stale_all_client_list = Client.objects.active(timestamp).filter(id__in=[x[0] for x in results if datetime.now() - x[1] > timedelta(days=1)])

Exception Type: TypeError at /bcfg2/displays/sys-view/
Exception Value: unsupported operand type(s) for -: 'datetime.datetime' and 'unicode'

This is using sqlite3 backend, with two systems (including the server itself) reporting in, one is in clean state, the other in dirty state:

$ bcfg2-reports -a
nat-128.vmware           2009-11-10 16:44:05   clean   
tholo-xps.thereinc.com   2009-11-10 16:10:25   dirty   
#794 solj Jonathan Billings <[email protected]…> fixed Running client in dry-run mode (-n) changes files on RHEL5 when prelink package present
Description

When the prelink package is installed on a RHEL5.3 host, and I run bcfg2 -qvn -d, I can see that there are two separate runs of " /usr/sbin/prelink -a -mR". This changes many files on the filesystem.

I'm running bcfg2-1.0.0-0.2r5564 against a server of the same version.

The workaround is to not have the prelink package installed.

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
Note: See TracQuery for help on using queries.