Description of problem: Thrown NameError: global name 'options' is not defined in in _cleanup_editing: [root@dhcp-8-228 edit-node]# edit-node --repo=edit-node.repo --install=ovirt-node-plugin-ipmi-3.1.0-0.7.20140806gitef5c5cb.el7.noarch.rpm rhev-hypervisor7-7.0-20140714.0.iso rhev-hypervisor7-7.0-20140714.0.iso Warning: the state of SELinux is disabled Installing Packages Setting Up DNS For Chroot Configuring Yum Repo WARNING: rpm directory /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 does not exist Running Yum Install ['ovirt-node-plugin-ipmi-3.1.0-0.7.20140806gitef5c5cb.el7.noarch.rpm'] Examining /tmp/yumrepo/ovirt-node-plugin-ipmi-3.1.0-0.7.20140806gitef5c5cb.el7.noarch.rpm: ovirt-node-plugin-ipmi-3.1.0-0.7.20140806gitef5c5cb.el7.noarch Marking /tmp/yumrepo/ovirt-node-plugin-ipmi-3.1.0-0.7.20140806gitef5c5cb.el7.noarch.rpm to be installed Resolving Dependencies --> Running transaction check ..... Complete! Cleaning Up Yum Configuration Traceback (most recent call last): File "/usr/sbin/edit-node", line 1753, in <module> sys.exit(main()) File "/usr/sbin/edit-node", line 1558, in main if not editor._install_pkgs(options): File "/usr/sbin/edit-node", line 903, in _install_pkgs self._cleanup_editing() File "/usr/sbin/edit-node", line 1128, in _cleanup_editing if self.item and os.path.exists(options.repo): NameError: global name 'options' is not defined Version-Release number of selected component (if applicable): ovirt-node-tools-3.1.0-0.7.20140806gitef5c5cb.el7.noarch.rpm ovirt-node-minimizer-3.1.0-0.7.20140806gitef5c5cb.el7.noarch.rpm How reproducible: 100% Steps to Reproduce: Actual results: Expected results:
This bug has been fixed in the follow version: rhev-hypervisor7-7.0-20141006.0.el7ev.noarch ovirt-node-3.1.0-0.20.20141006gitc421e04.el7.noarch ovirt-node-tools-3.1.0-0.20.20141006gitc421e04.el7.noarch so change the status into "VERIFIED".
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2015-0160.html