ArchipelProject / Archipel

XMPP Based Orchestrator
http://archipelproject.org
GNU Affero General Public License v3.0
803 stars 127 forks source link

Cannot install appliances #840

Open lenineto opened 11 years ago

lenineto commented 11 years ago

Hi guys, I've been using vmcasts and installing appliances on my VMs without problems. Suddenly, i cannot install applicances anymore. When I try to install any appliance I get this error Cannot install appliance: TNApplianceDecompresser: cannot unpack because unpack() has returned exception: file could not be opened successfully

I tried both with and without zip compression, same problem.

I can succesfully create new appliances from my VMs, but I can no longer attach an existing appliance.

Any clues?

Thanks

Nowaker commented 11 years ago

Check the VMCasts URL from your browser or RSS reader, and check if are able to download the files. I guess you misconfigured your web server. I haven't used VMCasts for quite a long so I may be wrong though.

lenineto commented 11 years ago

Hi Nowaker. Thanks for your reply. I've checke and my VMCast URL is correct. I can also download the file xvm2 file from the browser. The strange thing is this was working fine before. I have nginx configured to the vmcasts folder, so i use my url like http://myserver.domain.com:8080/ instead of http://myserver.domain.com:8080/vmcasts

That shouldn't be a problem, right? I mean the vhost is properly configured on nginx and also archipel.conf is matching the VMCast URL.

Nowaker commented 11 years ago

I remember some problems with these URLs. Just in case check /vmcasts.

I was going to setup VMCasts for myself anyway, so I will do that during the weekend and let you know if it works for me.

lenineto commented 11 years ago

Thanks man. I do appreciate your attention. I'll try to revert the url back to /vmcasts, and let you know if it makes any difference for me as well.

Cheers,

lenineto commented 11 years ago

Hi Nowaker. I reverted back to default URL /vmcasts and it works! Nice tip. Thanks buddy.

lenineto commented 11 years ago

Hey Nowaker, maybe you can give me a clue again. Now that my appliances are working fine, when I try to create an appliance from an existing VM, sometimes it works fine, sometimes it doesn't. I'm trying to package a VM with a 50GB hard drive (compacted image size about 1.2GB), and it fails. I do the same with another VM, 20GB hard drive, and it works fine. Do you think it could be a timeout issue or something? I've plenty of space for the operation in my hd.

Thanks

Nowaker commented 11 years ago

So I'd need to check. I didn't setup the VM Casts for me, as you were first to close the issue. I will do that at the weekend I think and let you know.