<div dir="ltr">Martin,<div><br>Thanks for fixing the permissions. The install went along just fine. </div><div><br></div><div>Best,</div><div>Anish</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jun 1, 2014 at 10:39 AM, Anish Mangal <span dir="ltr"><<a href="mailto:anish@activitycentral.com" target="_blank">anish@activitycentral.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Martin,<div><br></div><div>Thanks for submitting the feature. I was experimenting with trying to install the xovis system through the ansible task. The first time, it got stuck here... </div>

<div><br></div>
<div><div><font face="courier new, monospace"><div>TASK: [xovis | Install Couchdb and other necessary packages] ****************** </div><div><font color="#bf9000">changed: [127.0.0.1] => (item=couchdb,curl)</font></div>


<div><br></div><div>TASK: [xovis | Allow access to Couchdb from other hosts] ********************** </div><div><font color="#bf9000">changed: [127.0.0.1]</font></div><div><br></div><div>TASK: [xovis | Enable Couchdb service] **************************************** </div>


<div><font color="#bf9000">changed: [127.0.0.1]</font></div><div><br></div></font></div><div><font face="courier new, monospace">TASK: [xovis | Add admin user] ************************************************ </font></div>


<div><font face="courier new, monospace" color="#cc0000">failed: [127.0.0.1] => {"changed": true, "cmd": ["curl", "-X", "PUT", "<a href="http://127.0.0.1:5984/_config/admins/admin" target="_blank">127.0.0.1:5984/_config/admins/admin</a>", "-d", "\"admin\""], "delta": "0:00:00.556050", "end": "2014-06-01 06:00:26.021649", "item": "", "rc": 7, "start": "2014-06-01 06:00:25.465599"}</font></div>


<div><font face="courier new, monospace" color="#cc0000">stderr:   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current</font></div><div><font face="courier new, monospace" color="#cc0000">                                 Dload  Upload   Total   Spent    Left  Speed</font></div>


<div><font face="courier new, monospace" color="#cc0000">  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (7) couldn't connect to host</font></div><div><font face="courier new, monospace" color="#cc0000"><br>


</font></div><div><font face="courier new, monospace" color="#cc0000">FATAL: all hosts have already failed -- aborting</font></div></div><div><br></div><div>I ran it again, and the playbook went beyond this step fine, but now is stuck while trying to fetch the database dump getting a 403 ... log below...</div>


<div><br></div><div><div><font face="courier new, monospace">TASK: [xovis | Add admin user] ************************************************ </font></div><div><font face="courier new, monospace" color="#bf9000">changed: [127.0.0.1]</font></div>


<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">TASK: [xovis | Remove Couch database if it already exists] ******************** </font></div><div><font face="courier new, monospace" color="#bf9000">changed: [127.0.0.1]</font></div>


<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">TASK: [xovis | Create Couchdb database] *************************************** </font></div><div><font face="courier new, monospace" color="#bf9000">changed: [127.0.0.1]</font></div>


<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">TASK: [xovis | Install the latest XOstats script] ***************************** </font></div><div><font face="courier new, monospace" color="#bf9000">changed: [127.0.0.1]</font></div>


<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">TASK: [xovis | Install xovis and xostats python dependencies] ***************** </font></div><div><font face="courier new, monospace" color="#bf9000">changed: [127.0.0.1]</font></div>


<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">TASK: [xovis | Fetch database dump to the server] ***************************** </font></div><div><font face="courier new, monospace" color="#cc0000">failed: [127.0.0.1] => {"changed": true, "cmd": ["wget", "-O", "/opt/xovis/xovis.json", "<a href="https://s3.amazonaws.com/xovis/xovis.json" target="_blank">https://s3.amazonaws.com/xovis/xovis.json</a>"], "delta": "0:00:06.945208", "end": "2014-06-01 06:06:41.045964", "item": "", "rc": 8, "start": "2014-06-01 06:06:34.100756"}</font></div>


<div><font face="courier new, monospace" color="#cc0000">stderr: --2014-06-01 06:06:34--  <a href="https://s3.amazonaws.com/xovis/xovis.json" target="_blank">https://s3.amazonaws.com/xovis/xovis.json</a></font></div><div>

<font face="courier new, monospace" color="#cc0000">Resolving <a href="http://s3.amazonaws.com" target="_blank">s3.amazonaws.com</a> (<a href="http://s3.amazonaws.com" target="_blank">s3.amazonaws.com</a>)... 207.171.185.200</font></div>


<div><font face="courier new, monospace" color="#cc0000">Connecting to <a href="http://s3.amazonaws.com" target="_blank">s3.amazonaws.com</a> (<a href="http://s3.amazonaws.com" target="_blank">s3.amazonaws.com</a>)|207.171.185.200|:443... connected.</font></div>


<div><font face="courier new, monospace" color="#cc0000">HTTP request sent, awaiting response... 403 Forbidden</font></div><div><font face="courier new, monospace" color="#cc0000">2014-06-01 06:06:41 ERROR 403: Forbidden.</font></div>


<div><font face="courier new, monospace" color="#cc0000"><br></font></div><div><font face="courier new, monospace" color="#cc0000">FATAL: all hosts have already failed -- aborting</font></div></div><div><br></div><div><br>


</div><div>Any pointers would help.</div><div><br></div><div>Best,</div><div>Anish</div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 21, 2014 at 8:45 PM, Martin Dluhos <span dir="ltr"><<a href="mailto:martin@gnu.org" target="_blank">martin@gnu.org</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi everyone,<br>
<br>
I would like to give you an update about XOvis, XO data visualization<br>
application that I would like to integrate with XSCE. What is XOvis? It's<br>
so-called couchapp- an HTML/Js application that stored and served from a Couch<br>
database. The app uses HighCharts Javascript library to create charts from data<br>
gathered from XO Journal backups on XS.<br>
<br>
Recently, I have published a blog post on OLE's blog about deploying the app on<br>
schoolservers in Nepali schools:<br>
<br>
<a href="http://blog.olenepal.org/index.php/archives/842" target="_blank">http://blog.olenepal.org/index.php/archives/842</a><br>
<br>
There are two main parts of the application. First, there is a python script<br>
process_journal_stats.py, which access raw Journal backup data from<br>
/library/users and loads them into a couch database. This script lives in<br>
<br>
<a href="http://github.com/martasd/xo-stats" target="_blank">http://github.com/martasd/xo-stats</a><br>
<br>
Then there is the HTML/JS app itself, which visualizes the data stored in the<br>
browser. This is the couch app which is also stored in the database itself. To<br>
install the app, one simply needs to install CouchDB and then get the database<br>
either through so-called replication or loaded from a db dump.<br>
<br>
Thus far, I've been using Cloudant to host the database with the application,<br>
but have run into errors when trying to replicate it from there. I am currently<br>
in the process of setting up the publicly accessible instance on sunjammer,<br>
where much of Sugarlabs infrastructure is hosted, but before that's available<br>
the best option for installing the database is to load it from a db dump (which<br>
I fetch from my GitHub repo).<br>
<br>
To install the application, I've written deploy_xovis.sh, which I have now<br>
translated into ansible's language, so that it can be integrated with XSCE. I<br>
have tested it on 64 bit Fedora 18 and made sure it can be run idempotently<br>
there. Currently, I don't have access to other machines to test the feature on.<br>
<br>
I've added XOvis as a feature to<br>
<br>
<a href="http://wiki.laptop.org/go/XS_Community_Edition/Features#Features_Planned" target="_blank">http://wiki.laptop.org/go/XS_Community_Edition/Features#Features_Planned</a><br>
<br>
and just created a pull request on GitHub which includes the ansible role<br>
'xovis' as well as its corresponding tag. I am looking forward to working to<br>
integrate this change with you!<br>
<br>
Cheers,<br>
Martin<br>
_______________________________________________<br>
Server-devel mailing list<br>
<a href="mailto:Server-devel@lists.laptop.org" target="_blank">Server-devel@lists.laptop.org</a><br>
<a href="http://lists.laptop.org/listinfo/server-devel" target="_blank">http://lists.laptop.org/listinfo/server-devel</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>