Description of problem: With the latest version of spacecmd ( spacecmd-2.3.20-1.el6.noarch ) if I run a command to create channel and specify CHECKSUM type, the following error occur: Checksum type ------------ ERROR: SpacewalkShell instance has no attribute 'CHECKSUM' Version-Release number of selected component (if applicable): spacecmd-2.3.20-1.el6.noarch How reproducible: Install spacecmd from offical spacewalk server repo: http://yum.spacewalkproject.org/latest-server/RHEL/6/x86_64/ and try to create software channel with spacecmd command specifying CHECKSUM spacecmd {SSM:0}> softwarechannel_create Channel Name: d Channel Label: d Base Channels ------------- centos6-x86_64_base Select Parent [blank to create a base channel]: Architecture ------------ i386-sun-solaris ia32 ia64 ppc sparc-sun-solaris x86_64 Select: x86_64 Checksum type ------------ ERROR: SpacewalkShell instance has no attribute 'CHECKSUM' spacecmd {SSM:0}> softwarechannel_create --help softwarechannel_create: Create a software channel usage: softwarechannel_create [options] options: -n NAME -l LABEL -p PARENT_CHANNEL -a ARCHITECTURE ['ia32', 'ia64', 'x86_64', 'ppc', 'i386-sun-solaris', 'sparc-sun-solaris'] ### HELP SHOWS BELOW OPTION AVAILABLE -c CHECKSUM ['sha1', 'sha256'] Steps to Reproduce: 1. Run spacewalk 2.3 2. Run spacecmd and execute call :softwarechannel_create 3. Upon selecting CHECKSUM type, call exits with error: ERROR: SpacewalkShell instance has no attribute 'CHECKSUM Actual results: ERROR: SpacewalkShell instance has no attribute 'CHECKSUM Expected results: Specify CHECKSUM type ['sha1', 'sha256'] Additional info: When command spacecmd is executed from shell, its works but ignores error and does not set desired CHECKSUM type: spacecmd -- softwarechannel_create -n centos6-x86_64 -l centos6-x86_64_base -a x86_64 -c sha256 GUI interface shows channel created with sha1 Yum Repository Checksum Type sha1
cannot reproduce ERROR on spacewalk nightly, however selected checksum isn't set.
fixed with some other fixes and improvements in spacewalk master commits: cf7cc4526a3fbc4453c0d525dbd8e9c2a2724bab 4bce346aea12a88b5149dfdf1e870ecb12e469bd 702dbaf9ba3f4aadc03f96cf6d5fb8c8dc6bede7 5baeac95b16a7f9b641d85ec370e0a89eebdf3e3 45cf1fbed677db1abdfe82de65e57c0bd255265c
Spacewalk 2.4 has been released.