Cannot rebuild RHEV-H ISO with edit-node. Version-Release number of selected component (if applicable): RHEL 7.2 ovirt-node-tools-3.2.3-30.el7.noarch kernel-3.10.0-327.4.5.el7.x86_64 How reproducible: Always on that machine Steps to Reproduce: 1. Following instructions available here to update RHEV-H iso with updated vdsm version: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5/html/Installation_Guide/sect-Modifying_the_Red_Hat_Enterprise_Virtualization_Hypervisor_ISO.html 2. Run the command: # edit-node --nogpgcheck --install vdsm --repo ./vdsmrepo/ /usr/share/rhev-hypervisor/rhevh-7.2-20160105.1.el7ev.iso Actual results: Build fails with the following trace: ~~~ # edit-node --nogpgcheck --install vdsm --repo ./vdsmrepo/ /usr/share/rhev-hypervisor/rhevh-7.2-20160105.1.el7ev.iso Traceback (most recent call last): File "/usr/sbin/edit-node", line 36, in <module> from imgcreate.debug import * File "/usr/lib/python2.7/site-packages/imgcreate/__init__.py", line 19, in <module> from imgcreate.live import * File "/usr/lib/python2.7/site-packages/imgcreate/live.py", line 30, in <module> from imgcreate.creator import * File "/usr/lib/python2.7/site-packages/imgcreate/creator.py", line 34, in <module> from imgcreate.yuminst import * File "/usr/lib/python2.7/site-packages/imgcreate/yuminst.py", line 48, in <module> class LiveCDYum(yum.YumBase): File "/usr/lib/python2.7/site-packages/imgcreate/yuminst.py", line 139, in LiveCDYum def selectGroup(self, grp, include = pykickstart.parser.GROUP_DEFAULT): AttributeError: 'module' object has no attribute 'GROUP_DEFAULT' ~~~ Expected results: Build should succeed. Additional info: Downgrading pykickstart-1.99.66.6-1.el7.noarch to pykickstart-1.99.43.17-1.el7.noarch resolved the problem.
Please verify this bug with the latest release from RHEV 3.6. This bug should be fixed.
Retest with rhev-hypervisor7-7.2-20160517.0.el7ev, the bug cannot be reproduced Version: RHEL 7.2 rhev-hypervisor7-7.2-20160517.0.el7ev #rpm -qa|grep ovirt-node-tools ovirt-node-tools-3.6.1-12.0.el7ev.noarch.rpm #uname -r 3.10.0-324.el7.x86_64 #rpm -qa|grep pykickstart pykickstart-1.99.66.6-1.el7.noarch Steps: 1. Following instructions available here to update RHEV-H iso with updated vdsm version: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5/html/Installation_Guide/sect-Modifying_the_Red_Hat_Enterprise_Virtualization_Hypervisor_ISO.html 2. Run the command: # edit-node --nogpgcheck --install vdsm --repo /etc/yum.repos.d/test.repo /usr/share/rhev-hypervisor/rhevh-7.2-20160517.0.el7ev.iso Result: Build successfully, the rhevh-7.2-20160517.0.el7ev-vdsm.iso generated at /usr/share/rhev-hypervisor/ so the bug is verified, I will change the status of the bug to "VERIFIED"
This issue(edit-node) affects vintage RHEV-H, not NGN, and the bug 1258930 was also closed, so close this bug as current release according to comment 6.
BTW, this is still happening... Downgrading the pykickstart helps.. # yum downgrade pykickstart-1.99.43.17-1.el7.noarch Fabian, what should we do with this bug?
Marina, when you encountered this bug: 1. What pykickstart build was on your machine? 2. What host os were you using?
# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.2 (Maipo) # yum downgrade pykickstart-1.99.43.17-1.el7.noarch Loaded plugins: product-id, search-disabled-repos, subscription-manager Resolving Dependencies --> Running transaction check ---> Package pykickstart.noarch 0:1.99.43.17-1.el7 will be a downgrade ---> Package pykickstart.noarch 0:1.99.66.6-1.el7 will be erased --> Finished Dependency Resolution
I was using edit-node to modify RHEVH 7.2 iso on this rhel7.2 vm.