[openstack-dev] [cinder] Is there any cli command for "manage_existing"?

2015-10-16 Thread liuxinguo
Hi, I have saw the "manage_existing" interface in cinder/contrib/volume_manager.py but can't find the responding cli command. Is there any cli command for "manage_existing"? If not, who will call this api? Thanks for any input! Wilson Liu

Re: [openstack-dev] [cinder] Is there any cli command for "manage_existing"?

2015-10-16 Thread Ivan Kolodyazhny
Hi, There is "cinder manage" command [1] in the python-cinderclient. [1] https://github.com/openstack/python-cinderclient/blob/master/cinderclient/v2/shell.py#L2063 Regards, Ivan Kolodyazhny On Fri, Oct 16, 2015 at 1:06 PM, liuxinguo wrote: > Hi, > > I have saw the

Re: [openstack-dev] [cinder] Is there any cli command for "manage_existing"?

2015-10-16 Thread Ben Swartzlander
As Ivan mentioned, it's "cinder manage" but it's an admin only command. Make sure you're running it with admin privileges. -Ben Swartzlander On 10/16/2015 06:06 AM, liuxinguo wrote: Hi, I have saw the “manage_existing” interface in cinder/contrib/volume_manager.py but can’t find the