Hi, Michael

When I use lava-tool submit-job to submit a job to my local lava instance (with the buildout format),
I get the "Specified device not found" error like this:


(trunk2)18:54:05 liuyq:code$ lava-tool submit-job http://admin:b9w73ap9lox1nxt6rwgsiz17wjsfcr8yu2i7qm7r7eztcj5kpfkhna0lq9rbx4zm01bffljx3ffaj7n5jckxrshyncyu3ur35nye1lgs0z1hedykyyujy7zhamwfgbjs@192.168.1.127/buildout/RPC2/ /var/www/images/workspace/jobs/job_cts.json
EXPERIMENTAL - SUBJECT TO CHANGE (See --experimental-notice for more info)
ERROR: <Fault 404: 'Specified device not found.'>
(trunk2)18:54:18 liuyq:code$



When I access the administration web page to check the device, I get the "column lava_scheduler_app_devicetype.use_celery does not exist" error like follwoing:

DatabaseError at /admin/lava_scheduler_app/devicetype/
column lava_scheduler_app_devicetype.use_celery does not exist
LINE 1: ...ava_scheduler_app_devicetype"."health_check_job", "lava_sche...
                                                             ^
Request Method: GET
Request URL: http://192.168.1.127/buildout/admin/lava_scheduler_app/devicetype/
Django Version: 1.4.1
Exception Type: DatabaseError
Exception Value:

column lava_scheduler_app_devicetype.use_celery does not exist
LINE 1: ...ava_scheduler_app_devicetype"."health_check_job", "lava_sche...
                                                             ^
Exception Location: /srv/lava/.cache/eggs/Django-1.4.1-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py in execute, line 52
Python Executable: /srv/lava/instances/buildout/var/lib/bootstrap-venv/bin/uwsgi
Python Version: 2.7.3
Python Path:

['/srv/lava/instances/buildout/code/r67',
 '/srv/lava/code/lava-server/versiontools-1.9.1-py2.7.egg',
 '/srv/lava/code/lava-server',
 '/srv/lava/instances/buildout/var/lib/bootstrap-venv/lib/python2.7/site-packages/distribute-0.6.24-py2.7.egg',
 '/srv/lava/.cache/eggs/lava_tool-0.5-py2.7.egg',
 '/srv/lava/code/lava-dispatcher',
 '/srv/lava/code/lava-dashboard',
 '/srv/lava/code/lava-scheduler',
 '/srv/lava/code/lava-android-test',
 '/srv/lava/.cache/eggs/lava_celery-0.4.1-py2.7.egg',
 '/srv/lava/.cache/eggs/psycopg2-2.4.5-py2.7-linux-x86_64.egg',
 '/srv/lava/.cache/eggs/python_dateutil-1.5-py2.7.egg',
 '/srv/lava/.cache/eggs/keyring-0.9.1-py2.7.egg',
 '/srv/lava/.cache/eggs/django_testscenarios-0.7.2-py2.7.egg',
 '/srv/lava/.cache/eggs/django_devserver-0.4.0-py2.7.egg',
 '/srv/lava/.cache/eggs/mocker-1.1.1-py2.7.egg',
 '/srv/lava/.cache/eggs/testscenarios-0.3-py2.7.egg',
 '/srv/lava/.cache/eggs/testtools-0.9.16-py2.7.egg',
 '/srv/lava/.cache/eggs/django_testproject-0.1.1-py2.7.egg',
 '/srv/lava/.cache/eggs/Django-1.4.1-py2.7.egg',
 '/srv/lava/.cache/eggs/celery-2.5.5-py2.7.egg',
 '/srv/lava/.cache/eggs/pexpect-2.4-py2.7.egg',
 '/srv/lava/.cache/eggs/linaro_dashboard_bundle-1.7.2-py2.7.egg',
 '/srv/lava/.cache/eggs/Twisted-12.1.0-py2.7-linux-x86_64.egg',
 '/srv/lava/.cache/eggs/South-0.7.5-py2.7.egg',
 '/srv/lava/.cache/eggs/simplejson-2.4.0-py2.7-linux-x86_64.egg',
 '/srv/lava/.cache/eggs/django_tables2-0.11.0-py2.7.egg',
 '/srv/lava/.cache/eggs/django_restricted_resource-0.2.7-py2.7.egg',
 '/srv/lava/.cache/eggs/Pygments-1.5-py2.7.egg',
 '/srv/lava/.cache/eggs/linaro_django_xmlrpc-0.6-py2.7.egg',
 '/srv/lava/.cache/eggs/linaro_django_pagination-2.0.2-py2.7.egg',
 '/srv/lava/.cache/eggs/docutils-0.9.1-py2.7.egg',
 '/srv/lava/.cache/eggs/django_staticfiles-0.3.4-py2.7.egg',
 '/srv/lava/.cache/eggs/configglue-1.0.3-py2.7.egg',
 '/srv/lava/.cache/eggs/lava_utils_interface-1.0-py2.7.egg',
 '/srv/lava/.cache/eggs/json_schema_validator-2.3-py2.7.egg',
 '/usr/lib/python2.7',
 '/srv/lava/.cache/eggs/Markdown-2.1.1-py2.7.egg',
 '/srv/lava/.cache/eggs/python_openid-2.2.4-py2.7.egg',
 '/srv/lava/.cache/eggs/django_openid_auth-0.4-py2.7.egg',
 '/srv/lava/.cache/eggs/django_debian-0.10.2-py2.7.egg',
 '/srv/lava/.cache/eggs/zc.recipe.egg-1.3.2-py2.7.egg',
 '/srv/lava/.cache/eggs/kombu-2.1.8-py2.7.egg',
 '/srv/lava/.cache/eggs/anyjson-0.3.1-py2.7.egg',
 '/srv/lava/.cache/eggs/zope.interface-4.0.1-py2.7-linux-x86_64.egg',
 '/srv/lava/.cache/eggs/pyxdg-0.23-py2.7.egg',
 '/srv/lava/.cache/eggs/django_seatbelt-1.0.1-py2.7.egg',
 '/srv/lava/instances/buildout/var/lib/bootstrap-venv/lib/python2.7/site-packages/pip-1.1-py2.7.egg',
 '/srv/lava/instances/buildout/var/lib/bootstrap-venv/lib/python2.7/site-packages',
 '/srv/lava/.cache/eggs/amqplib-1.0.2-py2.7.egg',
 '.',
 '',
 '/srv/lava/instances/buildout/var/lib/bootstrap-venv/lib/python2.7/site-packages/pip-1.1-py2.7.egg',
 '/srv/lava/instances/buildout/var/lib/bootstrap-venv/lib/python2.7',
 '/srv/lava/instances/buildout/var/lib/bootstrap-venv/lib/python2.7/plat-linux2',
 '/srv/lava/instances/buildout/var/lib/bootstrap-venv/lib/python2.7/lib-tk',
 '/srv/lava/instances/buildout/var/lib/bootstrap-venv/lib/python2.7/lib-old',
 '/srv/lava/instances/buildout/var/lib/bootstrap-venv/lib/python2.7/lib-dynload',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk']
Server time: Wed, 10 Oct 2012 10:55:45 +0000

I guess this is because I did the the update with wrong method,
Do you know if I can fix this problem with some commands?
I guess if we can make the django create the database correctly,  this problem will go.
but I don't know how to do that:(

--
Thanks,
Yongqin Liu
---------------------------------------------------------------
#mailing list
linaro-android@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-android
linaro-validation@lists.linaro.org
http://lists.linaro.org/pipermail/linaro-validation