API json format question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The command signature for "osd pool create" is:  

       'cmd119' => {
                        'sig' => [
                                   'osd',
                                   'pool',
                                   'create',
                                   {
                                     'name' => 'pool',
                                     'type' => 'CephPoolname'
                                   },
                                   {
                                     'range' => '0',
                                     'name' => 'pg_num',
                                     'type' => 'CephInt'
                                   },
                                   {
                                     'req' => 'false',
                                     'range' => '0',
                                     'name' => 'pgp_num',
                                     'type' => 'CephInt'
                                   },
                                   {
                                     'n' => 'N',
                                     'req' => 'false',
                                     'goodchars' => '[A-Za-z0-9-_.=]',
                                     'name' => 'properties',
                                     'type' => 'CephString'
                                   }
                                 ],
  
But it seems that 'properties' are ignored. I tried:

2014-01-17 09:39:13.010675 2b3a6975e700  0 mon.0@0(leader) e1 handle_command mon_command({"format":"json","pg_num":32,"pool":"test3","properties":["size=3","min_size=2","crush_ruleset=1"],"prefix":"osd pool create"} v 0) v1

Is something wrong with the format? (I do not get any error message).

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux