[one-users] Sunstone image upload not working - images not in tmpdir

Daniel Molina dmolina at opennebula.org
Thu Nov 28 23:35:35 PST 2013


On 28 November 2013 18:15, Stefan Kooman <stefan at bit.nl> wrote:

> Quoting Daniel Molina (dmolina at opennebula.org):
> > On 27 November 2013 21:27, Stefan Kooman <stefan at bit.nl> wrote:
> >
> >
> > We didn't change anything, just:
> >
> https://github.com/OpenNebula/one/commit/f8e2e65b0170268e9c72d52c4fe9f0e13fa05acd
> >
> > So, it should work as before.
>
> Passenger 4.0.26 is giving me this error (500):
>
> [ 2013-11-28 17:34:07.3852 19823/7f177e5a6700
> Pool2/Implementation.cpp:1291 ]: [App 19906 stderr] NameError -
> uninitialized constant PhusionPassenger::Utils::RewindableInput:
> [ 2013-11-28 17:34:07.3858 19823/7f177e5a6700
> Pool2/Implementation.cpp:1291 ]: [App 19906 stderr]
> /usr/lib/one/sunstone/sunstone-server.rb:412:in `block in <top (required)>'
>
> Image upload _is_ working with Apache Passenger 3.0.13debian-1.2.
> Apparently
> passenger 4.x needs this class to be handled differently.
>

Could you check what it the value of rackinput.class in the "post '/upload'
do" method of sunstone-server.rb. You can add a
logger.error(rackinput.class) and it will be reported in the log.

Cheers


>
> Gr. Stefan
>
> --
> | BIT BV  http://www.bit.nl/        Kamer van Koophandel 09090351
> | GPG: 0xD14839C6                   +31 318 648 688 / info at bit.nl
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iF4EAREIAAYFAlKXejoACgkQTyGgYdFIOcbamgEA0CqmB4CHEhh5lGCu/EFEjsJy
> xOc+fp2UbMA9F0WAgH8A/1qrzs5RPipd+gY5l7DRQ1DZia/LalKJyFAQyp/nF7M9
> =6Fhy
> -----END PGP SIGNATURE-----
>
>


-- 
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131129/37ca511c/attachment-0002.htm>


More information about the Users mailing list