Created attachment 1151769 [details] kickstart file Description of problem: "'NoneType' object has no attribute 'addtag'" prompt during installation with kickstart file. Version-Release number of selected component (if applicable): rhev-hypervisor7-ng-3.6-20160426.0.x86_64 imgbased-0.6-0.1.el7ev.noarch How reproducible: 100% Steps to Reproduce: 1. Automatic install machine with kickstart file in attachment key kickstart script: part pv.01 --size=10000 --ondisk=/dev/sda part pv.02 --size=15000 --ondisk=/dev/sda part /boot --size=4300 --ondisk=/dev/sda volgroup testgroup pv.01 pv.02 logvol / --vgname=testgroup --size=4300 --name=root logvol swap --vgname=testgroup --size=1024 --name=swap logvol /data --vgname=testgroup --size=4300 --name=data %post --erroronfail imgbase layout --init imgbase --experimental volume --create /var 1G %end 2. During installation, error prompt Actual results: During installation, error prompt Expected results: Automatic installation is successful, and imgbase is used on lvm Additional info:
Created attachment 1151770 [details] log image1
Created attachment 1151771 [details] log image2
Created attachment 1151772 [details] log image3
Created attachment 1151774 [details] log image4
It is required that you are creating an LVM setup with a thin pool. Please re-test this. I'll modify this bug, to enhance imgbased to raise a meaningful error.
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.
Could you please attach the patch info, so that we could better understand the solution of this bug.
Test Version: redhat-virtualization-host-4.1-0.20170104.0 imgbased-0.9.2-0.1.el7ev.noarch Test Steps: 1. Prepare kickstart file to install RHVH 4.1 in text mode, configure autopart --type=lvm 2. Install RHVH 4.1 with kickstart file generated in step1. Test Results: There is error message printed on the screen saying: [ERROR] LVM Thin Provisioning partitioning scheme is required. For autoinstall via Kickstart with LVM Thin Provisioning check options: --thinpool and --growPlease consult documentation for details There is friendly message when no thin pool in kickstart file, so change this RFE's status to VERIFIED.