<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hi,<br>
<br>
I think you did not do the step "install software". In SlapOS, you
can request N instances of a given software. This way, you can run
for example 10 independent instances of ERP5 (one for devt, one for
prod, one for friend). And to create a SaaS service, it reduces
costs a lot (it is possible to run 100 to 200 ERP5 instances on a
cheap server).<br>
<br>
But first, you must say to your server "I want ERP5 to be installed
on this machine".<br>
<span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span>
<blockquote cite="mid:001801cd04ea$0bfde760$23f9b620$@jrw.co.uk"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">Vifib shows a configured address nbd_id 2a10:e35…
& nbd_port 1024</span></p>
</div>
</blockquote>
It has no consequence.<br>
<blockquote cite="mid:001801cd04ea$0bfde760$23f9b620$@jrw.co.uk"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">Our ipv6 is via a sixxs tunnel on our gateway
router/firewall machine, and our ipv6 network is 2a10:348...</span></p>
</div>
</blockquote>
Should be fine. If you see many IPv6 addresses on the bridge, then
OK.<br>
<blockquote cite="mid:001801cd04ea$0bfde760$23f9b620$@jrw.co.uk"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">The machine I’m working with has a native ipv6
address on eth0.</span></p>
</div>
</blockquote>
Perfect.<br>
<blockquote cite="mid:001801cd04ea$0bfde760$23f9b620$@jrw.co.uk"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">The gateway machine has a stateful firewall that
allows outgoing and associated incoming traffic.</span></p>
</div>
</blockquote>
Should be perfect.<br>
<blockquote cite="mid:001801cd04ea$0bfde760$23f9b620$@jrw.co.uk"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">I’ve set it to also permit incoming tcp & udp
traffic to my test machine on port 1024, but after realising
that vifib is showing a completely different target address,
I’m thoroughly confused…</span></p>
</div>
</blockquote>
I do not understand.<br>
<blockquote cite="mid:001801cd04ea$0bfde760$23f9b620$@jrw.co.uk"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">On the ipv4 side, what is the network in
slapos.cfg used for – the 10.0.0.0/16? </span></p>
</div>
</blockquote>
Should be perfect.<br>
<blockquote cite="mid:001801cd04ea$0bfde760$23f9b620$@jrw.co.uk"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The
only 10. Address visible is slapbr0<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">That
shows a few hundred transmitted frames, zero received.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The
slaptap interfaces all show zero tx/rx.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size: 11pt; font-family:
"Calibri","sans-serif"; color: rgb(31,
73, 125);">I’m guessing that it’s for a tunnel to internal
VMs rather than anything external, but not at all clear.</span></p>
</div>
</blockquote>
You can read this:<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a
href="http://www.slapos.org/wiki/osoe-Lecture.SlapOS.Extended/developer-Introducing.SlapOS.Architecture">http://www.slapos.org/wiki/osoe-Lecture.SlapOS.Extended/developer-Introducing.SlapOS.Architecture</a><br>
<br>
It explains. Each instance has:<br>
- one local IPv4 address so that any IPv4 software can be used <br>
- one global IPv6 address, to interconnect all services between
different hosts<br>
- and use stunnel to forward IPv6 to IPv4 (so that two IPv6
incompatible services can connect eachother through IPv6 in a secure
way)<br>
<br>
Tomorrow, I will setup an instance for you on some machine.<br>
<br>
<br>
Regards,<br>
<br>
JPS.<br>
<br>
<br>
<br>
<blockquote cite="mid:001801cd04ea$0bfde760$23f9b620$@jrw.co.uk"
type="cite">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Robert.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:erp5-users-bounces@erp5.org">erp5-users-bounces@erp5.org</a>
[<a class="moz-txt-link-freetext" href="mailto:erp5-users-bounces@erp5.org">mailto:erp5-users-bounces@erp5.org</a>] <b>On Behalf Of </b>Robert
Jenkins<br>
<b>Sent:</b> 17 March 2012 21:52<br>
<b>To:</b> 'Documentation and questions about the use of
ERP5'<br>
<b>Subject:</b> Re: [Erp5-users] Installation problem -
missing template.cfg<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I
have looked at the pages you linked to.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The
lecture section on slave nodes appears to only give info on
transferring an existing node via a USB drive, not
installing a node from scratch?<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I
have tried to follow sections 3.1 & 3.2 from this page:<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><a
moz-do-not-send="true"
href="https://www.tiolive.com/nexedi/web_site_module/erp5_community/osoe-SlapOS.Book">https://www.tiolive.com/nexedi/web_site_module/erp5_community/osoe-SlapOS.Book</a><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Section
3.1 appears to have worked OK, the machine has appeared
under ‘servers’ on vifib.net as validated.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Section
3.2, adding vifib service, appears to have stalled with the
status ‘Looking for a free partition’.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I’m
now working with another PC, again Centos 6.2 x86_64<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">The
file locations used are exactly as given in doc 3.1<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Rob.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US"> <a moz-do-not-send="true"
href="mailto:erp5-users-bounces@erp5.org">erp5-users-bounces@erp5.org</a>
<a moz-do-not-send="true"
href="mailto:[mailto:erp5-users-bounces@erp5.org]">[mailto:erp5-users-bounces@erp5.org]</a>
<b>On Behalf Of </b>Jean-Paul Smets<br>
<b>Sent:</b> 17 March 2012 15:17<br>
<b>To:</b> Documentation and questions about the use of
ERP5<br>
<b>Subject:</b> Re: [Erp5-users] Installation problem -
missing template.cfg<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi,<br>
<br>
Thanks for your questions. It helps improving the
documentation.<br>
<br>
I updated the documentation ( <a moz-do-not-send="true"
href="http://www.erp5.com/download/linux">http://www.erp5.com/download/linux</a>)
so that the page you found (<a moz-do-not-send="true"
href="http://www.erp5.com/user-Install.ERP5.With.SlapOS">http://www.erp5.com/user-Install.ERP5.With.SlapOS</a>)
is no longer referenced. Instead, the documentation is now:<br>
<br>
<a moz-do-not-send="true"
href="http://www.slapos.org/wiki/osoe-Lecture.SlapOS.Extended/developer-Allocate.SlapOS.ERP5.Instance">http://www.erp5.com/developer-Allocate.SlapOS.ERP5.Instance</a><br>
<br>
and you need to read this before:<br>
<br>
<a moz-do-not-send="true"
href="http://www.slapos.org/slapos-Lecture.Telecom">http://www.slapos.org/slapos-Lecture.Telecom</a>
(the chapters about installation of a SlapOS Slave node)<br>
<br>
As the moto says, "if it is not tested, it is not working".
Currently, the SlapOS installation process is not tested, so
it will likely fail. One of us is working on a test system for
SlapOS to make sure every day, automatically, that the build
process works. But we lack hands so it is not possible to
progress so fast. There is also a binary cache feature which
prevents waiting for the build process to finish (which is
quite long as you noticed. This feature is not yet activated.
<br>
<br>
I hope that in one month, I can update again the documentation
so that the installation process will become:<br>
# apt-get install slapos<br>
# slapos install erp5<br>
# slapos request erp5<br>
<br>
and takes less than 5 minutes.<br>
<br>
If you are interested to help us, let me know. For example,
running every day the build process on a Centos 6 could be
useful so that the installation process for Centos users
becomes instant. If you are interested, I can assist you in
setting up this environment.<br>
<br>
FYI, I use for my own development a release of ERP5 called
"ERP5 Local Development" version 1. And I have a fork of the
slapos got repository in /opt/slapdev so that I can do my own
changes to the build process and contribute. This is the way I
would recommend someone to do in order to contribute to the
build process (at least until slaprunner IDE is fully usable
for that purpose).<br>
<br>
I will check for you if another release also works.<br>
<br>
You can track here ( <a moz-do-not-send="true"
href="http://git.erp5.org/gitweb/slapos.git/shortlog/refs/heads/erp5?js=1">http://git.erp5.org/gitweb/slapos.git/shortlog/refs/heads/erp5?js=1</a>)
all the ongoing work for the erp5 branch of SlapOS. You will
find for example the recent integration of Varnish with
appropriate parameters to cache Web content. <br>
<br>
Regards,<br>
<br>
JPS.<br>
<br>
<br>
Le 17/03/2012 14:33, Robert Jenkins a écrit : <o:p></o:p></p>
<pre>Hi,<o:p></o:p></pre>
<pre>I’m trying to get ERP5 running on a Centos 6 based machine (Centos 6.2<o:p></o:p></pre>
<pre>x86_64 with all updates).<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Going through the ‘ERP5 install with SlapOS’ <o:p></o:p></pre>
<pre>[<a moz-do-not-send="true" href="http://www.erp5.com/user-Install.ERP5.With.SlapOS">http://www.erp5.com/user-Install.ERP5.With.SlapOS</a> ]<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Everything works OK up to step 8.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>At step 9, running slapgrid, it bombs out with this error:<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>bin/slapgrid-cp -c /raid/slapos/slapos.cfg<o:p></o:p></pre>
<pre>INFO:ComputerPartitionProcessing:Processing computer partitions...<o:p></o:p></pre>
<pre>INFO:SVCBackend:Supervisord already running.<o:p></o:p></pre>
<pre>INFO:Partition:Installing Computer Partition slappart0...<o:p></o:p></pre>
<pre>ERROR:ComputerPartitionProcessing:Traceback (most recent call last):<o:p></o:p></pre>
<pre> File<o:p></o:p></pre>
<pre>"/raid/slapos/eggs/slapos.core-0.19-py2.7.egg/slapos/grid/slapgrid.py", line<o:p></o:p></pre>
<pre>462, in processComputerPartitionList<o:p></o:p></pre>
<pre> local_partition.install()<o:p></o:p></pre>
<pre> File<o:p></o:p></pre>
<pre>"/raid/slapos/eggs/slapos.core-0.19-py2.7.egg/slapos/grid/SlapObject.py",<o:p></o:p></pre>
<pre>line 220, in install<o:p></o:p></pre>
<pre> shutil.copy(template_location, config_location)<o:p></o:p></pre>
<pre> File "/raid/slapos/parts/python2.7/lib/python2.7/shutil.py", line 116, in<o:p></o:p></pre>
<pre>copy<o:p></o:p></pre>
<pre> copyfile(src, dst)<o:p></o:p></pre>
<pre> File "/raid/slapos/parts/python2.7/lib/python2.7/shutil.py", line 81, in<o:p></o:p></pre>
<pre>copyfile<o:p></o:p></pre>
<pre> with open(src, 'rb') as fsrc:<o:p></o:p></pre>
<pre>IOError: [Errno 2] No such file or directory:<o:p></o:p></pre>
<pre>'/raid/slapgrid/afaeaed482578cde211ab84114e0c317/template.cfg'<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>INFO:ComputerPartitionProcessing:Finished computer partitions...<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I have /opt/slapos & /opt/slapgrid linked to /raid/slapos & /raid/slapgrid,<o:p></o:p></pre>
<pre>as the root is on a relatively small SSD with only /var & /home mounted on<o:p></o:p></pre>
<pre>HDD.<o:p></o:p></pre>
<pre>/raid is another HDD<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I’ve tried running through the install three times now, to try and make sure<o:p></o:p></pre>
<pre>I’m not doing anything dumb.<o:p></o:p></pre>
<pre>(slapos & slapgrid directories emptied between tries). <o:p></o:p></pre>
<pre>I’ve run it using both /opt/slapos and /raid/slapos as the configured<o:p></o:p></pre>
<pre>directories, with the same error occurring.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Any help appreciated, it’s getting a bit tedious watching everything rebuild<o:p></o:p></pre>
<pre>each time.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Thanks,<o:p></o:p></pre>
<pre>Rob.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Erp5-users mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="mailto:Erp5-users@erp5.org">Erp5-users@erp5.org</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true" href="https://mail.tiolive.com/mailman/listinfo/erp5-users">https://mail.tiolive.com/mailman/listinfo/erp5-users</a><o:p></o:p></pre>
<p class="MsoNormal"><br>
<br>
<br>
__________ Information from ESET NOD32 Antivirus, version of
virus signature database 6975 (20120317) __________<br>
<br>
The message was checked by ESET NOD32 Antivirus.<br>
<br>
<a moz-do-not-send="true" href="http://www.eset.com">http://www.eset.com</a><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext"><br>
<br>
__________ Information from ESET NOD32 Antivirus, version of
virus signature database 6975 (20120317) __________<br>
<br>
The message was checked by ESET NOD32 Antivirus.<br>
<br>
<a moz-do-not-send="true" href="http://www.eset.com">http://www.eset.com</a><o:p></o:p></span></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Erp5-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Erp5-users@erp5.org">Erp5-users@erp5.org</a>
<a class="moz-txt-link-freetext" href="https://mail.tiolive.com/mailman/listinfo/erp5-users">https://mail.tiolive.com/mailman/listinfo/erp5-users</a>
</pre>
</blockquote>
<br>
</body>
</html>