Since "Migrate share" have been merged, The share['id']
is not consistent with share['name']. So can not use 'share_name'
in create_share API and use 'share_id' in create_snapshot API at
the same time. Now change snapshot['share']['share_id']
to snapshot['share_name'] in create_snapshot API.
Reviewed: https:/ /review. openstack. org/222501 /git.openstack. org/cgit/ openstack/ manila/ commit/ ?id=037fc4bbee9 48fddb95d985940 76b15e4d1f174c
Committed: https:/
Submitter: Jenkins
Branch: master
commit 037fc4bbee948fd db95d98594076b1 5e4d1f174c
Author: zhongjun <email address hidden>
Date: Fri Sep 11 15:29:05 2015 +0800
Fix create snapshot API in Huawei driver
Since "Migrate share" have been merged, The share['id'] 'share' ]['share_ id'] 'share_ name'] in create_snapshot API.
is not consistent with share['name']. So can not use 'share_name'
in create_share API and use 'share_id' in create_snapshot API at
the same time. Now change snapshot[
to snapshot[
Change-Id: Ieedda9318762ba 2c683788f023a87 728d7287504
Closes-Bug: #1494614