ArchipelProject / Archipel

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

created snapshot that broke archipel #1124

Open lsascha opened 9 years ago

lsascha commented 9 years ago

i created a snapshot of a virtial machine that had the "+" character in its name. (i mention it because i believe it is the reason why it happened only with that vm so far)

Now everywhere in the ui i get the error message: Error (-9003 / cancel) Cannot write data: Broken pipe

archipel:hypervisor:control rostervm

(the error number and module name changes depending on where i click in the ui)

if i enter "vms" into the chat i also still get a list with the mentioned vm in it.

if i enter "free" with the UUID or name i get the message: Cannot process the message: error is 'ascii' codec can't encode character u'\xa0' in position 239: ordinal not in range(128)

can i repair it somehow? i already deleted the snapshot and undefined the vm with libvirt

CyrilPeponnet commented 9 years ago

Go to ejabberd admin page or via cmd line and delete the culprit !

On Mar 15, 2015, at 7:01 PM, lsascha notifications@github.com wrote:

i created a snapshot of a virtial machine that had the "+" character in its name. (i mention it because i believe it is the reason why it happened only with that vm so far)

Now everywhere in the ui i get the error message: Error (-9003 / cancel) Cannot write data: Broken pipe

archipel:hypervisor:control rostervm

(the error number and module name changes depending on where i click in the ui)

if i enter "vms" into the chat i also still get a list with the mentioned vm in it.

if i enter "free" with the UUID or name i get the message: Cannot process the message: error is 'ascii' codec can't encode character u'\xa0' in position 239: ordinal not in range(128)

can i repair it somehow? i already deleted the snapshot and undefined the vm with libvirt

— Reply to this email directly or view it on GitHub .

lsascha commented 9 years ago

thank you a lot. i deleted it (and two other UUIDs that i didn´t knew of) restartet both ejabberd and archipel and it worked again. I just had to delte the vm then from the list of the vms in the ui.

maybe if it really was because of the + character can it be filtered so it can´t be used for a vm name?

CyrilPeponnet commented 9 years ago

Can you provide me a step by step way to reproduce it ? It would help to fix this.

Thanks

lsascha commented 9 years ago

Hi. I only created a VM with Archipel with a name like "my-vm+name". Then i installed stuff and created a snapshot. right after pressing the snapshot button everything broke.

Will have to try it again myself to see if this error always occurs or if it was just bad luck.