Creating UEFI machine throws exception in virt-manager
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virt-manager (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
1. Install UEFI: apt-get install ovmf
2. Create machine in virt-manager, check customize configuration before install
3. Click overview, for "firmware" choose "uefi", click apply
Following exception has occured:
'NoneType' object has no attribute 'rfind'
Traceback (most recent call last):
File "/usr/share/
ret = self.config_
File "/usr/share/
self.
File "/usr/share/
new_nvram, old_nvram = self._copy_
File "/usr/share/
nvram_dir = os.path.
File "/usr/lib/
i = p.rfind('/') + 1
AttributeError: 'NoneType' object has no attribute 'rfind'
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: virt-manager 1:1.5.1-0ubuntu1
ProcVersionSign
Uname: Linux 4.18.0-13-generic x86_64
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Feb 16 00:38:24 2019
InstallationDate: Installed on 2018-09-22 (146 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=cs_CZ.UTF-8
SHELL=/bin/bash
SourcePackage: virt-manager
UpgradeStatus: Upgraded to bionic on 2019-01-16 (30 days ago)
Same bug in RHEL: https:/ /bugzilla. redhat. com/show_ bug.cgi? id=1667308