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
[SOLVED]Error in virt-manager
-
- Posts: 5
- Joined: 2017/03/22 15:35:15
[SOLVED]Error in virt-manager
Last edited by machadommm on 2017/05/23 12:10:08, edited 1 time in total.
-
- Posts: 5
- Joined: 2017/03/22 15:35:15
Re: Error in virt-manager
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 Change to SATA the error stoped
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 Change to SATA the error stoped
-
- Posts: 140
- Joined: 2015/06/02 13:04:03
Re: Error in virt-manager
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]
Please mark your topic as [SOLVED]