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
#1122 desai [email protected] fixed RPMng - typo in comment
Description

Typo in comment line 483 """" , should be """

#1121 desai https://www.google.com/accounts/o8/id?id=AItOawmLDr6_IwcM-7CHU5E2-UFkuqAyk1X0LFk fixed bcfg2 reports fail with the newest version(1.4) of Django
Description

Hi,

I tried to setup the bcfg2-1.2.3 report with Django-1.4 which is the newest version on July 18, 2012 and I found that it has some issues with the following full traceback.

As Jerome suggested, I tried to comment out one of the two templates or both, the templates error did not disappear.

While this bug is fixed, I tried to use Django-1.3 and it seems to work fine for the bcfg2 report.

Environment:


Request Method: GET
Request URL: http://leopard.crest.iu.edu/bcfg2/grid

Django Version: 1.4
Python Version: 2.6.6
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/lib/python2.6/site-packages/Django-1.4-py2.6.egg/django/core/handlers/base.py" in get_response
  111.                         response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Reports/reports/views.py" in _handle_timeview
  82.         return fn(request, **kwargs)
File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Reports/reports/views.py" in client_index
  169.                               context_instance=RequestContext(request))
File "/usr/lib/python2.6/site-packages/Django-1.4-py2.6.egg/django/shortcuts/__init__.py" in render_to_response
  20.     return HttpResponse(loader.render_to_string(*args, **kwargs), **httpresponse_kwargs)
File "/usr/lib/python2.6/site-packages/Django-1.4-py2.6.egg/django/template/loader.py" in render_to_string
  169.         t = get_template(template_name)
File "/usr/lib/python2.6/site-packages/Django-1.4-py2.6.egg/django/template/loader.py" in get_template
  145.     template, origin = find_template(template_name)
File "/usr/lib/python2.6/site-packages/Django-1.4-py2.6.egg/django/template/loader.py" in find_template
  128.             loader = find_template_loader(loader_name)
File "/usr/lib/python2.6/site-packages/Django-1.4-py2.6.egg/django/template/loader.py" in find_template_loader
  101.             raise ImproperlyConfigured('Error importing template source loader %s: "%s"' % (loader, e))

Exception Type: ImproperlyConfigured at /grid
Exception Value: Error importing template source loader django.template.loaders.filesystem.load_template_source: "'module' object has no attribute 'load_template_source'"
#1120 https://www.google.com/accounts/o8/id?id=AItOawnSjgovXZr-_V3vGkvMSR0pc5LDykRc1Nc https://www.google.com/accounts/o8/id?id=AItOawmLDr6_IwcM-7CHU5E2-UFkuqAyk1X0LFk fixed The missing <Group> tag in Packages/sources.xml causes an error
Description

Hi,

There seems to be an error when <Group> tag is missing and <Source ...> <Arch>..</Arch></Source> exists in Packages/sources.xml.

FYI, here is my Packages/sources.xml.

[[email protected] bcfg2]# cat Packages/sources.xml 
<Sources>
    <Group name="rhel-6.2">
       <Source type="yum" rawurl="ftp://ftp.ussg.indiana.edu/linux/centos/6.2/os/x86_64/"  >
       <Arch>x86_64</Arch>
       </Source>
    </Group>
</Sources>

As soon as bcfg2 -qvn runs without above the <Group> tag, the following error shows up

Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Core.py", line 391, in GetProbes
    meta = self.build_metadata(name)
  File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Core.py", line 363, in build_metadata
    data = conn.get_additional_data(imd)
  File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Plugins/Packages/__init__.py", line 270, in get_additional_data
    collection = self._get_collection(metadata)
  File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Plugins/Packages/__init__.py", line 267, in _get_collection
    debug=self.debug_flag)
  File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Plugins/Packages/Collection.py", line 340, in factory
    collection = cclass(metadata, relevant, basepath, debug=debug)
  File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Plugins/Packages/Yum.py", line 100, in __init__
    "cache-%s" % self.cachekey)
  File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Plugins/Packages/Collection.py", line 47, in cachekey
    return md5(self.get_config()).hexdigest()
  File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Plugins/Packages/Yum.py", line 174, in get_config
    basereponame = source.get_repo_name(url_map)
  File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Plugins/Packages/Yum.py", line 721, in get_repo_name
    return Source.get_repo_name(self, url_map)
  File "/usr/lib/python2.6/site-packages/Bcfg2-1.2.3-py2.6.egg/Bcfg2/Server/Plugins/Packages/Source.py", line 163, in get_repo_name
    rname = self.groups[0]
IndexError: list index out of range
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.