[Erp5-users] Installation problem - missing template.cfg
Robert Jenkins
raj at jrw.co.uk
Sun Mar 18 10:32:32 CET 2012
Hi,
Still working on this & vifib is still looking for a free partition..
I suspect the problem may be basic network connectivity.
The docs do not make it obvious what ports are used for external
communications and which are internal or tunnelled?
Vifib shows a configured address nbd_id 2a10:e35
& nbd_port 1024
Our ipv6 is via a sixxs tunnel on our gateway router/firewall machine, and
our ipv6 network is 2a10:348...
The machine Im working with has a native ipv6 address on eth0.
The gateway machine has a stateful firewall that allows outgoing and
associated incoming traffic.
Ive 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, Im thoroughly confused
On the ipv4 side, what is the network in slapos.cfg used for the
10.0.0.0/16?
The only 10. Address visible is slapbr0
That shows a few hundred transmitted frames, zero received.
The slaptap interfaces all show zero tx/rx.
Im guessing that its for a tunnel to internal VMs rather than anything
external, but not at all clear.
Robert.
From: erp5-users-bounces at erp5.org [mailto:erp5-users-bounces at erp5.org] On
Behalf Of Robert Jenkins
Sent: 17 March 2012 21:52
To: 'Documentation and questions about the use of ERP5'
Subject: Re: [Erp5-users] Installation problem - missing template.cfg
Hi,
I have looked at the pages you linked to.
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?
I have tried to follow sections 3.1 & 3.2 from this page:
https://www.tiolive.com/nexedi/web_site_module/erp5_community/osoe-SlapOS.Bo
ok
Section 3.1 appears to have worked OK, the machine has appeared under
servers on vifib.net as validated.
Section 3.2, adding vifib service, appears to have stalled with the status
Looking for a free partition.
Im now working with another PC, again Centos 6.2 x86_64
The file locations used are exactly as given in doc 3.1
Rob.
From: erp5-users-bounces at erp5.org [mailto:erp5-users-bounces at erp5.org] On
Behalf Of Jean-Paul Smets
Sent: 17 March 2012 15:17
To: Documentation and questions about the use of ERP5
Subject: Re: [Erp5-users] Installation problem - missing template.cfg
Hi,
Thanks for your questions. It helps improving the documentation.
I updated the documentation ( http://www.erp5.com/download/linux) so that
the page you found (http://www.erp5.com/user-Install.ERP5.With.SlapOS) is no
longer referenced. Instead, the documentation is now:
http://www.erp5.com/developer-Allocate.SlapOS.ERP5.Instance
<http://www.slapos.org/wiki/osoe-Lecture.SlapOS.Extended/developer-Allocate.
SlapOS.ERP5.Instance>
and you need to read this before:
http://www.slapos.org/slapos-Lecture.Telecom (the chapters about
installation of a SlapOS Slave node)
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.
I hope that in one month, I can update again the documentation so that the
installation process will become:
# apt-get install slapos
# slapos install erp5
# slapos request erp5
and takes less than 5 minutes.
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.
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).
I will check for you if another release also works.
You can track here (
http://git.erp5.org/gitweb/slapos.git/shortlog/refs/heads/erp5?js=1) 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.
Regards,
JPS.
Le 17/03/2012 14:33, Robert Jenkins a écrit :
Hi,
Im trying to get ERP5 running on a Centos 6 based machine (Centos 6.2
x86_64 with all updates).
Going through the ERP5 install with SlapOS
[http://www.erp5.com/user-Install.ERP5.With.SlapOS ]
Everything works OK up to step 8.
At step 9, running slapgrid, it bombs out with this error:
bin/slapgrid-cp -c /raid/slapos/slapos.cfg
INFO:ComputerPartitionProcessing:Processing computer partitions...
INFO:SVCBackend:Supervisord already running.
INFO:Partition:Installing Computer Partition slappart0...
ERROR:ComputerPartitionProcessing:Traceback (most recent call last):
File
"/raid/slapos/eggs/slapos.core-0.19-py2.7.egg/slapos/grid/slapgrid.py", line
462, in processComputerPartitionList
local_partition.install()
File
"/raid/slapos/eggs/slapos.core-0.19-py2.7.egg/slapos/grid/SlapObject.py",
line 220, in install
shutil.copy(template_location, config_location)
File "/raid/slapos/parts/python2.7/lib/python2.7/shutil.py", line 116, in
copy
copyfile(src, dst)
File "/raid/slapos/parts/python2.7/lib/python2.7/shutil.py", line 81, in
copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory:
'/raid/slapgrid/afaeaed482578cde211ab84114e0c317/template.cfg'
INFO:ComputerPartitionProcessing:Finished computer partitions...
I have /opt/slapos & /opt/slapgrid linked to /raid/slapos & /raid/slapgrid,
as the root is on a relatively small SSD with only /var & /home mounted on
HDD.
/raid is another HDD
Ive tried running through the install three times now, to try and make sure
Im not doing anything dumb.
(slapos & slapgrid directories emptied between tries).
Ive run it using both /opt/slapos and /raid/slapos as the configured
directories, with the same error occurring.
Any help appreciated, its getting a bit tedious watching everything rebuild
each time.
Thanks,
Rob.
_______________________________________________
Erp5-users mailing list
Erp5-users at erp5.org
https://mail.tiolive.com/mailman/listinfo/erp5-users
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 6975 (20120317) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 6975 (20120317) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.tiolive.com/pipermail/erp5-users/attachments/20120318/6430023b/attachment.htm>
More information about the Erp5-users
mailing list