* libvirt
@ 2017-12-12 8:03 Catonano
2017-12-12 14:56 ` libvirt Ricardo Wurmus
0 siblings, 1 reply; 22+ messages in thread
From: Catonano @ 2017-12-12 8:03 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 478 bytes --]
I need a libvirt daemon running in order to use virt-manager
I want to use virt-manager because I want to use an Ubunu installation as a
virtual machine, for reasons
I see there are 2 different services in gnu/services/virtualization.scm: a
libvirt and a virtlog service
Because I don't now that much about virtualization, could anyone please
give me an example of how I should configure such services in my conf file,
in order to have an Ubuntu desktop ?
Thanks in advance
[-- Attachment #2: Type: text/html, Size: 576 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: libvirt
2017-12-12 8:03 libvirt Catonano
@ 2017-12-12 14:56 ` Ricardo Wurmus
2017-12-12 16:46 ` libvirt Catonano
0 siblings, 1 reply; 22+ messages in thread
From: Ricardo Wurmus @ 2017-12-12 14:56 UTC (permalink / raw)
To: Catonano; +Cc: help-guix
Hi Catonano,
> I need a libvirt daemon running in order to use virt-manager
You just need to have the libvirt service with the default
configuration, and then you should be able to use virt-manager. Have
you tried that?
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: libvirt
2017-12-12 14:56 ` libvirt Ricardo Wurmus
@ 2017-12-12 16:46 ` Catonano
2017-12-12 17:51 ` libvirt Catonano
0 siblings, 1 reply; 22+ messages in thread
From: Catonano @ 2017-12-12 16:46 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 389 bytes --]
2017-12-12 15:56 GMT+01:00 Ricardo Wurmus <rekado@elephly.net>:
>
> Hi Catonano,
>
> > I need a libvirt daemon running in order to use virt-manager
>
> You just need to have the libvirt service with the default
> configuration, and then you should be able to use virt-manager. Have
> you tried that?
>
>
No, I hadn't tried.
I saw 2 services, didn't understand and got scared
Thanks :-)
[-- Attachment #2: Type: text/html, Size: 802 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: libvirt
2017-12-12 16:46 ` libvirt Catonano
@ 2017-12-12 17:51 ` Catonano
2017-12-12 17:59 ` libvirt Catonano
2017-12-18 18:48 ` libvirt Christopher Baines
0 siblings, 2 replies; 22+ messages in thread
From: Catonano @ 2017-12-12 17:51 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 837 bytes --]
2017-12-12 17:46 GMT+01:00 Catonano <catonano@gmail.com>:
> 2017-12-12 15:56 GMT+01:00 Ricardo Wurmus <rekado@elephly.net>:
>
>>
>> Hi Catonano,
>>
>> > I need a libvirt daemon running in order to use virt-manager
>>
>> You just need to have the libvirt service with the default
>> configuration, and then you should be able to use virt-manager. Have
>> you tried that?
>>
>>
> No, I hadn't tried.
> I saw 2 services, didn't understand and got scared
>
> Thanks :-)
>
>
Ok, I reconfigured
virt-manager still can't start:
libvirtError: Failed to connect socket to '/var/run/libvirt/
libvirt-sock': Permesso negato (denied permission)
~$ ls -lhad /var/run/libvirt
drwxr-xr-x 8 root root 4,0K 12 dic 18.43 /var/run/libvirt/
~$ sudo herd status libvirt
Password:
herd: service 'libvirt' could not be found
am I doing anything wrong ?
[-- Attachment #2: Type: text/html, Size: 1742 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: libvirt
2017-12-12 17:51 ` libvirt Catonano
@ 2017-12-12 17:59 ` Catonano
2017-12-18 18:48 ` libvirt Christopher Baines
1 sibling, 0 replies; 22+ messages in thread
From: Catonano @ 2017-12-12 17:59 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 1014 bytes --]
doesn't matter
I just decided I'm not gonna use virt-manager anyway
2017-12-12 18:51 GMT+01:00 Catonano <catonano@gmail.com>:
> 2017-12-12 17:46 GMT+01:00 Catonano <catonano@gmail.com>:
>
>> 2017-12-12 15:56 GMT+01:00 Ricardo Wurmus <rekado@elephly.net>:
>>
>>>
>>> Hi Catonano,
>>>
>>> > I need a libvirt daemon running in order to use virt-manager
>>>
>>> You just need to have the libvirt service with the default
>>> configuration, and then you should be able to use virt-manager. Have
>>> you tried that?
>>>
>>>
>> No, I hadn't tried.
>> I saw 2 services, didn't understand and got scared
>>
>> Thanks :-)
>>
>>
> Ok, I reconfigured
>
> virt-manager still can't start:
>
> libvirtError: Failed to connect socket to '/var/run/libvirt/
> libvirt-sock': Permesso negato (denied permission)
>
> ~$ ls -lhad /var/run/libvirt
> drwxr-xr-x 8 root root 4,0K 12 dic 18.43 /var/run/libvirt/
>
> ~$ sudo herd status libvirt
> Password:
> herd: service 'libvirt' could not be found
>
> am I doing anything wrong ?
>
[-- Attachment #2: Type: text/html, Size: 2208 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: libvirt
2017-12-12 17:51 ` libvirt Catonano
2017-12-12 17:59 ` libvirt Catonano
@ 2017-12-18 18:48 ` Christopher Baines
2017-12-18 22:13 ` libvirt Catonano
2017-12-31 8:51 ` libvirt Catonano
1 sibling, 2 replies; 22+ messages in thread
From: Christopher Baines @ 2017-12-18 18:48 UTC (permalink / raw)
To: Catonano; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 1091 bytes --]
Catonano <catonano@gmail.com> writes:
> 2017-12-12 17:46 GMT+01:00 Catonano <catonano@gmail.com>:
>
>> 2017-12-12 15:56 GMT+01:00 Ricardo Wurmus <rekado@elephly.net>:
>>
>>>
>>> Hi Catonano,
>>>
>>> > I need a libvirt daemon running in order to use virt-manager
>>>
>>> You just need to have the libvirt service with the default
>>> configuration, and then you should be able to use virt-manager. Have
>>> you tried that?
>>>
>>>
>> No, I hadn't tried.
>> I saw 2 services, didn't understand and got scared
>>
>> Thanks :-)
>>
>>
> Ok, I reconfigured
>
> virt-manager still can't start:
>
> libvirtError: Failed to connect socket to '/var/run/libvirt/
> libvirt-sock': Permesso negato (denied permission)
>
> ~$ ls -lhad /var/run/libvirt
> drwxr-xr-x 8 root root 4,0K 12 dic 18.43 /var/run/libvirt/
>
> ~$ sudo herd status libvirt
> Password:
> herd: service 'libvirt' could not be found
>
> am I doing anything wrong ?
Just in case you or someone else wants to use libvirt. I think the
service is called libvirtd, and you probably need to make sure you're
user is in the libvirt group.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: libvirt
2017-12-18 18:48 ` libvirt Christopher Baines
@ 2017-12-18 22:13 ` Catonano
2017-12-31 8:51 ` libvirt Catonano
1 sibling, 0 replies; 22+ messages in thread
From: Catonano @ 2017-12-18 22:13 UTC (permalink / raw)
To: Christopher Baines; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 1622 bytes --]
2017-12-18 19:48 GMT+01:00 Christopher Baines <mail@cbaines.net>:
>
> Catonano <catonano@gmail.com> writes:
>
> > 2017-12-12 17:46 GMT+01:00 Catonano <catonano@gmail.com>:
> >
> >> 2017-12-12 15:56 GMT+01:00 Ricardo Wurmus <rekado@elephly.net>:
> >>
> >>>
> >>> Hi Catonano,
> >>>
> >>> > I need a libvirt daemon running in order to use virt-manager
> >>>
> >>> You just need to have the libvirt service with the default
> >>> configuration, and then you should be able to use virt-manager. Have
> >>> you tried that?
> >>>
> >>>
> >> No, I hadn't tried.
> >> I saw 2 services, didn't understand and got scared
> >>
> >> Thanks :-)
> >>
> >>
> > Ok, I reconfigured
> >
> > virt-manager still can't start:
> >
> > libvirtError: Failed to connect socket to '/var/run/libvirt/
> > libvirt-sock': Permesso negato (denied permission)
> >
> > ~$ ls -lhad /var/run/libvirt
> > drwxr-xr-x 8 root root 4,0K 12 dic 18.43 /var/run/libvirt/
> >
> > ~$ sudo herd status libvirt
> > Password:
> > herd: service 'libvirt' could not be found
> >
> > am I doing anything wrong ?
>
> Just in case you or someone else wants to use libvirt. I think the
> service is called libvirtd, and you probably need to make sure you're
> user is in the libvirt group.
>
Thank you Chris !
I managed to launch the GUI client (virt-manager ?) but I found it too
dificult, with too many options to figure out
Maybe had I made sure that my user was in the libvirt group, the experience
would have been different
But I moved to my Fedora desktop and used Boxes. Way simpler
It'd be nice to have Boxes on GuixSD too
Maybe some day I'll send a patch ;-)
[-- Attachment #2: Type: text/html, Size: 2703 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: libvirt
2017-12-18 18:48 ` libvirt Christopher Baines
2017-12-18 22:13 ` libvirt Catonano
@ 2017-12-31 8:51 ` Catonano
2017-12-31 17:36 ` libvirt Ricardo Wurmus
1 sibling, 1 reply; 22+ messages in thread
From: Catonano @ 2017-12-31 8:51 UTC (permalink / raw)
To: Christopher Baines; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 1535 bytes --]
2017-12-18 19:48 GMT+01:00 Christopher Baines <mail@cbaines.net>:
>
> Catonano <catonano@gmail.com> writes:
>
> > 2017-12-12 17:46 GMT+01:00 Catonano <catonano@gmail.com>:
> >
> >> 2017-12-12 15:56 GMT+01:00 Ricardo Wurmus <rekado@elephly.net>:
> >>
> >>>
> >>> Hi Catonano,
> >>>
> >>> > I need a libvirt daemon running in order to use virt-manager
> >>>
> >>> You just need to have the libvirt service with the default
> >>> configuration, and then you should be able to use virt-manager. Have
> >>> you tried that?
> >>>
> >>>
> >> No, I hadn't tried.
> >> I saw 2 services, didn't understand and got scared
> >>
> >> Thanks :-)
> >>
> >>
> > Ok, I reconfigured
> >
> > virt-manager still can't start:
> >
> > libvirtError: Failed to connect socket to '/var/run/libvirt/
> > libvirt-sock': Permesso negato (denied permission)
> >
> > ~$ ls -lhad /var/run/libvirt
> > drwxr-xr-x 8 root root 4,0K 12 dic 18.43 /var/run/libvirt/
> >
> > ~$ sudo herd status libvirt
> > Password:
> > herd: service 'libvirt' could not be found
> >
> > am I doing anything wrong ?
>
> Just in case you or someone else wants to use libvirt. I think the
> service is called libvirtd,
It's called "libvirt" !
> and you probably need to make sure you're
> user is in the libvirt group.
>
Also in the "root" group !
In fact, when launching virt-manager, var/run/libvirt/libvirt-sock should
be accessible and it's readable/writable by users in the root group, others
can't access it
So your user needs to be in the root group too !
Happy New Year !
[-- Attachment #2: Type: text/html, Size: 2692 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: libvirt
2017-12-31 8:51 ` libvirt Catonano
@ 2017-12-31 17:36 ` Ricardo Wurmus
2017-12-31 17:40 ` libvirt Catonano
0 siblings, 1 reply; 22+ messages in thread
From: Ricardo Wurmus @ 2017-12-31 17:36 UTC (permalink / raw)
To: Catonano; +Cc: help-guix
Catonano <catonano@gmail.com> writes:
> In fact, when launching virt-manager, var/run/libvirt/libvirt-sock should
> be accessible and it's readable/writable by users in the root group, others
> can't access it
>
> So your user needs to be in the root group too !
That doesn’t seem right. This smells like a bug to me. Users shouldn’t
ever need to be in the root group.
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: libvirt
2017-12-31 17:36 ` libvirt Ricardo Wurmus
@ 2017-12-31 17:40 ` Catonano
2018-02-06 3:02 ` libvirt myglc2
0 siblings, 1 reply; 22+ messages in thread
From: Catonano @ 2017-12-31 17:40 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 686 bytes --]
2017-12-31 18:36 GMT+01:00 Ricardo Wurmus <rekado@elephly.net>:
>
> Catonano <catonano@gmail.com> writes:
>
> > In fact, when launching virt-manager, var/run/libvirt/libvirt-sock should
> > be accessible and it's readable/writable by users in the root group,
> others
> > can't access it
> >
> > So your user needs to be in the root group too !
>
> That doesn’t seem right. This smells like a bug to me. Users shouldn’t
> ever need to be in the root group.
>
Souldn't they ?
I don't know
All I can suggest is you reproduce the issue.
Reconfigure your system with libvirt, install virt-manager in you profile,
launch your virt-manager and see what happens
[-- Attachment #2: Type: text/html, Size: 1142 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: libvirt
2017-12-31 17:40 ` libvirt Catonano
@ 2018-02-06 3:02 ` myglc2
0 siblings, 0 replies; 22+ messages in thread
From: myglc2 @ 2018-02-06 3:02 UTC (permalink / raw)
To: Catonano; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 4068 bytes --]
On 12/31/2017 at 18:40 Catonano writes:
> 2017-12-31 18:36 GMT+01:00 Ricardo Wurmus <rekado@elephly.net>:
>
> Catonano <catonano@gmail.com> writes:
>
> > In fact, when launching virt-manager, var/run/libvirt/libvirt-sock should
> > be accessible and it's readable/writable by users in the root group, others
> > can't access it
> >
> > So your user needs to be in the root group too !
>
> That doesn’t seem right. This smells like a bug to me. Users shouldn’t
> ever need to be in the root group.
>
> Souldn't they ?
> I don't know
>
> All I can suggest is you reproduce the issue.
> Reconfigure your system with libvirt, install virt-manager in you profile, launch your virt-manager and see what
> happens
Not the original supplicant but reproduced the issue ;-) ...
libvirt installad in system ...
g1@g1 ~/src/guix/doc$ guix package -p /run/current-system/profile -I | grep virt
libvirt 4.0.0 out
/gnu/store/437rasdksqspz895bq087sg4vnwnif6x-libvirt-4.0.0
... virt-manager installed in profile ...
g1@g1 ~/src/guix/doc$ guix package -I | grep virt
virt-viewer 5.0 out /gnu/store/ybwlzdz1h37f0rgvxm5y0gbx94cfbk2x-virt-viewer-5.0
virt-manager 1.4.3 out /gnu/store/w0zzl85zvlc2jyg278b5dwggxrjpn2cy-virt-manager-1.4.3
vm_image created like this (config v1.scm attached) ...
cp -f $(guix system vm-image -M 4 -c 4 $VMDIR/v1.scm 2> $VMDIR/vm.log) $VMDIR/vm.img
I ran virt-manager and used the "Create a new virtual machine" dialogue
to select the image which produced this error ...
"Unable to complete install: 'Failed to connect socket to
'/var/run/libvirt/virtlogd-sock': No such file or directory'
... these details were available ...
Unable to complete install: 'Failed to connect socket to
'/var/run/libvirt/virtlogd-sock': No such file or directory'
Traceback (most recent call last):
File
"/gnu/store/w0zzl85zvlc2jyg278b5dwggxrjpn2cy-virt-manager-1.4.3/share/virt-manager/virtManager/asyncjob.py",
line 89, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File
"/gnu/store/w0zzl85zvlc2jyg278b5dwggxrjpn2cy-virt-manager-1.4.3/share/virt-manager/virtManager/create.py",
line 2545, in _do_async_install
guest.start_install(meter=meter)
File
"/gnu/store/w0zzl85zvlc2jyg278b5dwggxrjpn2cy-virt-manager-1.4.3/share/virt-manager/virtinst/guest.py",
line 498, in start_install
doboot, transient)
File
"/gnu/store/w0zzl85zvlc2jyg278b5dwggxrjpn2cy-virt-manager-1.4.3/share/virt-manager/virtinst/guest.py",
line 434, in _create_guest
domain = self.conn.createXML(install_xml or final_xml, 0)
File
"/gnu/store/pzvak4lzz9sws074chccyi8hq6inlcc3-python2-libvirt-3.7.0/lib/python2.7/site-packages/libvirt.py",
line 3659, in createXML
if ret is None:raise libvirtError('virDomainCreateXML() failed',
conn=self)
libvirtError: Failed to connect socket to
'/var/run/libvirt/virtlogd-sock': No such file or directory
... the console emmited ...
2018-02-06 02:27:44.781+0000: 1756: error :
virNetSocketNewConnectUNIX:714 : Failed to connect socket to
'/var/run/libvirt/virtlogd-sock': No such file or directory
2018-02-06 02:43:25.618+0000: 1756: error :
virNetSocketNewConnectUNIX:714 : Failed to connect socket to
'/var/run/libvirt/virtlogd-sock': Connection refused
... user is in root and libvert ...
g1@g1 ~$ groups
users root libvirt kvm wheel
... and the directory in question looks like ...
g1@g1 ~$ sudo ls -l /var/run/libvirt
Password:
total 24
drwxr-xr-x 2 root root 4096 Feb 5 19:36 hostdevmgr
srwxrwxrwx 1 root libvirt 0 Feb 5 19:36 libvirt-admin-sock
srwxrwx--- 1 root libvirt 0 Feb 5 19:36 libvirt-sock
srwxrwxrwx 1 root libvirt 0 Feb 5 19:36 libvirt-sock-ro
drwxr-xr-x 2 root root 4096 Feb 5 19:36 lxc
drwxr-xr-x 2 root root 4096 Feb 5 19:36 network
drwxr-xr-x 2 root root 4096 Feb 5 19:36 qemu
drwxr-xr-x 2 root root 4096 Feb 5 20:43 storage
drwxr-xr-x 2 root root 4096 Feb 5 19:36 uml-guest
g1@g1 ~$
TIA - George
[-- Attachment #2: v1.scm --]
[-- Type: application/octet-stream, Size: 2769 bytes --]
;;; ddd8 system config
;;; following http://paste.lisp.org/display/145436
;; add gnome ala /system/examples/desktop.tmpl to aba.scm
(use-modules (gnu))
(use-service-modules networking ssh spice)
(use-modules (gnu system nss))
(use-service-modules desktop)
(use-package-modules
gnome
base ; glibc-utf8-locales
admin
disk
linux ; mdadm
package-management ; guix
screen
ghostscript ; gs-fonts
fonts ; font-dejavu font-gnu-freefont-ttf
ssh ; openssh mosh
wget ; wget
version-control ; git
aspell ; aspell-dict-en
emacs ; emacs-no-x-toolkit
gv
autotools ; automake
texinfo
gettext
xorg certs ; nss-certs
graphviz
virtualization
ratpoison ; ratpoison
)
(operating-system
(host-name "ddd8")
(timezone "America/New_York")
(locale "en_US.utf8")
(bootloader (grub-configuration (target "/dev/sda")))
(file-systems (cons (file-system
(device "g1sd")
(title 'label)
(mount-point "/")
(type "ext4"))
%base-file-systems))
(users (cons*
(user-account
(name "g1")
(group "users")
(supplementary-groups '("wheel" "kvm"))
(home-directory "/home/g1"))
(user-account
(name "al")
(group "users")
(supplementary-groups '("wheel" "kvm"))
(home-directory "/home/al"))
%base-user-accounts))
(packages
(cons*
nss-certs ;for HTTPS access
gvfs ;for user mounts
glibc-utf8-locales
guix
screen
openssh nss-certs xauth mosh
git
gs-fonts font-dejavu font-gnu-freefont-ttf
aspell aspell-dict-en
emacs-no-x-toolkit
flycheck paredit magit gv
emacs-zenburn-theme emacs-markdown-mode emacs-web-mode
emacs-guix
gnu-make
texinfo
automake
graphviz
texinfo
automake
ratpoison
%base-packages))
(services (cons*
;; (dhcp-client-service)
;; Ethernet.
;; (static-networking-service "eth0" "192.168.1.138"
;; #:gateway "192.168.1.1"
;; #:name-servers '("192.168.1.1"))
(spice-vdagent-service)
(gnome-desktop-service)
;; Add GNOME and/or Xfce---we can choose at the log-in
;; screen with F1. Use the "desktop" services, which
;; include the X11 log-in service, networking with Wicd,
;; and more.
(service openssh-service-type
(openssh-configuration
(x11-forwarding? #t)
(permit-root-login #t)
(authorized-keys
`(
("g1" ,(local-file "glc.pub"))
("root" ,(local-file "glc.pub"))))))
%desktop-services))
;; Allow resolution of '.local' host names with mDNS.
(name-service-switch %mdns-host-lookup-nss))
^ permalink raw reply [flat|nested] 22+ messages in thread
* libvirt
@ 2018-05-30 11:34 Catonano
2018-05-30 11:35 ` libvirt Catonano
2018-05-30 14:06 ` libvirt Ricardo Wurmus
0 siblings, 2 replies; 22+ messages in thread
From: Catonano @ 2018-05-30 11:34 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 371 bytes --]
in attempting to install Ubuntu Xenial in a vm with Virtual machine Manager
and I get this
Impossibile completare l'installazione: 'Failed to connect socket to
'/var/run/libvirt/virtlogd-sock': No such file or directory'
~$ sudo ls /var/run/libvirt/
hostdevmgr libvirt-sock lxc qemu uml-guest
libvirt-admin-sock libvirt-sock-ro network storage
[-- Attachment #2: Type: text/html, Size: 467 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: libvirt
2018-05-30 11:34 libvirt Catonano
@ 2018-05-30 11:35 ` Catonano
2018-05-30 11:56 ` libvirt Catonano
2018-05-30 14:06 ` libvirt Ricardo Wurmus
1 sibling, 1 reply; 22+ messages in thread
From: Catonano @ 2018-05-30 11:35 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 47 bytes --]
i forgot: my user is in the root group already
[-- Attachment #2: Type: text/html, Size: 107 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: libvirt
2018-05-30 11:35 ` libvirt Catonano
@ 2018-05-30 11:56 ` Catonano
0 siblings, 0 replies; 22+ messages in thread
From: Catonano @ 2018-05-30 11:56 UTC (permalink / raw)
To: help-guix
[-- Attachment #1: Type: text/plain, Size: 1102 bytes --]
there's a traceback too
Traceback (most recent call last):
File
"/gnu/store/9249f4q5bn140h1wmi2hnj4jisa7szn6-virt-manager-1.5.1/share/virt-manager/virtManager/asyncjob.py",
line 89, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File
"/gnu/store/9249f4q5bn140h1wmi2hnj4jisa7szn6-virt-manager-1.5.1/share/virt-manager/virtManager/create.py",
line 2553, in _do_async_install
guest.start_install(meter=meter)
File
"/gnu/store/9249f4q5bn140h1wmi2hnj4jisa7szn6-virt-manager-1.5.1/share/virt-manager/virtinst/guest.py",
line 498, in start_install
doboot, transient)
File
"/gnu/store/9249f4q5bn140h1wmi2hnj4jisa7szn6-virt-manager-1.5.1/share/virt-manager/virtinst/guest.py",
line 434, in _create_guest
domain = self.conn.createXML(install_xml or final_xml, 0)
File
"/gnu/store/qz7qc7ilfg5pl5s63fpglq8jnvs748yl-python2-libvirt-4.1.0/lib/python2.7/site-packages/libvirt.py",
line 3659, in createXML
if ret is None:raise libvirtError('virDomainCreateXML() failed',
conn=self)
libvirtError: Failed to connect socket to '/var/run/libvirt/virtlogd-sock':
No such file or directory
[-- Attachment #2: Type: text/html, Size: 1296 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: libvirt
2018-05-30 11:34 libvirt Catonano
2018-05-30 11:35 ` libvirt Catonano
@ 2018-05-30 14:06 ` Ricardo Wurmus
2018-05-30 14:26 ` libvirt Catonano
1 sibling, 1 reply; 22+ messages in thread
From: Ricardo Wurmus @ 2018-05-30 14:06 UTC (permalink / raw)
To: Catonano; +Cc: help-guix
Catonano <catonano@gmail.com> writes:
> in attempting to install Ubuntu Xenial in a vm with Virtual machine Manager
> and I get this
>
> Impossibile completare l'installazione: 'Failed to connect socket to
> '/var/run/libvirt/virtlogd-sock': No such file or directory'
Looks like you need to start virtlogd first.
Is this part of the installation of libvirt?
--
Ricardo
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: libvirt
2018-05-30 14:06 ` libvirt Ricardo Wurmus
@ 2018-05-30 14:26 ` Catonano
2018-05-30 19:52 ` libvirt Ricardo Wurmus
0 siblings, 1 reply; 22+ messages in thread
From: Catonano @ 2018-05-30 14:26 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 747 bytes --]
2018-05-30 16:06 GMT+02:00 Ricardo Wurmus <rekado@elephly.net>:
>
> Catonano <catonano@gmail.com> writes:
>
> > in attempting to install Ubuntu Xenial in a vm with Virtual machine
> Manager
> > and I get this
> >
> > Impossibile completare l'installazione: 'Failed to connect socket to
> > '/var/run/libvirt/virtlogd-sock': No such file or directory'
>
> Looks like you need to start virtlogd first.
>
I have this among the services in my configuration
(service libvirt-service-type)
I see now that probably also
(service virtlog-service-type)
should be present
Should it ?
> Is this part of the installation of libvirt?
>
I'm not sure I understand thhe question
I assumed that the libvirt service in my configuration was enough
Thanks
[-- Attachment #2: Type: text/html, Size: 1554 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: libvirt
2018-05-30 14:26 ` libvirt Catonano
@ 2018-05-30 19:52 ` Ricardo Wurmus
2018-05-31 6:26 ` libvirt Catonano
0 siblings, 1 reply; 22+ messages in thread
From: Ricardo Wurmus @ 2018-05-30 19:52 UTC (permalink / raw)
To: Catonano; +Cc: help-guix
Hi Catonano,
> 2018-05-30 16:06 GMT+02:00 Ricardo Wurmus <rekado@elephly.net>:
>
>>
>> Catonano <catonano@gmail.com> writes:
>>
>> > in attempting to install Ubuntu Xenial in a vm with Virtual machine
>> Manager
>> > and I get this
>> >
>> > Impossibile completare l'installazione: 'Failed to connect socket to
>> > '/var/run/libvirt/virtlogd-sock': No such file or directory'
>>
>> Looks like you need to start virtlogd first.
>>
>
> I have this among the services in my configuration
>
> (service libvirt-service-type)
>
> I see now that probably also
>
> (service virtlog-service-type)
>
> should be present
>
> Should it ?
There does not seem to be a service type for this. Maybe it should be
added.
>> Is this part of the installation of libvirt?
>>
>
> I'm not sure I understand thhe question
> I assumed that the libvirt service in my configuration was enough
That’s what I assumed too. I used libvirt before on Fedora but had not
noticed virtlogd.
--
Ricardo
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: libvirt
2018-05-30 19:52 ` libvirt Ricardo Wurmus
@ 2018-05-31 6:26 ` Catonano
2018-05-31 6:59 ` libvirt Catonano
0 siblings, 1 reply; 22+ messages in thread
From: Catonano @ 2018-05-31 6:26 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 1321 bytes --]
2018-05-30 21:52 GMT+02:00 Ricardo Wurmus <rekado@elephly.net>:
>
> Hi Catonano,
>
> > 2018-05-30 16:06 GMT+02:00 Ricardo Wurmus <rekado@elephly.net>:
> >
> >>
> >> Catonano <catonano@gmail.com> writes:
> >>
> >> > in attempting to install Ubuntu Xenial in a vm with Virtual machine
> >> Manager
> >> > and I get this
> >> >
> >> > Impossibile completare l'installazione: 'Failed to connect socket to
> >> > '/var/run/libvirt/virtlogd-sock': No such file or directory'
> >>
> >> Looks like you need to start virtlogd first.
> >>
> >
> > I have this among the services in my configuration
> >
> > (service libvirt-service-type)
> >
> > I see now that probably also
> >
> > (service virtlog-service-type)
> >
> > should be present
> >
> > Should it ?
>
> There does not seem to be a service type for this. Maybe it should be
> added.
>
> >> Is this part of the installation of libvirt?
> >>
> >
> > I'm not sure I understand thhe question
> > I assumed that the libvirt service in my configuration was enough
>
> That’s what I assumed too. I used libvirt before on Fedora but had not
> noticed virtlogd.
>
> --
> Ricardo
>
>
There's a virtlog service in gnu/services/virtualizzation.scm
The manual mentions it too
I'm reconfiguring right now, I'll let you know
[-- Attachment #2: Type: text/html, Size: 2196 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: libvirt
2018-05-31 6:26 ` libvirt Catonano
@ 2018-05-31 6:59 ` Catonano
2018-06-03 8:51 ` libvirt Christopher Baines
0 siblings, 1 reply; 22+ messages in thread
From: Catonano @ 2018-05-31 6:59 UTC (permalink / raw)
To: Ricardo Wurmus; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 358 bytes --]
2018-05-31 8:26 GMT+02:00 Catonano <catonano@gmail.com>:
>
> There's a virtlog service in gnu/services/virtualizzation.scm
>
> The manual mentions it too
>
> I'm reconfiguring right now, I'll let you know
>
Ok, now it works
The problem is, now, that the virtual machine seems to be off line
How do I set it up ?
Maybe this is more about virt-manager ?
[-- Attachment #2: Type: text/html, Size: 1067 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: libvirt
2018-05-31 6:59 ` libvirt Catonano
@ 2018-06-03 8:51 ` Christopher Baines
2018-06-04 14:45 ` libvirt Catonano
0 siblings, 1 reply; 22+ messages in thread
From: Christopher Baines @ 2018-06-03 8:51 UTC (permalink / raw)
To: Catonano; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 857 bytes --]
Catonano <catonano@gmail.com> writes:
> 2018-05-31 8:26 GMT+02:00 Catonano <catonano@gmail.com>:
>
>>
>> There's a virtlog service in gnu/services/virtualizzation.scm
>>
>> The manual mentions it too
>>
>> I'm reconfiguring right now, I'll let you know
>>
>
>
> Ok, now it works
>
> The problem is, now, that the virtual machine seems to be off line
>
> How do I set it up ?
>
> Maybe this is more about virt-manager ?
virt-manager has a way to create networks, I have one called
"vm_network" which uses NAT, I think that might be a default thing, and
it seems to work.
When you create a virtual machine, you should be able to select to use a
network. If I look at an existing machine I have, I see a "NIC ..."
device, which uses the "vm_network".
If you've got all this, it could be that the networking isn't getting
started in the virtual machine...
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: libvirt
2018-06-03 8:51 ` libvirt Christopher Baines
@ 2018-06-04 14:45 ` Catonano
2018-06-04 19:56 ` libvirt Christopher Baines
0 siblings, 1 reply; 22+ messages in thread
From: Catonano @ 2018-06-04 14:45 UTC (permalink / raw)
To: Christopher Baines; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 981 bytes --]
Chris,
2018-06-03 10:51 GMT+02:00 Christopher Baines <mail@cbaines.net>:
> virt-manager has a way to create networks, I have one called
> "vm_network" which uses NAT, I think that might be a default thing, and
> it seems to work.
>
> When you create a virtual machine, you should be able to select to use a
> network. If I look at an existing machine I have, I see a "NIC ..."
> device, which uses the "vm_network".
>
> If you've got all this, it could be that the networking isn't getting
> started in the virtual machine...
>
I discovered that virt-manager has a "connection settings" section and a
"virtual machine details" section
I fumbled with the 2 and somehow I stumbled into a working configuration,
also along the lines of your suggestions
So now I have a working Ubuntu Xenial installation inside a virtual machine
I'm not sure I'd be able to reproduce this configuration, should I want to
but I guess I have to live with that
It's a progress anyway
Thank you
[-- Attachment #2: Type: text/html, Size: 1668 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: libvirt
2018-06-04 14:45 ` libvirt Catonano
@ 2018-06-04 19:56 ` Christopher Baines
0 siblings, 0 replies; 22+ messages in thread
From: Christopher Baines @ 2018-06-04 19:56 UTC (permalink / raw)
To: Catonano; +Cc: help-guix
[-- Attachment #1: Type: text/plain, Size: 1095 bytes --]
Catonano <catonano@gmail.com> writes:
> 2018-06-03 10:51 GMT+02:00 Christopher Baines <mail@cbaines.net>:
>
>
>> virt-manager has a way to create networks, I have one called
>> "vm_network" which uses NAT, I think that might be a default thing, and
>> it seems to work.
>>
>> When you create a virtual machine, you should be able to select to use a
>> network. If I look at an existing machine I have, I see a "NIC ..."
>> device, which uses the "vm_network".
>>
>> If you've got all this, it could be that the networking isn't getting
>> started in the virtual machine...
>>
>
> I discovered that virt-manager has a "connection settings" section and a
> "virtual machine details" section
>
> I fumbled with the 2 and somehow I stumbled into a working configuration,
> also along the lines of your suggestions
>
> So now I have a working Ubuntu Xenial installation inside a virtual machine
>
> I'm not sure I'd be able to reproduce this configuration, should I want to
> but I guess I have to live with that
>
> It's a progress anyway
>
> Thank you
Great, I'm glad you're making progress :)
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 962 bytes --]
^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2018-06-04 19:57 UTC | newest]
Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-30 11:34 libvirt Catonano
2018-05-30 11:35 ` libvirt Catonano
2018-05-30 11:56 ` libvirt Catonano
2018-05-30 14:06 ` libvirt Ricardo Wurmus
2018-05-30 14:26 ` libvirt Catonano
2018-05-30 19:52 ` libvirt Ricardo Wurmus
2018-05-31 6:26 ` libvirt Catonano
2018-05-31 6:59 ` libvirt Catonano
2018-06-03 8:51 ` libvirt Christopher Baines
2018-06-04 14:45 ` libvirt Catonano
2018-06-04 19:56 ` libvirt Christopher Baines
-- strict thread matches above, loose matches on Subject: below --
2017-12-12 8:03 libvirt Catonano
2017-12-12 14:56 ` libvirt Ricardo Wurmus
2017-12-12 16:46 ` libvirt Catonano
2017-12-12 17:51 ` libvirt Catonano
2017-12-12 17:59 ` libvirt Catonano
2017-12-18 18:48 ` libvirt Christopher Baines
2017-12-18 22:13 ` libvirt Catonano
2017-12-31 8:51 ` libvirt Catonano
2017-12-31 17:36 ` libvirt Ricardo Wurmus
2017-12-31 17:40 ` libvirt Catonano
2018-02-06 3:02 ` libvirt myglc2
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.