ArchipelProject / Archipel

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

Manage VMs slow/not working #1186

Open Crunchn opened 7 years ago

Crunchn commented 7 years ago

When attempting to manage my existing VMs with Archipel, the following happens:

While it appears that no errors are occurring and ejabberd creates the XMPP profiles for the VMs properly and Archipel sees my existing VMs, this happens whenever I attempt to manage a VM with Archipel, this includes making a new one.

I am currently running Archipel on an ArchLinux host with an existing KVM/QEMU hypervisor that I manage through virt-manager.

Ulrar commented 7 years ago

I'm running into the same problem, did you ever find a workaround ? I've just installed Archipel, managed to add my hypervisor, and since I tried to create a VM from Archipel that menu just keeps crashing my browser tabs, over and over. Tried both firefox and chrome, just in case, but doesn't look like it's usable at all :(

Ulrar commented 7 years ago

Okay, I figured it out. For some reason my /var/lib/archipel/avatars was empty, and it looks like that makes the vCard creation process fail. Apparently no-one ever planned for that, the web interface goes crazy as soon as there is a "failed" VM. To solve that I killed archipel and the central agent, unregistered the VM from ejabberd and downloaded the missing jpegs. Then I re-started archipel and the central agent, and they re-created the user with the vCard correctly, and everything started working.