Hi Markos,

Looks like virsh command works with sudo.
Here is the output:

[opnfv_epalper@pod1-blade02 xci]$ sudo virsh list --all
 Id    Name                           State
----------------------------------------------------
 -     opnfv                          shut off

[opnfv_epalper@pod1-blade02 xci]$ sudo virsh start opnfv
error: Failed to start domain opnfv
error: internal error: process exited while connecting to monitor: 
2017-07-25T14:03:03.766466Z qemu-kvm: -chardev 
file,id=charserial0,path=/var/log/libvirt/baremetal_logs/opnfv_console.log: 
Could not open '/var/log/libvirt/baremetal_logs/opnfv_console.log': Permission 
denied

Thanks,
Periyasamy

-----Original Message-----
From: Markos Chandras [mailto:[email protected]] 
Sent: Tuesday, July 25, 2017 6:48 PM
To: Periyasamy Palanisamy <[email protected]>; 
[email protected]
Subject: Re: [opnfv-tech-discuss] xci with mini flavor failed in ironic

On 25/07/17 13:50, Periyasamy Palanisamy wrote:
> Hi Markos,
> 
> Here is the error I see for aio flavor (same error [1] is thrown for all 
> flavors from os_ironic during dynamic enrolling of bare metal) :
> 
> [opnfv_epalper@pod1-blade02 xci]$ virsh list --all
> error: failed to connect to the hypervisor
> error: Cannot recv data: Connection reset by peer
> 
> [opnfv_epalper@pod1-blade02 xci]$ virsh start opnfv
> error: failed to connect to the hypervisor
> error: Cannot recv data: Connection reset by peer
> 
> Thanks,
> Periyasamy

Is the libvirtd (or libvirt-bin or however it's called in your system) service 
running? Any errors? Can you start it? It appears that there is some of of KVM 
issue on your system so XCI can't even boot (or even
create) the virtual machines

--
markos

SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 
(AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg
_______________________________________________
opnfv-tech-discuss mailing list
[email protected]
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss

Reply via email to