Image is not added when filesystem_store_datadirs specified in glance configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Invalid
|
Undecided
|
Abhishek Kekane |
Bug Description
If user specifies 'filesystem_
<html>
<head>
<title>410 Gone</title>
</head>
<body>
<h1>410 Gone</h1>
Error in store configuration. Adding images to store is disabled.<br /><br />
</body>
</html> (HTTP N/A)
Steps to reproduce:
1. Edit glance-api.conf file to add 'filesystem_
filesystem_
Note: Disable 'filesystem_
2. restart glance-api service
3. create image
glance image-create --file /etc/passwd --name passwd --container-format bare --disk-format raw
Changed in glance: | |
assignee: | nobody → Abhishek Kekane (abhishek-kekane) |
tags: | added: backend |
In case if filesystem_ store_datadir is specified with any other path than /opt/stack/ data/glacne/ images and disabled filesystem_ store_datadirs option then also the filesystem_ store_datadir refers to /opt/stack/ data/glance/ images
E.g in glance-api.conf if store_datadir = /opt/stack/ data/glacne/ images1
filesystem_
then also new image gets added at /opt/stack/ data/glacne/ images location.