Custom Query (894 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (94 - 96 of 894)

Ticket Owner Reporter Resolution Summary
#382 desai rucpat fixed info as an alternative to :info not fully valid
Description

If I use bcfg2-info I get those messages

Confused about file /var/lib/bcfg2/Cfg/etc/backup.d/10-all.mysql/info; ignoring

but info should be a valid alternative to :info

I think the problem is in Cfg.py line 117 and 120 where the check is only against :info

#852 desai https://me.yahoo.com/a/2SlxL.p_rsQD.KxOt3q32tWWsQ--#39bec fixed importscript.py does not process -C option
Description

The usage message claims to support -C to use a different config file, but this does not actually work.

http://trac.mcs.anl.gov/projects/bcfg2/browser/trunk/bcfg2/src/lib/Server/Reports/importscript.py

Line 215:

opts, args = getopt(argv[1:], "hvudc:s:", ["help", "verbose", "updates" ,

A C: should be added to the end of the option string.

#487 desai [email protected] fixed importscript error
Description

Heard the performance of the django-based tool had been improved; I'd stopped using it in the bast because it was much, much too slow for the hardware available. However, after initial import, I get the following:

[email protected]:~/devel/debs/bcfg2/bcfg2-0.9.5pre5/src/lib/Server/Reports$ ./importscript.py 
Traceback (most recent call last):
  File "./importscript.py", line 197, in ?
    newitem.save()
  File "/var/lib/python-support/python2.4/django/db/models/base.py", line 238, in save
    ','.join(placeholders)), db_values)
  File "/var/lib/python-support/python2.4/django/db/backends/util.py", line 12, in execute
    return self.cursor.execute(sql, params)
  File "/usr/lib/python2.4/site-packages/MySQLdb/cursors.py", line 165, in execute
    self._warning_check()
  File "/usr/lib/python2.4/site-packages/MySQLdb/cursors.py", line 80, in _warning_check
    warn(w[-1], self.Warning, 3)
  File "/usr/lib/python2.4/warnings.py", line 61, in warn
    warn_explicit(message, category, filename, lineno, module, registry)
  File "/usr/lib/python2.4/warnings.py", line 96, in warn_explicit
    raise message
_mysql_exceptions.Warning: Incorrect integer value: '' for column 'critical' at row 1

I am using mysql as the backend, and I already ran syncdb.

Note: See TracQuery for help on using queries.