fully updated ubuntu 14.04 i386 guest vm, on a ganeti 2.11
ganeti-webmgr-0.10.2.tar.gz
with some hacks stolen from
https://nsrc.org/workshops/2014/sanog23-virtualization/raw-attachment/wiki/Agenda/ex-ganeti-webmgr.htm
some fun finding out i needed to do these or it failed in fab deploy
apt-get install libffi-dev
apt-get install curl
apt-get install python-django
apt-get install libssl-dev
but then i fail syncdb --migrate
gwm.rg.net:/root# cd /var/lib/ganeti_webmgr
gwm.rg.net:/var/lib/ganeti_webmgr# source venv/bin/activate
(venv)gwm.rg.net:/var/lib/ganeti_webmgr# ./manage.py syncdb --migrate
Traceback (most recent call last):
File "./manage.py", line 27, in <module>
execute_from_command_line(sys.argv)
File "/var/lib/ganeti_webmgr/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
utility.execute()
File "/var/lib/ganeti_webmgr/venv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 382, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/var/lib/ganeti_webmgr/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 196, in run_from_argv
self.execute(*args, **options.__dict__)
File "/var/lib/ganeti_webmgr/venv/local/lib/python2.7/site-packages/django/core/management/base.py", line 217, in execute
translation.activate('en-us')
File "/var/lib/ganeti_webmgr/venv/local/lib/python2.7/site-packages/django/utils/translation/__init__.py", line 105, in activate
return _trans.activate(language)
File "/var/lib/ganeti_webmgr/venv/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 194, in activate
_active.value = translation(language)
File "/var/lib/ganeti_webmgr/venv/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 184, in translation
current_translation = _fetch(language, fallback=default_translation)
File "/var/lib/ganeti_webmgr/venv/local/lib/python2.7/site-packages/django/utils/translation/trans_real.py", line 147, in _fetch
res._info = res._info.copy()
AttributeError: 'NoneType' object has no attribute '_info'
note that this was my second run at it. so if it is not idempotent,
that could be a problem.
settings.py is at
http://archive.psg.com/settings.py
randy