Description of problem: As of now the keyvalue options are available only in pulp-admin consumer Since pulp-client is used for consumer create it may be good to have the keyvalue options available for pulp-client consumer as well. [root@preethi ~]# pulp-admin consumer Usage: pulp-admin <options> consumer <action> <options> Supported Actions: list list all known consumers info list of accessible consumer info delete delete the consumer bind bind the consumer to listed repos unbind unbind the consumer from repos add_keyvalue add key-value information to consumer delete_keyvalue delete key-value information from consumer update_keyvalue update key-value information of a consumer get_keyvalues get key-value attributes for given consumer history view the consumer history pulp-admin: error: no action given: please see --help [root@preethi ~]# pulp-client consumer Usage: pulp-client <options> consumer <action> <options> Supported Actions: create create a consumer delete delete the consumer bind bind the consumer to listed repos unbind unbind the consumer from repos history view the consumer history update update consumer profile
Fixed in v2. pulp-consumer register --help Command: register Description: registers this consumer to the Pulp server Available Arguments: --id - (required) uniquely identifies the consumer; only alphanumeric, -, and _ allowed --display-name - user-readable display name for the consumer --description - user-readable description for the consumer --note - adds/updates/deletes key-value pairs to programmatically identify the repository; pairs must be separated by an equal sign (e.g. key=value); multiple notes can be added by specifying this option multiple times; notes are deleted by specifying "" as the value
verified [root@pulp-master ~]# rpm -q pulp-rpm-consumer-client pulp-rpm-consumer-client-0.0.335-1.fc17.noarch [root@pulp-master ~]# [root@pulp-master ~]# pulp-consumer register Command: register Description: registers this consumer to the Pulp server Available Arguments: --consumer-id - (required) uniquely identifies the consumer; only alphanumeric, -, and _ allowed --display-name - user-readable display name for the consumer --description - user-readable description for the consumer --note - adds/updates/deletes key-value pairs to programmatically identify the repository; pairs must be separated by an equal sign (e.g. key=value); multiple notes can be added by specifying this option multiple times; notes are deleted by specifying "" as the value The following options are required but were not specified: --consumer-id [root@pulp-master ~]#
Pulp v2.0 released