It’s a long shot but was the disk purged or you reused an old disk with some 
leftovers on it?
I’ve seen weird python errors similar to these ones (unfortunately I didn’t 
keep traces to compare) in some linux distribution during the installation if I 
had a “dirty disk”. 
And zKVM seems to be just another linux system. 
Redhat was really bad about this. It just didn’t like dirty disks even if it 
claimed that it will format them (especially minidisks which just overlapped 
older bigger minidisks in the past so just trash without a real partition 
table). 
In your trace, the error happens just one second after “formatting disks…” 
message. There is no way it would have enough time to finish format. 
So that’s why I popped into my mind. 
I would try to format it with ickdsf or cpfmtxa before running install, just in 
case. 

Gregory Powiedziuk




> On Oct 5, 2015, at 11:11 AM, Ray Mansell <r...@mansell.org> wrote:
> 
> I'm trying to install zKVM in a virtual machine, but no matter what
> installation options I choose, I always get the following error:
> 
> 2015-10-03 14:39:40,900 - controller.controller - INFO - InstallProgress
> screen
> 2015-10-03 14:39:40,901 - controller.controller - INFO - Formatting disks...
> 2015-10-03 14:39:40,901 - controller.controller - INFO - Installing KVM
> for IBM z into disk dasda...
> 2015-10-03 14:39:41,041 - model.installfunctions - INFO - Get repodata_file
> 2015-10-03 14:39:41,088 - model.installfunctions - CRITICAL - Failed
> installSystem
> 2015-10-03 14:39:41,089 - model.installfunctions - CRITICAL -
> EXCEPTION:<type 'exceptions.UnboundLocalError'>
> 2015-10-03 14:39:41,089 - model.installfunctions - CRITICAL - local
> variable 's' referenced before assignment
> 2015-10-03 14:39:41,089 - model.installfunctions - CRITICAL -
> Stacktrace:Traceback (most recent call last):
> File "/opt/ibm/kvmibm-installer/model/installfunctions.py", line 357,
> in installSystem
>   installPackages(rootDir, callback)
> File "/opt/ibm/kvmibm-installer/model/installfunctions.py", line 749,
> in installPackages
>   repodata_file = getRepodataFile(repo, logger)
> File "/opt/ibm/kvmibm-installer/model/installfunctions.py", line 548,
> in getRepodataFile
>   d = re.split('([\d\w]+-primary.sqlite.bz2)', s)
> UnboundLocalError: local variable 's' referenced before assignment
> 
> 2015-10-03 14:39:41,095 - controller.controller - CRITICAL - ZKVMError:
> [['KVMIBMIN70500', 'Error while installing packages.'], ('INSTALLER',
> 'INSTALLSYSTEM', 'INSTALL_MSG')]
> 
> Help? Please?
> 
> Ray...
> 
> ----------------------------------------------------------------------
> For LINUX-390 subscribe / signoff / archive access instructions,
> send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
> http://www.marist.edu/htbin/wlvindex?LINUX-390
> ----------------------------------------------------------------------
> For more information on Linux on System z, visit
> http://wiki.linuxvm.org/

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to