Is TLS required for the usage of Spice with KVM/libvirtd? I've been through the virt-install manpage a few times now to no avail. What is wrong with my syntax here (seen below)? Thanks. ~]# virt-install --connect qemu:///system -n blahhost -r2048 --vcpus=4 --arch=x86_64 --video qxl --graphics spice,port=5931 --noautoconsole --os-type linux --accelerate --network=bridge:kickstart_br0 --hvm --disk path=/dev/vmdisks/fedora-test2,bus=virtio --cdrom /tmp/fedora.iso Starting install... ERROR unsupported configuration: Auto allocation of spice TLS port requested but spice TLS is disabled in qemu.conf Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect qemu:///system start blahhost otherwise, please restart your installation. -- ---~~.~~--- Mike // SilverTip257 //
Александр Кириллов
2015-Sep-02 17:35 UTC
[CentOS] virt-install message regarding Spice and TLS
> Is TLS required for the usage of Spice with KVM/libvirtd?No. I had a similar problem several years back and ended up manually removing tlsPort= from /etc/libvirt/qemu/xxx.xml
Leonard den Ottolander
2015-Sep-02 17:59 UTC
[CentOS] virt-install message regarding Spice and TLS
Hello Mike, On Wed, 2015-09-02 at 13:05 -0400, Mike - st257 wrote:> I've been through the virt-install manpage a few times now to no avail. > What is wrong with my syntax here (seen below)?> ~]# virt-install --connect qemu:///system -n blahhost -r2048 --vcpus=4 > --arch=x86_64 --video qxl --graphics spice,port=5931 --noautoconsole > --os-type linux --accelerate --network=bridge:kickstart_br0 --hvm --disk > path=/dev/vmdisks/fedora-test2,bus=virtio --cdrom /tmp/fedora.isoSee if adding tlsport=0 to the --graphics option fixes your problem? --graphics spice,port=5931,tlsport=0 Compare http://www.spice-space.org/page/Features/Xspice#--tls-port_0_required Regards, Leonard. -- mount -t life -o ro /dev/dna /genetic/research
On Wed, Sep 2, 2015 at 1:59 PM, Leonard den Ottolander < leonard at den.ottolander.nl> wrote:> Hello Mike, > > On Wed, 2015-09-02 at 13:05 -0400, Mike - st257 wrote: > > I've been through the virt-install manpage a few times now to no avail. > > What is wrong with my syntax here (seen below)? > > > ~]# virt-install --connect qemu:///system -n blahhost -r2048 --vcpus=4 > > --arch=x86_64 --video qxl --graphics spice,port=5931 --noautoconsole > > --os-type linux --accelerate --network=bridge:kickstart_br0 --hvm --disk > > path=/dev/vmdisks/fedora-test2,bus=virtio --cdrom /tmp/fedora.iso > >To also reply to nevis2us: I have the Spice TLS config commented presently so it is not active (afaik). At one point I did try switching the value from 1 to 0 when I did have it uncommented.> See if adding tlsport=0 to the --graphics option fixes your problem? > > --graphics spice,port=5931,tlsport=0 >I did try that before (though didn't note it in my first message). ERROR Error in graphics device parameters: TLS port must be a number between 5900 and 65535, or -1 for auto allocation ~]# cat /etc/redhat-release CentOS release 6.7 (Final) ~]# yum info libvirt | egrep 'Name|Version|Release' Name : libvirt Version : 0.10.2 Release : 54.el6> > Compare > http://www.spice-space.org/page/Features/Xspice#--tls-port_0_required >Any other thoughts? :-/ I can't be the only person that wants to use Spice with out TLS for some testing/labbing. ;-) Thanks! -- ---~~.~~--- Mike // SilverTip257 //