Jonas Jochmaring <jjo...@mail.uni-paderborn.de> writes:

> On Fri, 05 Jun 2015 11:49:55 +0200 Jonas Jochmaring
> <jjo...@mail.uni-paderborn.de> wrote:
>> I've created a small patch for bcfg2 1.3.5 which fixes compatibility
>> with django 1.7. I've already submitted a pull request upstream
>> (https://github.com/Bcfg2/bcfg2/pull/281).
>> With the upgrade to django 1.7 south is not needed for database
>> migrations anymore, as this feature has been integrated into django.
>
> Added a django loading fix in src/lib/Bcfg2/Server/Core.py

Thanks, that does allow the server to start. However I'm still seeing a
couple of issues.

First, on startup the server outputs this (probably from the
django.setup call that was added):

System check identified some issues:

WARNINGS:
?: (1_6.W001) Some project unittests may not execute as expected.
        HINT: Django 1.6 introduced a new default test runner. It looks like 
this project was generated using Django 1.5 or earlier. You should ensure your 
tests are all running & behaving as expected. See 
https://docs.djangoproject.com/en/dev/releases/1.6/#new-test-runner for more 
information.
System check identified some issues:

WARNINGS:
?: (1_6.W001) Some project unittests may not execute as expected.
        HINT: Django 1.6 introduced a new default test runner. It looks like 
this project was generated using Django 1.5 or earlier. You should ensure your 
tests are all running & behaving as expected. See 
https://docs.djangoproject.com/en/dev/releases/1.6/#new-test-runner for more 
information.

Second, the reporting plugin fails to start, both with a database that
was created with the previous version and an empty database. The log
output is as follows:

bcfg2-server: Loading plugin Reporting
Loading DjangoORM storage
Failed to update database schema: 
Reporting: Failed to load transport: TransportImportError: Error instantiating 
transport DirectStore: 
Failed to instantiate plugin Reporting#012Traceback (most recent call 
last):#012  File "/usr/lib/python2.7/dist-packages/Bcfg2/Server/Core.py", line
 467, in init_plugin#012    self.plugins[plugin] = plug(self, 
self.datastore)#012  File 
"/usr/lib/python2.7/dist-packages/Bcfg2/Server/Plugins/Reporting.py", line 67, 
in __init__#012    raise
 PluginInitError(msg)#012PluginInitError: Reporting: Failed to load transport: 
TransportImportError: Error instantiating transport DirectStore: 

Any help with either issue would be appreciated.

-- 
Arto Jantunen


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to