[Spacewalk-list] ERROR: 'list' object has no attribute 'keys'

Mertens, Bram mertensb at mazdaeur.com
Fri Jul 5 09:50:53 UTC 2013


Hi,

I've recently started using spacecmd and I like it a lot already.

There are a couple of things I'm unable to do still for which I've had to revert to the webUI but perhaps I haven't found all of the available documentation yet.  If there are any docs available outside the fedorahosted trac (https://fedorahosted.org/spacewalk/wiki ) please point me in the right direction.  (google isn't much help as it directs me to a lot of air force stuff most of the time :) )

Right now I want to change the basechannel for a number of systems I've selected in SSM.
The command fails with the error message in the subject.
spacecmd {SSM:22}> ssm_intersect channel:rhel-x86_64-server-6
spacecmd {SSM:5}> ssm_list
check_kickstart_60
defrldas001.mle.mazdaeur.com
defrldas002.mme.mazdaeur.com
localhost.localdomain
testsrv2
spacecmd {SSM:5}> help system_setbasechannel
system_setbasechannel: Set a system's base software channel
usage: system_setbasechannel <SYSTEMS> CHANNEL

<SYSTEMS> can be any of the following:
name
ssm (see 'help ssm')
search:QUERY (see 'help system_search')
group:GROUP
channel:CHANNEL

spacecmd {SSM:5}> system_setbasechannel ssm dev-rhel-x86_64-server-6
ERROR: 'list' object has no attribute 'keys'
spacecmd {SSM:5}>

This is version spacecmd-1.2.2-1.el5

Am I doing something wrong here? Or is spacecmd?

Regards

Bram



Mazda Motor Logistics Europe NV, Blaasveldstraat 162, B-2830 Willebroek
VAT BE 0406.024.281, RPR Mechelen, ING  310-0092504-52, IBAN : BE64 3100 0925 0452, SWIFT : BBRUBEBB


This e-mail is intended to be used by the recipient(s) only. The information contained in this e-mail and the attached files, if any, is confidential and may be protected by intellectual property or other rights. If you receive this e-mail by mistake, please notify the sender, remove this e-mail from your system and delete all copies of it. You may not, directly or indirectly, use (any part of) this e-mail if you are not the intended recipient.
The e-mails and the attached files have been checked for viruses according to standard procedures, but this does not guarantee that the e-mail and/or attached files are free of viruses. Mazda does not accept any liability in this respect. Always scan attachments before opening them.
This e-mail does not constitute a commitment by Mazda to enter into or assume any obligation, contractual, financial or otherwise, nor a warranty or representation, except when expressly otherwise agreed in a separate written agreement between the recipient and Mazda.




More information about the Spacewalk-list mailing list