I have installed the lava-deployment-tools in may pc 192.168.1.5 (IP address) From my pc I woude like to add a job. I have followed the indication: I have added $ lava-tool auth-add http://novellogp64@192.168.1.5/RPC2/
and then I have: lava-tool submit-job http://user@example.com/lava-server/RPC2/ jobfile.json
(embedded)novello@qc:/srv/lava/instances/embedded$ lava-tool submit-job http://novellogp64@192.168.1.5/RPC2/ jobfile1.json EXPERIMENTAL - SUBJECT TO CHANGE (See --experimental-notice for more info) ERROR: <Fault 403: "Permission denied. User u'novellogp64' does not have the 'lava_scheduler_app.add_testjob' permission. Contact the administrators."> (embedded)novello@qc:/srv/lava/instances/embedded$
Hi, novello
1. Log in your lava with admin user 2. click the admin user in the top right corner, and click the Administration item in the popup menu 3. click the Users http://192.168.1.127/trunk2/admin/auth/user/ link to go to the user list page 4. in the user list page, click the novellogp64http://novellogp64@192.168.1.5/RPC2/ to go the detail page of novellogp64 http://novellogp64@192.168.1.5/RPC2/ user 5. in the user detail page, in the User permissions: item, add the permission you want to give user novellogp64http://novellogp64@192.168.1.5/RPC2/
Thanks, Yongqin Liu On 18 June 2012 17:26, novello novellogp64@gmail.com wrote:
I have installed the lava-deployment-tools in may pc 192.168.1.5 (IP address) From my pc I woude like to add a job. I have followed the indication: I have added $ lava-tool auth-add http://novellogp64@192.168.1.**5/RPC2/http://novellogp64@192.168.1.5/RPC2/
and then I have: lava-tool submit-job http://user@example.com/lava-**server/RPC2/http://user@example.com/lava-server/RPC2/ jobfile.json
(embedded)novello@qc:/srv/**lava/instances/embedded$ lava-tool submit-job http://novellogp64@192.168.1.**5/RPC2/http://novellogp64@192.168.1.5/RPC2/jobfile1.json EXPERIMENTAL - SUBJECT TO CHANGE (See --experimental-notice for more info) ERROR: <Fault 403: "Permission denied. User u'novellogp64' does not have the 'lava_scheduler_app.add_**testjob' permission. Contact the administrators."> (embedded)novello@qc:/srv/**lava/instances/embedded$
______________________________**_________________ 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
W dniu 18.06.2012 12:59, YongQin Liu pisze:
Hi, novello
- Log in your lava with admin user
- click the admin user in the top right corner, and click the
Administration item in the popup menu 3. click the Users http://192.168.1.127/trunk2/admin/auth/user/ link to go to the user list page 4. in the user list page, click the novellogp64 http://novellogp64@192.168.1.5/RPC2/ to go the detail page of novellogp64 http://novellogp64@192.168.1.5/RPC2/ user 5. in the user detail page, in the User permissions: item, add the permission you want to give user novellogp64 http://novellogp64@192.168.1.5/RPC2/
Pretty nice FAQ entry, candidate for https://answers.launchpad.net/lava-project/+faqs
Thanks ZK
linaro-validation@lists.linaro.org