This seems to be a different bug than what you mentioned. When share instances 
were introduced some of the keys that shares had were moved to share instances 
and the database objects are created separately. POST to /shares endpoint 
triggers the create API, which currently only seems to be returning the share 
model as it was populated in the database. So, a bunch of fields would be 
null/None. I've updated the bug description here: 
https://bugs.launchpad.net/manila/+bug/1534161. This is a back port candidate. 
Thanks for noting.

Sincerely,
Goutham

From: Nidhi Mittal Hada (WT01 - Product Engineering Service)
Sent: Thursday, January 07, 2016 12:42 PM
To: 'OpenStack Development Mailing List (not for usage questions)' 
<openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org>>
Subject: RE: [Openstack-dev][Manila] status=NONE when share is created

Hi All,

Could someone please reply to the mail below ..

Is this an expected state to get created share status as None?

As we are intentionally not creating “share instance” while creating
share..

For details please see mail below..

Thanks
Nidhi


From: Nidhi Mittal Hada (WT01 - Product Engineering Service)
Sent: Wednesday, January 06, 2016 1:23 PM
To: OpenStack Development Mailing List (not for usage questions) 
<openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org>>
Subject: [Openstack-dev][Manila] status=NONE when share is created

Hi All,

https://bugs.launchpad.net/manila/+bug/1526284


stack@controller:~/devstack$ manila create NFS 1 --name share5 --share-type 
GENERAL_Storage
+-----------------------------+--------------------------------------+
| Property | Value |
+-----------------------------+--------------------------------------+
| status | None 
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 |
| share_type_name | GENERAL_Storage |
| description | None |
| availability_zone | None |
| share_network_id | None |
| export_locations | [] |
| share_server_id | None |
| host | None |
| snapshot_id | None |
| is_public | False |
| task_state | None |
| snapshot_support | True |
| id | 6572a26a-2313-4a1d-8765-4a031ec0ae3a |
| size | 1 |
| name | share5 |
| share_type | 961b767b-b8e4-4769-884f-7214af944f29 |
| created_at | 2015-12-15T11:31:23.818642 |
| export_location | None |
| share_proto | NFS |
| consistency_group_id | None |
| source_cgsnapshot_member_id | None |
| project_id | 0e15488bc7a14ce5b530920c95357457 |
| metadata | {} |
+--------------------------
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to