yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #28506
[Bug 1324547] Re: Multiple store NFS none informative cli error, when same folders configured twice
** Project changed: glance => glance-store
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1324547
Title:
Multiple store NFS none informative cli error, when same folders
configured twice
Status in OpenStack Glance backend store-drivers library (glance_store):
Triaged
Bug description:
Description of problem:
When configuring Glance for multiple store NFS backend, if "by
mistake" two same folders are used, image upload fails as it should
but cli error is none informative.
glance-api.conf ->
filesystem_store_datadirs=/mnt/nfs1/images/:1
filesystem_store_datadirs=/mnt/nfs1/images/:1
[root@dhcp160-213 ~(keystone_admin)]# glance image-create --name flotz --disk-format qcow2 --container-format bare --file c6-x86_64-20130910-1.qcow2 Request returned failure status.
500 Internal Server Error
Failed to upload image 75a41998-b0ce-4be1-b3c8-d1618362f4e8
(HTTP 500)
Version-Release number of selected component (if applicable):
RHEL7
python-glanceclient-0.12.0-1.el7ost.noarch
openstack-glance-2014.1-2.el7ost.noarch
python-glance-2014.1-2.el7ost.noarch
How reproducible:
Every time
Steps to Reproduce:
1. Configure Glance to use multi store NFS back-end, give same NFS shares twice.
2. Try to upload image
Actual results:
Request returned failure status.
500 Internal Server Error
Failed to upload image 75a41998-b0ce-4be1-b3c8-d1618362f4e8
(HTTP 500)
Expected results:
A more detailed informative error on CLI would be helpful, maybe
similar to api.log "Reason: Directory /mnt/nfs1/images/ specified
multiple times in filesystem_store_datadirs option of filesystem
configuration Disabling add method."
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance-store/+bug/1324547/+subscriptions