Hi Spring: It is not work, but I do found something, if I use
./lava-deployment-tool bundle requirement/requirements-mini.txt It work. But If I use ./lava-deployment-tool bundle requirement/requirements-latest.txt It failed. If I add something into requirements-mini.txt, like lava-dashboard, it faild BR ________________________________ From: Spring Zhang [mailto:[email protected]] Sent: 2012年6月5日 18:21 To: Song, Elen Cc: [email protected] Subject: Re: [Linaro-validation] lava-deployment-tool bad gateway On 5 June 2012 17:36, Song, Elen <[email protected]<mailto:[email protected]>> wrote: I’m not understand: LAVA_INSTANCE=ex1 ---> your instance name . /srv/lava/instances/$LAVA_INSTANCE/instance.conf Should be: LAVA_INSTANCE=ex1 testinstance . /srv/lava/instances/testinstance/instance.conf No, replace ex1: LAVA_INSTANCE=testinstance . /srv/lava/instances/testinstance/instance.conf ________________________________ From: Spring Zhang [mailto:[email protected]<mailto:[email protected]>] Sent: 2012年6月5日 17:16 To: Song, Elen Cc: [email protected]<mailto:[email protected]> Subject: Re: [Linaro-validation] lava-deployment-tool bad gateway On 5 June 2012 16:13, Song, Elen <[email protected]<mailto:[email protected]>> wrote: Hi Spring: http://10.217.2.155/lava-server is my server ip, a2dissite default does not work for me, but I do found a err message in /var/log/apache2 [Tue Jun 05 09:27:46 2012] [error] [client 10.217.2.155] uwsgi: unable to connect to uWSGI server: No such file or directory Seems uwsgi have some problem How can that be? uwsgi can be installed improperly. Try to run manually to see the log: stop lava-instance LAVA_INSTANCE=xxxx LAVA_INSTANCE=ex1 ---> your instance name . /srv/lava/instances/$LAVA_INSTANCE/instance.conf export VIRTUAL_ENV=/srv/lava/instances/$LAVA_INSTANCE export PATH=$VIRTUAL_ENV/bin:$PATH sudo /srv/lava/instances/$LAVA_INSTANCE/bin/uwsgi --ini=/srv/lava/instances/$LAVA_INSTANCE/etc/lava-server/uwsgi.ini By the way , which version do lava-deployment-tool release, ubuntu-10.10-desktop? I think a proper release version to me will get less trouble:) It supports on oneiric and precise, others may need modification. BR ________________________________ From: Spring Zhang [mailto:[email protected]<mailto:[email protected]>] Sent: 2012年6月5日 15:19 To: Song, Elen Cc: [email protected]<mailto:[email protected]> Subject: Re: [Linaro-validation] lava-deployment-tool bad gateway On 5 June 2012 11:44, Song, Elen <[email protected]<mailto:[email protected]>> wrote: Hi Spring and All: I’m using lava-deployment-tool-0.3-2012-03.tar.gz to install lava-server on ubuntu-12.04-LTS 1../lava-deployment-tool setup 2 ./lava-deployment-tool bundle requirement/requirements-latest.txt 3 ./lava-deployment-tool install testinstance lava.pybundle 4 sudo start lava-instance LAVA_INSTANCE=testinstance In setp2 , I change download to download/old for uwsgi compiling in lava-deployment-tool Then add simplejson ==2.3.2 in requirement-latest.txt to make compile ok. When I open http://10.217.2.155/lava-server, it says: What is the IP? I guess it is your lava-server ip? Bad Gateway The proxy server received an invalid response from an upstream server. Apache/2.2.22 (Ubuntu) Server at 127.0.1.1 Port 80 Do you know there is any workaround ? Do you use a proxy? If yes, you can try http://localhost/lava-server If that can't work, the simplest way is to disable default site config in apache2: ls /etc/apache2/sites-enabled There should be a 'default' and a testinstance.conf, we need to disable default for two configs use 80 port to listen both. # sudo a2dissite default # sudo service apache2 reload But a2dissite doesn't work for me, if that case, please delete 'default' symlink directly: # sudo rm /etc/apache2/sites-enabled/default # sudo service apache2 reload Then it should work. BestRegards Elen Song -- Best wishes, Spring Zhang -- Best wishes, Spring Zhang -- Best wishes, Spring Zhang
_______________________________________________ linaro-validation mailing list [email protected] http://lists.linaro.org/mailman/listinfo/linaro-validation
