[Kimchi-devel] [PATCH] Github issue #306: Creating a guest OS whose name contain spaces causes it to fail.
Aline Manera
alinefm at linux.vnet.ibm.com
Thu Jan 23 19:48:31 UTC 2014
On 01/22/2014 07:19 PM, Crístian Viana wrote:
> As I added to the GitHub issue page
> (https://github.com/kimchi-project/kimchi/issues/306#issuecomment-33068988),
> I don't think having a space in a VM's name is a problem. I am able to
> create a VM named "hello world" using Kimchi and virsh.
>
> We should not add a limitation like this one to Kimchi (i.e.
> restricting the VM name) if there's not a real reason to.
Agree.
Seems this problem is on a deeper layer.
In a quick search on the internet I found a lot of forums related to
"libvirtError: internal error cannot load AppArmor profile"
We need to investigate more to find the root cause.
>
> Am 22-01-2014 19:01, schrieb Otavio R. Piske:
>> From: "Otavio R. Piske" <angusyoung at gmail.com>
>>
>> Kimchi fails to start the guest OS if the user names it with spaces.
>> As pointed in the issue #306, other VM management interfaces prevent
>> the user from creating a guest OS if the name contain invalid
>> characters.
>>
>> This patch adds a validation logic that prevents the user from naming
>> a Guest OS with anything other than alphanumeric chars, '-', '.' or '_'.
>>
>> Signed-off-by: Otavio R. Piske <angusyoung at gmail.com>
>
> _______________________________________________
> Kimchi-devel mailing list
> Kimchi-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel
>
More information about the Kimchi-devel
mailing list