[SOLVED]Error in virt-manager

Issues related to applications and software problems
Post Reply
machadommm
Posts: 5
Joined: 2017/03/22 15:35:15

[SOLVED]Error in virt-manager

Post by machadommm » 2017/05/18 21:17:14

Hi Everyone,

I am facing a error when I create a new VM using virt-manager (GUI).

Follow the error:

Uncaught error validating install parameters: unsupported operand type(s) for +=: 'NoneType' and 'str'

Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/create.py", line 1697, in _validate
return self._validate_storage_page()
File "/usr/share/virt-manager/virtManager/create.py", line 1981, in _validate_storage_page
if disk and self._addstorage.validate_disk_object(disk) is False:
File "/usr/share/virt-manager/virtManager/addstorage.py", line 297, in validate_disk_object
names = disk.is_conflict_disk()
File "/usr/share/virt-manager/virtinst/devicedisk.py", line 933, in is_conflict_disk
read_only=self.read_only)
File "/usr/share/virt-manager/virtinst/devicedisk.py", line 360, in path_in_use_by
if disk.path in vols and vm.name not in ret:
File "/usr/share/virt-manager/virtinst/devicedisk.py", line 498, in _get_path
self._set_default_storage_backend()
File "/usr/share/virt-manager/virtinst/devicedisk.py", line 775, in _set_default_storage_backend
path = self._build_url_from_network_source()
File "/usr/share/virt-manager/virtinst/devicedisk.py", line 646, in _build_url_from_network_source
ret += "://"
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'str'

My host is using:
Centos 7 (1511 updated)
XFCE Desktop
GlusterFS 3.10

I am trying to install a Centos 7 guest.

Any help I apreciated

Machado
Screen error
Screen error
virtmanagererror.png (87.43 KiB) Viewed 1476 times
Last edited by machadommm on 2017/05/23 12:10:08, edited 1 time in total.

machadommm
Posts: 5
Joined: 2017/03/22 15:35:15

Re: Error in virt-manager

Post by machadommm » 2017/05/21 14:53:35

Hi Everyone,

After deeply research I found the problem is the IDE CDROM hardware installed in VM configuration xml.

I deleted the IDE CDROM and the VIRT-MANAGER back to work again.

If you use SATA option the erro don´t occur.

By default, virt-manager create the CDROM like IDE.

Cheers,

Config using IDE
image1.png
image1.png (93.59 KiB) Viewed 1450 times
Change to SATA the error stoped
image2.png
image2.png (84.53 KiB) Viewed 1450 times

bertalanimre
Posts: 140
Joined: 2015/06/02 13:04:03

Re: Error in virt-manager

Post by bertalanimre » 2017/05/22 07:16:52

I'm glad you have found the issue yourself. It is strange tho why would it fail with IDE CDROM, it should do this on very specialized hardware or chipset I think.

Please mark your topic as [SOLVED]

Post Reply