It looks  like a kickstart error.
Maybe a parameter in the kickstart is missing  ?

Best Regards,
Strahil NikolovOn Jul 23, 2019 09:08, Yedidyah Bar David <d...@redhat.com> 
wrote:
>
> On Mon, Jul 22, 2019 at 11:53 PM Jingjie Jiang <jingjie.ji...@oracle.com> 
> wrote:
>>
>> Hi David,
>
>
> (Actually it's "Yedidyah" or "Didi")
>  
>>
>> Thanks for your info.
>>
>> Please check my reply inline.
>>
>>
>> -Jingjie
>>
>> On 7/16/19 3:55 AM, Yedidyah Bar David wrote:
>>>
>>> On Thu, Jul 11, 2019 at 10:46 PM <jingjie.ji...@oracle.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> Can someone tell me how to generate  ovirt-engine-appliance ova file in 
>>>> ovirt-engine-appliance-4.3-20190610.1.el7.x86_64.rpm?
>>>>
>>> You might want to check the project's source code:
>>>
>>>
>>>
>>> https://github.com/ovirt/ovirt-appliance/
>>>
>>>
>>>
>>> Or study the logs of a CI build of it:
>>>
>>>
>>>
>>> https://jenkins.ovirt.org/job/ovirt-appliance_master_build-artifacts-el7-x86_64/
>>>
>>>
>>>
>>> I never tried building it myself locally, though.
>>
>> I tried to build after checked out the source code from 
>> https://github.com/ovirt/ovirt-appliance/,
>>
>> but the build failed.
>>
>> # make
>> livemedia-creator --make-disk --ram=2048 --vcpus=4 --iso=boot.iso 
>> --ks=ovirt-engine-appliance.ks --qcow2 
>> --image-name=ovirt-engine-appliance.qcow2
>> 2019-07-22 12:34:00,095: livemedia-creator 19.7.19-1
>> 2019-07-22 12:34:00,154: disk_size = 51GiB
>> 2019-07-22 12:34:00,154: disk_img = /var/tmp/ovirt-engine-appliance.qcow2
>> 2019-07-22 12:34:00,154: install_log = 
>> /root/ovirt/ovirt-appliance/engine-appliance/virt-install.log
>> mount: /dev/loop0 is write-protected, mounting read-only
>> Formatting '/var/tmp/ovirt-engine-appliance.qcow2', fmt=qcow2 
>> size=54760833024 encryption=off cluster_size=65536 lazy_refcounts=off 
>> 2019-07-22 12:34:10,195: Running virt-install.
>>
>> Starting install...
>> Retrieving file vmlinuz...                                  | 6.3 MB  00:00  
>>    
>> Retrieving file initrd.img...                               |  50 MB  00:00  
>>    
>> Domain installation still in progress. You can reconnect to 
>> the console to complete the installation process.
>> ......
>> 2019-07-22 12:35:15,281: Installation error detected. See logfile.
>> 2019-07-22 12:35:15,283: Shutting down 
>> LiveOS-27f2dc2b-4b30-4eb1-adcd-b5ab50fdbf55
>> Domain LiveOS-27f2dc2b-4b30-4eb1-adcd-b5ab50fdbf55 destroyed
>>
>> Domain LiveOS-27f2dc2b-4b30-4eb1-adcd-b5ab50fdbf55 has been undefined
>>
>> 2019-07-22 12:35:15,599: unmounting the iso
>> 2019-07-22 12:35:20,612: Install failed: virt_install failed
>> 2019-07-22 12:35:20,613: Removing bad disk image
>> 2019-07-22 12:35:20,613: virt_install failed
>> make: *** [ovirt-engine-appliance.qcow2] Error 1
>>
>> In the log I found the error as following from virt-install.log:
>>
>> 16:35:07,472 ERR anaconda:CmdlineError: The following mandatory spokes are 
>> not completed:#012Installation source#012Software selection
>> 16:35:07,472 DEBUG anaconda:running handleException
>> 16:35:07,473 CRIT anaconda:Traceback (most recent call last):#012#012  File 
>> "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/simpleline/base.py", 
>> line 352, in _mainloop#012    prompt = 
>> last_screen.prompt(self._screens[-1][1])#012#012  File 
>> "/usr/lib64/python2.7/site-packages/pyanaconda/ui/tui/hubs/summary.py", line 
>> 107, in prompt#012    raise CmdlineError(errtxt)#012#012CmdlineError: The 
>> following mandatory spokes are not completed:#012Installation 
>> source#012Software selection
>> 16:35:08,020 DEBUG anaconda:Gtk cannot be initialized
>> 16:35:08,020 DEBUG anaconda:In the main thread, running exception handler
>> 16:35:08,386 NOTICE multipathd:zram0: add path (uevent)
>> 16:35:08,386 NOTICE multipathd:zram0: spurious uevent, path already in 
>> pathvec
>> 16:35:08,386 NOTICE multipathd:zram0: HDIO_GETGEO failed with 25
>> 16:35:08,386 ERR multipathd:zram0: failed to get path uid
>> 16:35:08,388 ERR multipathd:uevent trigger error
>>
>> Can you help me to fix the issue?
>
>
> Sorry, I never tried to build it myself, nor have experience with 
> livemedia-creator. As I wrote above, I suggest to compare your output/result 
> with that of oVirt CI. Otherwise, I'd probably start debugging by searching 
> the net for the error messages you received.
>
> Good luck and best regards,
>  
>>
>>
>>>> I tried to import ovirt-engine-appliance 
>>>> ova(ovirt-engine-appliance-4.3-20190610.1.el7.ova) from ovirt-engine, but 
>>>> I got error as following:
>>>>
>>>> Failed to load VM configuration from OVA file: 
>>>> /var/tmp/ovirt-engine-appliance-4.2-20190121.1.el7.ova
>>>>
>>> No idea why this failed.
>>>
>>>
>>>
>>>> I guess ovirt-engine-appliance-4.2-20190121.1.el7.ova has more than 
>>>> CentOS7.6.
>>>>
>>> It has CentOS + oVirt engine.
>>>
>>>
>>>
>>> The only major use for it is by hosted-engine --deploy. In theory you
>>>
>>> can try importing it elsewhere, but I do not recall reports about
>>>
>>> people that tried this and whether it works.
>>>
>>>
>>>
>>> Best regards,
>>>
>
>
> -- 
> Didi
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HWFT6JSA4HI7VOZ5T3PZT7MIN6LKBS5R/

Reply via email to