image share to tenant cause internal server error if you execute member-create, member- delete, and member-create again
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
New
|
Undecided
|
Unassigned |
Bug Description
1. Source with user: haozd, tenant Sol-Test.
2. Upload and image :glance image-create --disk-format qcow2 --container-format bare --property architecture=s390x --min-disk 3 --min-ram 1024 --is-public False --file rhel7_small_
3. Open horizon create 1 new tenant "holly-share" with no user .
4 Create a new user "holly" and add it to tenant "holly-share". https:/
4. Run cmd to add-share the image to tenant "holly-
5. Log in with holly, check the image "rhel7_sharetest" is under "shared with me" tab on image-list page.
6. Run cmd to remove the shared image from the tenant. glance member-delete 52d5d42c-
7. Log in with holly, check the "shared with me" tab on image-list page is empty.
8. Run cmd to add-share the image to tenant "holly-share" again. Cause Error.
[root@xoc02u28 ˜]# glance member-create 52d5d42c-
HTTPInternalSer
9.Check log under /var/log/
2015-06-02 03:45:53.941 6225 ERROR glance.
2015-06-02 03:45:53.941 6225 TRACE glance.
2015-06-02 03:45:53.941 6225 TRACE glance.
2015-06-02 03:45:53.941 6225 TRACE glance.
2015-06-02 03:45:53.941 6225 TRACE glance.
2015-06-02 03:45:53.941 6225 TRACE glance.
2015-06-02 03:45:53.941 6225 TRACE glance.
2015-06-02 03:45:53.941 6225 TRACE glance.
2015-06-02 03:45:53.941 6225 TRACE glance.
2015-06-02 03:45:53.941 6225 TRACE glance.
2015-06-02 03:45:53.941 6225 TRACE glance.
2015-06-02 03:45:53.941 6225 TRACE glance.
2015-06-02 03:45:53.941 6225 TRACE glance.
2015-06-02 03:45:53.941 6225 TRACE glance.