Sorry ,i' m new. where i can found the documentation for the lava test. I have a panda board , i would like to make some test using lava, i have installed it in a pc with ubuntu 12.04 . But when I write :
lava-tool submit-job \ https://root@127.0.0.1/lava-server/jobfile1.json
I have an error. i think that the installation is complete. But i should have made some other error. BEST regards Novello .G.
Hi, Novello,
Welcome! I just check my mail.
On 2 June 2012 21:35, novello novellogp64@gmail.com wrote:
Sorry ,i' m new. where i can found the documentation for the lava test.
lava-test document is on http://lava-test.readthedocs.org/en/latest/
I have a panda board , i would like to make some test using lava, i have installed it in a pc with ubuntu 12.04 . But when I write :
lava-tool submit-job \ https://root@127.0.0.1/lava-**server/jobfile1.jsonhttps://root@127.0.0.1/lava-server/jobfile1.json
Do you install the lava-dashboard and lava-scheduler, if not, submit-job
can't work. You need to check out lava-deployment-tool to deploy one lava instance. by 'bzr branch lp:lava-deployment-tool' and read the doc in the folder.
Then config lava-dispatcher to associate the board with lava-scheduler, register a token and use lava-tool to submit job.
If you'd like to just run lava-test on pandaboard, it's easier: (On Pandaboard) Install bzr. $ bzr lp:lava-test $ cd lava-test && python setup.py install (Or you can use 'pip install lava-test' to install if pip works for you) $ lava-test install stream $ lava-test run stream Then you can see stream benchmark output.
I have an error. i think that the installation is complete. But i should have made some other error. BEST regards Novello .G.
______________________________**_________________ linaro-validation mailing list linaro-validation@lists.**linaro.org linaro-validation@lists.linaro.org http://lists.linaro.org/**mailman/listinfo/linaro-**validationhttp://lists.linaro.org/mailman/listinfo/linaro-validation
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: 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 ?
BestRegards Elen Song
On 5 June 2012 11:44, Song, Elen Elen.Song@atmel.com 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****
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?
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:)
BR ________________________________ From: Spring Zhang [mailto:spring.zhang@linaro.org] Sent: 2012年6月5日 15:19 To: Song, Elen Cc: linaro-validation@lists.linaro.org Subject: Re: [Linaro-validation] lava-deployment-tool bad gateway
On 5 June 2012 11:44, Song, Elen <Elen.Song@atmel.commailto:Elen.Song@atmel.com> 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
On 5 June 2012 16:13, Song, Elen Elen.Song@atmel.com 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 troubleJ****
It supports on oneiric and precise, others may need modification.
BR****
*From:* Spring Zhang [mailto:spring.zhang@linaro.org] *Sent:* 2012年6月5日 15:19 *To:* Song, Elen *Cc:* linaro-validation@lists.linaro.org *Subject:* Re: [Linaro-validation] lava-deployment-tool bad gateway****
On 5 June 2012 11:44, Song, Elen Elen.Song@atmel.com 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****
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
________________________________ From: Spring Zhang [mailto:spring.zhang@linaro.org] Sent: 2012年6月5日 17:16 To: Song, Elen Cc: linaro-validation@lists.linaro.org Subject: Re: [Linaro-validation] lava-deployment-tool bad gateway
On 5 June 2012 16:13, Song, Elen <Elen.Song@atmel.commailto:Elen.Song@atmel.com> 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:spring.zhang@linaro.orgmailto:spring.zhang@linaro.org] Sent: 2012年6月5日 15:19 To: Song, Elen Cc: linaro-validation@lists.linaro.orgmailto:linaro-validation@lists.linaro.org Subject: Re: [Linaro-validation] lava-deployment-tool bad gateway
On 5 June 2012 11:44, Song, Elen <Elen.Song@atmel.commailto:Elen.Song@atmel.com> 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
On 5 June 2012 17:36, Song, Elen Elen.Song@atmel.com 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:spring.zhang@linaro.org] *Sent:* 2012年6月5日 17:16
*To:* Song, Elen *Cc:* linaro-validation@lists.linaro.org *Subject:* Re: [Linaro-validation] lava-deployment-tool bad gateway
On 5 June 2012 16:13, Song, Elen Elen.Song@atmel.com 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 troubleJ****
It supports on oneiric and precise, others may need modification.
BR****
*From:* Spring Zhang [mailto:spring.zhang@linaro.org] *Sent:* 2012年6月5日 15:19 *To:* Song, Elen *Cc:* linaro-validation@lists.linaro.org *Subject:* Re: [Linaro-validation] lava-deployment-tool bad gateway****
On 5 June 2012 11:44, Song, Elen Elen.Song@atmel.com 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****
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:spring.zhang@linaro.org] Sent: 2012年6月5日 18:21 To: Song, Elen Cc: linaro-validation@lists.linaro.org Subject: Re: [Linaro-validation] lava-deployment-tool bad gateway
On 5 June 2012 17:36, Song, Elen <Elen.Song@atmel.commailto:Elen.Song@atmel.com> 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:spring.zhang@linaro.orgmailto:spring.zhang@linaro.org] Sent: 2012年6月5日 17:16
To: Song, Elen Cc: linaro-validation@lists.linaro.orgmailto:linaro-validation@lists.linaro.org Subject: Re: [Linaro-validation] lava-deployment-tool bad gateway
On 5 June 2012 16:13, Song, Elen <Elen.Song@atmel.commailto:Elen.Song@atmel.com> 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:spring.zhang@linaro.orgmailto:spring.zhang@linaro.org] Sent: 2012年6月5日 15:19 To: Song, Elen Cc: linaro-validation@lists.linaro.orgmailto:linaro-validation@lists.linaro.org Subject: Re: [Linaro-validation] lava-deployment-tool bad gateway
On 5 June 2012 11:44, Song, Elen <Elen.Song@atmel.commailto:Elen.Song@atmel.com> 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
Hi, Elen,
Please update lava-deployment-tool to the latest and try, there's no mini requirement now. And use remove to uninstall the testinstance first before you start a new one: # lava-deployment-tool remove testinstance
On 6 June 2012 15:29, Song, Elen Elen.Song@atmel.com wrote:
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:spring.zhang@linaro.org] *Sent:* 2012年6月5日 18:21
*To:* Song, Elen *Cc:* linaro-validation@lists.linaro.org *Subject:* Re: [Linaro-validation] lava-deployment-tool bad gateway
On 5 June 2012 17:36, Song, Elen Elen.Song@atmel.com 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:spring.zhang@linaro.org] *Sent:* 2012年6月5日 17:16****
*To:* Song, Elen *Cc:* linaro-validation@lists.linaro.org *Subject:* Re: [Linaro-validation] lava-deployment-tool bad gateway****
On 5 June 2012 16:13, Song, Elen Elen.Song@atmel.com 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 troubleJ****
It supports on oneiric and precise, others may need modification.
BR****
*From:* Spring Zhang [mailto:spring.zhang@linaro.org] *Sent:* 2012年6月5日 15:19 *To:* Song, Elen *Cc:* linaro-validation@lists.linaro.org *Subject:* Re: [Linaro-validation] lava-deployment-tool bad gateway****
On 5 June 2012 11:44, Song, Elen Elen.Song@atmel.com 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****
Hi Spring:
Sorry I only see the latest on lanchpad, how to get the latest version?
Thank you
________________________________ From: Spring Zhang [mailto:spring.zhang@linaro.org] Sent: 2012年6月7日 13:48 To: Song, Elen Cc: linaro-validation@lists.linaro.org Subject: Re: [Linaro-validation] lava-deployment-tool bad gateway
Hi, Elen,
Please update lava-deployment-tool to the latest and try, there's no mini requirement now. And use remove to uninstall the testinstance first before you start a new one: # lava-deployment-tool remove testinstance On 6 June 2012 15:29, Song, Elen <Elen.Song@atmel.commailto:Elen.Song@atmel.com> wrote: 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:spring.zhang@linaro.orgmailto:spring.zhang@linaro.org] Sent: 2012年6月5日 18:21
To: Song, Elen Cc: linaro-validation@lists.linaro.orgmailto:linaro-validation@lists.linaro.org Subject: Re: [Linaro-validation] lava-deployment-tool bad gateway
On 5 June 2012 17:36, Song, Elen <Elen.Song@atmel.commailto:Elen.Song@atmel.com> 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:spring.zhang@linaro.orgmailto:spring.zhang@linaro.org] Sent: 2012年6月5日 17:16
To: Song, Elen Cc: linaro-validation@lists.linaro.orgmailto:linaro-validation@lists.linaro.org Subject: Re: [Linaro-validation] lava-deployment-tool bad gateway
On 5 June 2012 16:13, Song, Elen <Elen.Song@atmel.commailto:Elen.Song@atmel.com> 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:spring.zhang@linaro.orgmailto:spring.zhang@linaro.org] Sent: 2012年6月5日 15:19 To: Song, Elen Cc: linaro-validation@lists.linaro.orgmailto:linaro-validation@lists.linaro.org Subject: Re: [Linaro-validation] lava-deployment-tool bad gateway
On 5 June 2012 11:44, Song, Elen <Elen.Song@atmel.commailto:Elen.Song@atmel.com> 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
-- Best wishes, Spring Zhang
On 8 June 2012 10:17, Song, Elen Elen.Song@atmel.com wrote:
**
Hi Spring:****
Sorry I only see the latest on lanchpad, how to get the latest version?
Get from source: bzr branch lp:lava-deployment-tool
Thank you****
*From:* Spring Zhang [mailto:spring.zhang@linaro.org] *Sent:* 2012年6月7日 13:48
*To:* Song, Elen *Cc:* **linaro-validation@lists.linaro.org** *Subject:* Re: [Linaro-validation] lava-deployment-tool bad gateway
Hi, Elen,
Please update lava-deployment-tool to the latest and try, there's no mini requirement now. And use remove to uninstall the testinstance first before you start a new one: # lava-deployment-tool remove testinstance****
On 6 June 2012 15:29, Song, Elen Elen.Song@atmel.com wrote:****
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:spring.zhang@linaro.org] *Sent:* 2012年6月5日 18:21****
*To:* Song, Elen *Cc:* linaro-validation@lists.linaro.org *Subject:* Re: [Linaro-validation] lava-deployment-tool bad gateway****
On 5 June 2012 17:36, Song, Elen Elen.Song@atmel.com 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:spring.zhang@linaro.org] *Sent:* 2012年6月5日 17:16****
*To:* Song, Elen *Cc:* linaro-validation@lists.linaro.org *Subject:* Re: [Linaro-validation] lava-deployment-tool bad gateway****
On 5 June 2012 16:13, Song, Elen Elen.Song@atmel.com 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 troubleJ****
It supports on oneiric and precise, others may need modification.
BR****
*From:* Spring Zhang [mailto:spring.zhang@linaro.org] *Sent:* 2012年6月5日 15:19 *To:* Song, Elen *Cc:* linaro-validation@lists.linaro.org *Subject:* Re: [Linaro-validation] lava-deployment-tool bad gateway****
On 5 June 2012 11:44, Song, Elen Elen.Song@atmel.com 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****
-- ****
Best wishes,****
Spring Zhang****
I find a work around, but it not work:
chown -R www-data:www-data foo
foo/bin/uwsgi --ini=foo/etc/lava-server/uwsgi.ini
permission denied in open lava-uwsgi.log
________________________________ From: Song, Elen Sent: 2012年6月5日 16:14 To: 'Spring Zhang' Cc: linaro-validation@lists.linaro.org Subject: RE: [Linaro-validation] lava-deployment-tool bad gateway
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?
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:)
BR ________________________________ From: Spring Zhang [mailto:spring.zhang@linaro.org] Sent: 2012年6月5日 15:19 To: Song, Elen Cc: linaro-validation@lists.linaro.org Subject: Re: [Linaro-validation] lava-deployment-tool bad gateway
On 5 June 2012 11:44, Song, Elen <Elen.Song@atmel.commailto:Elen.Song@atmel.com> 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
linaro-validation@lists.linaro.org