When i upload a file with fileserver, i have an error : Tue Jun 10 08:08:30 CEST 2008 //Node[yyyyy]/services-evodia/File[/var/tmp/xxxxxxx.tar.gz]/ensure (:err): change from absent to file failed: Could not retrieve /files/services-evodia/xxxxxxx.tar.gz: Uncaught exception failed to allocate memory in method fileserver.retrieve at /home/puppet/manifests/services/evodia.pp:13 size of the file xxxxxxx.tar.gz : 324Mo There is a size limit ? -- | Christophe GUILLOUX - Service AMI - Bureau A017 | | Centre de Recherche INRIA Rennes - Bretagne Atlantique | | Campus de Beaulieu | | 35042 Rennes cedex, France | | PHONE : +33 (0) 29984 74 10 | FAX : +33 (0) 29984 71 71 | | WWW : http://www.inria.fr | JABBER : christophe.guilloux@irisa.fr |
On Tue, Jun 10, 2008 at 2:24 AM, Christophe GUILLOUX <christophe.guilloux@inria.fr> wrote:> When i upload a file with fileserver, i have an error : > > Tue Jun 10 08:08:30 CEST 2008 > //Node[yyyyy]/services-evodia/File[/var/tmp/xxxxxxx.tar.gz]/ensure > (:err): change from absent to file failed: Could not retrieve > /files/services-evodia/xxxxxxx.tar.gz: Uncaught exception failed to > allocate memory in method fileserver.retrieve at > /home/puppet/manifests/services/evodia.pp:13 > > size of the file xxxxxxx.tar.gz : 324Mo > > There is a size limit ?Technically, there is not a file size limit, but there is --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Tue, Jun 10, 2008 at 2:24 AM, Christophe GUILLOUX <christophe.guilloux@inria.fr> wrote:> When i upload a file with fileserver, i have an error : > > Tue Jun 10 08:08:30 CEST 2008 > //Node[yyyyy]/services-evodia/File[/var/tmp/xxxxxxx.tar.gz]/ensure > (:err): change from absent to file failed: Could not retrieve > /files/services-evodia/xxxxxxx.tar.gz: Uncaught exception failed to > allocate memory in method fileserver.retrieve at > /home/puppet/manifests/services/evodia.pp:13 > > size of the file xxxxxxx.tar.gz : 324Mo > > There is a size limit ? >I think I sent a broken post. As I was saying there is not a per say filesize limit, but there is a practical size limit and a 300 meg fil way exceeds that limit. Moving large files using the puppet file server as it currently is implemented is a bad idea. Are you trying to move an application tarball for installing? If this the case it is a much better idea to build a native package and have the package provider install it for you. Evan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Evan Hisey wrote:> On Tue, Jun 10, 2008 at 2:24 AM, Christophe GUILLOUX > <christophe.guilloux@inria.fr> wrote: > >> When i upload a file with fileserver, i have an error : >> >> Tue Jun 10 08:08:30 CEST 2008 >> //Node[yyyyy]/services-evodia/File[/var/tmp/xxxxxxx.tar.gz]/ensure >> (:err): change from absent to file failed: Could not retrieve >> /files/services-evodia/xxxxxxx.tar.gz: Uncaught exception failed to >> allocate memory in method fileserver.retrieve at >> /home/puppet/manifests/services/evodia.pp:13 >> >> size of the file xxxxxxx.tar.gz : 324Mo >> >> There is a size limit ?This''ll be due to Puppetmaster having to escape the contents of the tar-gz before sending them through XMLRPC. Should be mostly resolved when the shift to RESTfulness is complete (0.25) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Evan Hisey a écrit :> I think I sent a broken post. As I was saying there is not a per say > filesize limit, but there is a practical size limit and a 300 meg fil > way exceeds that limit. Moving large files using the puppet file > server as it currently is implemented is a bad idea. Are you trying to > move an application tarball for installing? If this the case it is a > much better idea to build a native package and have the package > provider install it for you.Yes it is an application tarball (and it is proprietary :-( ). I have uploaded it with ssh. -- | Christophe GUILLOUX - Service AMI - Bureau A017 | | Centre de Recherche INRIA Rennes - Bretagne Atlantique | | Campus de Beaulieu | | 35042 Rennes cedex, France | | PHONE : +33 (0) 29984 74 10 | FAX : +33 (0) 29984 71 71 | | WWW : http://www.inria.fr | JABBER : christophe.guilloux@irisa.fr |
>> server as it currently is implemented is a bad idea. Are you trying to >> move an application tarball for installing? If this the case it is a >> much better idea to build a native package and have the package >> provider install it for you. > > Yes it is an application tarball (and it is proprietary :-( ). I have > uploaded it with ssh. >If making a native package is an issue you ma also want to look at Stow to solve this problem. Personally, I have used Rsync and NFS mounts of /usr/local to deal with stupid applications. Were stupid applications means one that do not conform to Linux standard packaging methods. Evan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Christophe GUILLOUX wrote:> Yes it is an application tarball (and it is proprietary :-( ). I have > uploaded it with ssh.You can still make native packages of that. I''ve done that with several applications on Debian [1] and Solaris [2], but I may still have some kinks to work out of my Solaris procedure (the packages themselves are fine, but pkg-get''s inability to handle multiple Blastwave repositories isn''t helping). The Debian ones work incredibly well, and I''ve got an ssh-accessible repository for them that prevents unauthorized systems from browsing around. [1] http://preview.tinyurl.com/4xpsbx [2] http://preview.tinyurl.com/3f73sc -- Mike Renfro / R&D Engineer, Center for Manufacturing Research, 931 372-3601 / Tennessee Technological University -- renfro@tntech.edu --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---