<div dir="ltr">I've found that the the change comes in release 1.36.0. I'll update the static xmlrpc library that we use to generate packages for the next release with 1.40.0, that is the latest stable release.<div><br></div><div>Right now the only distribution packages that use the stock xmlrpc-c library are CentOS 7. It comes with version 1.32.5 so I suppose I'll have to link them statically.</div><div><br></div><div>Concerning manual compilation. While the new release is not ready you can compile OpenNebula linking statically with the new library and only substitute oned binary. That should be in src/Nebula directory after compiling. You should be able to upgrade normally with this method. These are the steps we use to compile OpenNebula:</div><div><br></div><div><br></div><div>--8<------</div><div>svn checkout <a href="http://svn.code.sf.net/p/xmlrpc-c/code/release_number/01.40.00">http://svn.code.sf.net/p/xmlrpc-c/code/release_number/01.40.00</a><br></div><div>cd 01.40.00</div><div><br></div><div>export CXXFLAGS="-fPIC"<br></div><div><div>export CFLAGS="-Wno-error=format-security"</div><div>./configure --prefix=$PWD/install --enable-libxml2-backend</div><div>make install</div><div><br></div><div># Delete dynamic libraries</div><div>rm -f install/{lib,lib64}/*.so install/{lib,lib64}/*.so.*</div><div><br></div><div># Add xmlrpc-c libraries bin dir to the path</div><div>export PATH=$PWD/install/bin:$PATH</div></div><div>export XMLRPC=$PWD/install</div><div><br></div><div>cd <opennebula source code></div><div><div>scons -j2 mysql=yes xmlrpc=$XMLRPC new_xmlrpc=yes syslog=yes</div></div><div>------>8--</div><div><br></div><div>Cheers</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 17, 2015 at 12:06 PM, RubEn DIez LAzaro <span dir="ltr"><<a href="mailto:rdiez@cesga.es" target="_blank">rdiez@cesga.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Compile our own OpenNebula will break the package system
maintenance. You can forget use yum or any other package management
system. You can forget about the updating scripts associate to the
package for automatically migrate and adapt the database schemes to
updated versions....<br>
<br>
Compile our own OpenNebula in a production infrastructure means
return to the Dark Ages from a sysadmin point of view... for EVERY
site with this issue...<br>
<br>
In the easy way, OpenNebula staff should use a fixed version of
libxmlrpc-c and so distribute a fixed package of OpenNebula.<br>
<br>
Other possibility is that libxmlrpc-c become a dynamically linked
library instead statically linked one. In this way each site could
use a fixed version of libxmlrpc-c....<br>
<br>
Regards.<div><div class="h5"><br>
<br>
<br>
<div>On 17/02/15 11:15, Esteban Freire
wrote:<br>
</div>
<blockquote type="cite">
<div>Hi Carlos,<br>
<br>
Thank you very much for letting us know, we need to think it
deeply :)<br>
<br>
Just one question, which are the <span lang="en"><span>pros</span> <span>and cons of compiling oned? It is a serious
thing for us since the infrastructure is on production and I
am not sure if it will break future updates trough yum/rpm
and also, if we could break something in current ON
installation at CESGA. Personally, I don't like this
decision but it is my humble opinion and in any case, we
need to discuss about it.<br>
<br>
Thanks in advance,<br>
Esteban<br>
</span></span><br>
On 02/17/2015 11:05 AM, Carlos Martín Sánchez wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I forgot to add that if you want to test the new
libxmlrpc version yourself, it's not that difficult to
compile oned with the 'xmlrpc' scons option:</div>
<div><a href="http://docs.opennebula.org/4.10/integration/references/compile.html" target="_blank">http://docs.opennebula.org/4.10/integration/references/compile.html</a></div>
<div><br>
</div>
<div>Regards. </div>
<div class="gmail_extra"><br>
<div>
<div>
<div dir="ltr">--<br>
<div>Carlos Martín, MSc<br>
Project Engineer</div>
<div>OpenNebula - Flexible Enterprise Cloud Made
Simple<br>
<div><span><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a> | <a href="http://twitter.com/opennebula" target="_blank">@OpenNebula</a></span><span></span></div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">On Fri, Feb 13, 2015 at 10:39 AM,
RubEn DIez LAzaro <span dir="ltr"><<a href="mailto:rdiez@cesga.es" target="_blank">rdiez@cesga.es</a>></span> wrote:<br>
<blockquote class="gmail_quote">Hi:<br>
<br>
I Does not know really if some recent version of
libxmlrpc-c fix this bug... bug the patch seems to be
into some branch....<br>
<br>
<a href="http://sourceforge.net/p/xmlrpc-c/code/2520/" target="_blank">http://sourceforge.net/p/xmlrpc-c/code/2520/</a><br>
<br>
I don't pretend to confuse you with how we discover this
bug, but in short it appears when executing some
accounting software by Boris Parak for the Federate
cloud of the EGI project....<br>
<br>
I hope the patch i link help to clarify the situation.<br>
<br>
Best regards.
<div>
<div><br>
<br>
<br>
On 12/02/15 22:53, Alejandro Feijóo wrote:<br>
<blockquote class="gmail_quote"> -----BEGIN PGP
SIGNED MESSAGE-----<br>
Hash: SHA512<br>
<br>
Hi to all.<br>
<br>
As Esteban say, we have a planned updated to last
stable opennebula<br>
release the Wednesday 18th, but i think we can
wait if the libxmlrpc-c<br>
is updated in the next days or maybe weeks.<br>
<br>
I think we can wait because the new ON not have
critical changes (we<br>
have pached one-flow yet) and make 2 updates in
the same month can be a<br>
problem for our costumers... (we use oneflow in a
lot of critical<br>
services and is a problem make 2 scheduled stops)<br>
<br>
<br>
But if the change is programated to 4.12 we going
to update and patch it<br>
(I think Ruben have a special love story paching
software hehe)<br>
<br>
<br>
Again, a lot of thanks.<br>
<br>
<br>
El 12/02/15 a las 19:32, Esteban Freire escribió:<br>
<blockquote class="gmail_quote"> Hi Carlos,<br>
<br>
Thank you very much for checking it :)<br>
<br>
About if it should be fixed in 1.33.14, I hope
Rubén answer to this<br>
tomorrow since it is the one looking at this
issue.<br>
<br>
When do you think we could test this? Sorry for
the question/hurry but<br>
we are failing accounting due to this issue in
FedCloud (EGI). In<br>
principle, we are going to update to last ON
version next Wednesday 18th.<br>
<br>
Thanks in advance,<br>
Esteban<br>
<br>
On 02/12/2015 07:23 PM, Carlos Martín Sánchez
wrote:<br>
<blockquote class="gmail_quote"> Hi,<br>
<br>
I'm not directly involved in the packaging,
but as far as I can tell,<br>
OpenNebula 4.8 comes with libxmlrpc-c version
1.33.6.<br>
If I understand correctly, the problem you
report should be fixed in<br>
1.33.14?<br>
<br>
I've checked and the current super stable
version is 1.33.16 [1]. We<br>
will see if the static library can be updated
without breaking<br>
anything [2].<br>
<br>
Regards.<br>
<br>
[1] <a href="http://xmlrpc-c.sourceforge.net/change_super_stable.html" target="_blank">http://xmlrpc-c.sourceforge.net/change_super_stable.html</a><br>
[2] <a href="http://dev.opennebula.org/issues/3594" target="_blank">http://dev.opennebula.org/issues/3594</a><br>
<br>
-- <br>
Carlos Martín, MSc<br>
Project Engineer<br>
OpenNebula - Flexible Enterprise Cloud Made
Simple<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> <<a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a>>
|<br>
<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>
<mailto:<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>>
| @OpenNebula<br>
<<a href="http://twitter.com/opennebula" target="_blank">http://twitter.com/opennebula</a>><br>
<br>
On Thu, Feb 12, 2015 at 12:08 PM, RubEn DIez
LAzaro <<a href="mailto:rdiez@cesga.es" target="_blank">rdiez@cesga.es</a><br>
<mailto:<a href="mailto:rdiez@cesga.es" target="_blank">rdiez@cesga.es</a>>>
wrote:<br>
<br>
HI:<br>
<br>
The distro is Scientific Linux release
6.4 (Carbon) and ONE is<br>
installed from repo (it seems be the repo
for CentOS 6)<br>
<br>
[root@cloud yum.repos.d]# cat
opennebula.repo<br>
[opennebula]<br>
name=opennebula<br>
baseurl=<a href="http://downloads.opennebula.org/repo/4.8/CentOS/6/x86_64" target="_blank">http://downloads.opennebula.org/repo/4.8/CentOS/6/x86_64</a><br>
enabled=1<br>
gpgcheck=0<br>
<br>
<br>
The installed (from standard repos)
version of libxmlrpc-c is<br>
1.16.24:<br>
<br>
# yum info xmlrpc-c<br>
[.....]<br>
Installed Packages<br>
Name : xmlrpc-c<br>
Arch : x86_64<br>
Version : 1.16.24<br>
Release : 1209.1840.el6<br>
Size : 263 k<br>
Repo : installed<br>
From repo : sl<br>
Summary : A lightweight RPC library
based on XML and HTTP<br>
URL : <a href="http://xmlrpc-c.sourceforge.net/" target="_blank">http://xmlrpc-c.sourceforge.net/</a><br>
License : BSD and MIT<br>
Description : XML-RPC is a quick-and-easy
way to make procedure<br>
calls over the<br>
: Internet. It converts the
procedure call into XML<br>
document, sends<br>
: it to a remote server using
HTTP, and gets back the<br>
response as<br>
: XML.<br>
:<br>
: This library provides a
modular implementation of<br>
XML-RPC for C.<br>
<br>
but this is no matter since you claims
that ONE is statically<br>
linked.... What version of xmlrpc-c is
linked to the ONE from the<br>
showed repo??<br>
<br>
We get a source path for 1.33.14 and we
build a possible (yet<br>
untested, done by hand using patch we
have for 1.33.14) patch for<br>
1.16.24.... Perhaps we can send you these
patches for fix the<br>
issue in your statically linked
xmlrpc-c???<br>
<br>
Regards.<br>
<br>
<br>
<br>
<br>
On 12/02/15 11:48, Carlos Martín Sánchez
wrote:<br>
<blockquote class="gmail_quote"> Hi,<br>
<br>
We already use a statically linked
libxmlrpc-c version to use a<br>
newer one for some distros.<br>
How did you install ONE, what packages
are you using? Which version?<br>
<br>
Also, can you please share more about
the libxmlrpc-c versions<br>
that cause problems, and when it was
fixed?<br>
<br>
Regards<br>
--<br>
Carlos Martín, MSc<br>
Project Engineer<br>
OpenNebula - Flexible Enterprise Cloud
Made Simple<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a>
<<a href="http://www.OpenNebula.org" target="_blank">http://www.OpenNebula.org</a>>
|<br>
<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>
<mailto:<a href="mailto:cmartin@opennebula.org" target="_blank">cmartin@opennebula.org</a>>
|<br>
@OpenNebula <<a href="http://twitter.com/opennebula" target="_blank">http://twitter.com/opennebula</a>><br>
<br>
On Wed, Feb 11, 2015 at 12:53 PM,
Esteban Freire<br>
<<a href="mailto:esfreire@cesga.es" target="_blank">esfreire@cesga.es</a>
<mailto:<a href="mailto:esfreire@cesga.es" target="_blank">esfreire@cesga.es</a>>>
wrote:<br>
<br>
Hello,<br>
<br>
We are having an issue with oneacct
command when we try to<br>
get the accounting for a group, for
example:<br>
<br>
[oneadmin@cloud ~]$ oneacct -g ops<br>
ops<br>
HTTP-Error: 500 Internal Server
Error<br>
<br>
[oneadmin@cloud ~]$ oneacct -g <a href="http://fedcloud.egi.eu" target="_blank">fedcloud.egi.eu</a><br>
<<a href="http://fedcloud.egi.eu" target="_blank">http://fedcloud.egi.eu</a>><br>
<a href="http://fedcloud.egi.eu" target="_blank">fedcloud.egi.eu</a> <<a href="http://fedcloud.egi.eu" target="_blank">http://fedcloud.egi.eu</a>><br>
HTTP-Error: 500 Internal Server
Error<br>
<br>
As far as we have been told, it
seems the issue it is hidden<br>
deep in libxmlrpc and has almost
nothing to do with<br>
OpenNebula or its version. The
problem is this (briefly):<br>
<br>
Once the VM history goes over
approx. 40k of VMs, libxmlrpc<br>
will refuse to allocate enough
memory for some OpenNebula<br>
responses to RPC commands.<br>
<br>
Also, the solution proposed is to
compile OpenNebula against<br>
a newer and patched version of
libxmlrpc but to be honest, I<br>
would prefer avoid this solution.<br>
<br>
I understand this is not an
OpenNebula issue but I wonder if<br>
as OpenNebula developers you have
seen this issue before and<br>
it there is any other better
solution. Also, if some other<br>
site has experiment this issue, I
would like to know which<br>
was the solution applied.<br>
<br>
Any help is welcome on this since
we need to solve this issue<br>
asap :)<br>
<br>
Thanks in advance,<br>
Esteban<br>
<br>
--
++-------------------------++<br>
Esteban Freire García<br>
Centro de supercomputación de
Galicia<br>
Avda. de Vigo s/n. Campus Vida<br>
15705 - Santiago de Compostela.
Spain<br>
Tlfn.: <a href="tel:981%2056%2098%2010%20Extension%3A274" value="+34981569810" target="_blank">981 56 98 10 Extension:274</a><br>
Fax: <a href="tel:981%2059%2046%2016" value="+34981594616" target="_blank">981 59 46 16</a><br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>
<mailto:<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>
<mailto:<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</blockquote>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>
<mailto:<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</blockquote>
<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br>
</blockquote>
- -- Alejandro Feijóo Fraga<br>
Systems Technician<br>
CESGA<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)<br>
Comment: GPGTools - <a href="https://gpgtools.org" target="_blank">https://gpgtools.org</a><br>
<br>
iQEcBAEBCgAGBQJU3SDrAAoJEKshAoM6XWq54GwIAKY4yp/4+REWqjSKBCZoHInj<br>
RGmKvUFuGbo7pfV7Ttreztxu3wF1KidIAR0uMG0/zoJ3DR/q/c4hdWaIIhw3PAv8<br>
x/rBBWNYRgCOX520AmOA7AYaKMnvsRWsf4yQST2Q9Biij3dkaBvU7+IKpCcw6oeR<br>
L3Athpe15Jnl+k5oLw926ntrN0Ol+A3SBoWM4Ndn8+XCdEbEpi2BqrgcX0Ex5L0z<br>
L9e9Cl+pzl9wRVBNxiy3Fd/zPcFQI3MXvfyYmcceRbwEfgxO+o79e2ZcXmmLeXfc<br>
9zhzHiSgjf1TlqrdHvDv7TT0cFIYXyiJRE3RDGhAwbBq8MwAmbAUc0mbQ7Bamg4=<br>
=WENu<br>
-----END PGP SIGNATURE-----<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</blockquote>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<br>
<br>
<pre cols="72">--
++-------------------------++
Esteban Freire García
Centro de supercomputación de Galicia
Avda. de Vigo s/n. Campus Vida
15705 - Santiago de Compostela. Spain
Tlfn.: <a href="tel:981%2056%2098%2010%20Extension%3A274" value="+34981569810" target="_blank">981 56 98 10 Extension:274</a>
Fax: <a href="tel:981%2059%2046%2016" value="+34981594616" target="_blank">981 59 46 16</a></pre>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Javier Fontán Muiños<br>Developer<br>OpenNebula - Flexible Enterprise Cloud Made Simple<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | @OpenNebula | <a href="http://github.com/jfontan" target="_blank">github.com/jfontan</a></div>
</div>