Description of problem: I attempted to add a note to a consumer, but received the error "Notes must be specified in the format key=value". Version-Release number of selected component (if applicable): pulp-admin-client-2.2.0-0.3.beta.fc18.noarch How reproducible: Always Steps to Reproduce: 1. Register a consumer 2. pulp-admin consumer update --consumer-id=test_consumer --note key=value Actual results: [jcline@jcline ~]$ pulp-admin consumer update --consumer-id=test_consumer --note key=value Notes must be specified in the format key=value Expected results: Consumer successfully updated Additional info:
Try putting quotes around 'key=value'. This may just be conflicting with standard command line option parsing.
https://github.com/pulp/pulp/pull/521 the parser didn't handle already parsed content very well, so I added a check for that and removed the redundant parse call.
build: 2.3.0-0.10.alpha
verified [root@pulp-v2-server ~]# rpm -qa pulp-server pulp-server-2.3.0-0.14.alpha.el6.noarch [root@pulp-v2-server ~]# pulp-admin consumer update --consumer-id=pulp-client --note key=value Consumer [ pulp-client ] successfully updated [root@pulp-v2-server ~]#
Pulp 2.3 released.