On Mon, 5 Oct 2015 11:11:40 -0400
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,

make sure you have copied the repodata folder from the installation image to
your ftp server. Should have the following files:

$ ls -Rl ./repodata
./repodata:
total 2284
-rw------- 1 mimu mimu 410546 Aug  6 12:11
1071bedb0b7dba6b8ed2fae387116e3f2b8160544d2abdad5411fbe8f737ff63-filelists.xml.gz
-rw------- 1 mimu mimu  14151 Aug  6 12:11
3a456231834ea9d32d6a7525ff38fe6246932c2a14d8df1b6cf75b810dc09545-KVMIBM-1.1.0-20150806-comps.xml
-rw------- 1 mimu mimu 517316 Aug  6 12:11
655cf5993b0a15383cfe5224bf2db4d95b3cba0539c3075e5fc57c3cd08ab40e-filelists.sqlite.bz2
-rw------- 1 mimu mimu 771729 Aug  6 12:11
836db89a0f5c266ea3b34d070a26cad34ad39db91a416081bcda615bb8605324-primary.sqlite.bz2
-rw------- 1 mimu mimu  76579 Aug  6 12:11
9fe8a5082cbb90e961d5e597ad6993c6a1f35035bf918b57b3fe1bba822550b8-other.xml.gz
-rw------- 1 mimu mimu  96919 Aug  6 12:11
b08023e34c172ac98447cf816543a2a02d0f9819d29cc40d375e02b37c8d6ce5-other.sqlite.bz2
-rw------- 1 mimu mimu   1706 Aug  6 12:11
d5e91197cddcab057566c403de6c1a71e3e56cec91bc95006c5dde1a69ffcba7-KVMIBM-1.1.0-20150806-comps.xml.gz
-rw------- 1 mimu mimu 398232 Aug  6 12:11
f410070319c7a1fbb90a37e20f85064390db0112a0ceb34f8c84ef4f866e5e4e-primary.xml.gz
-rw------- 1 mimu mimu   3740 Aug  6 12:11 repomd.xml
-r-------- 1 mimu mimu   2599 Aug  6 12:16 TRANS.TBL

By moving them away I can reproduce the error message.

Michael

>
> 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