Hide Forgot
Description of problem: spacecmd softwarechannel_create offers limited set of architectures which are hardcoded # spacecmd softwarechannel_create INFO: Connected to https://smqa-r210-06-vm03.lab.eng.brq.redhat.com/rpc/api as admin Channel Name: channel-name Channel Label: channel-label Base Channels ------------- ... Select Parent [blank to create a base channel]: Architecture ------------ i386-sun-solaris ia32 ia64 ppc sparc-sun-solaris x86_64 Select: User Interrupt it is hardcoded in spacecmd/src/lib/softwarechannel.py > ARCH_LABELS = ['ia32', 'ia64', 'x86_64', 'ppc', > 'i386-sun-solaris', 'sparc-sun-solaris'] Version-Release number of selected component (if applicable): spacecmd-2.5.0-6.el6sat.noarch How reproducible: always Actual results: Expected results: all available architectures are offered - channel.software.listArches (or at least remove solaris - it is not in 5.8)
spacewalk 71104a3049fed0085bd0656396de32f12d3d764f
Verified with latest Satellite 5.8 compose. Now it shows all architectures like in channel.software.listArches API call. # spacecmd softwarechannel_create INFO: Connected to https://bkr-hv01-guest04.dsal.lab.eng.bos.redhat.com/rpc/api as admin Channel Name: channel-name Channel Label: channel-label Base Channels ------------- parent-stable-channel-x86_64 rhel-x86_64-server-6 Select Parent [blank to create a base channel]: Architecture ------------ aarch64 alpha arm armhfp iSeries ia32 ia64 pSeries ppc ppc64le s390 s390x sparc x86_64 VERIFIED