Description of problem: I tried to remove custom organization by spacecmd and I received error and organization wasn't deleted. Version-Release number of selected component (if applicable): spacecmd-2.5.0-14.el6sat.noarch How reproducible: always Steps to Reproduce: 1. >> spacecmd >>> org_create -n organization-1 -u username-1 -f Example -l Test -e root@localhost -p nimda >>> org_rename organization-1 org1 >>> org_delete org1 >>> org_list Actual results: ERROR: SpacewalkShell instance has no attribute 'org_confirm' Traceback (most recent call last): File "/usr/bin/spacecmd", line 176, in <module> shell.cmdloop() File "/usr/lib64/python2.6/cmd.py", line 142, in cmdloop stop = self.onecmd(line) File "/usr/lib64/python2.6/cmd.py", line 219, in onecmd return func(arg) File "/usr/lib/python2.6/site-packages/spacecmd/org.py", line 158, in do_org_delete if self.org_confirm('Delete this organization [y/N]:'): AttributeError: SpacewalkShell instance has no attribute 'org_confirm' Expected results: Without error
I created pull request that fixes the issue. https://github.com/spacewalkproject/spacewalk/pull/569
accepted PR spacewalk.git(master): d907455e6901f0b7afc0432a50a75a501ca13fef
VERIFIED on spacecmd-2.5.0-17.el6sat Reproducer via comment 0.
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://access.redhat.com/errata/RHBA-2018:0274