glance backend file doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cisco Openstack |
New
|
Undecided
|
Unassigned |
Bug Description
user.common.yaml says:
# Enable Glance to use Ceph RBD as it's backend storage by uncommenting
# the line below. It can also be set to "file" or "swift".
glance_backend: file
puppet runs clean but generated glance-api.conf is still set to swift, not to file:
# grep default_store /etc/glance/
default_store = swift
#
and glance fails with bogus swift connections:
2014-02-03 14:07:58.303 9640 ERROR glance.
1-9989-c6a4db274510 2010156f441846c
3e429] Failed to upload image 38ad9b77-
2014-02-03 14:07:58.303 9640 TRACE glance.
cent call last):
2014-02-03 14:07:58.303 9640 TRACE glance.
ython2.
to_store
2014-02-03 14:07:58.303 9640 TRACE glance.
2014-02-03 14:07:58.303 9640 TRACE glance.
ython2.
end
2014-02-03 14:07:58.303 9640 TRACE glance.
e, checksum, metadata) = store.add(image_id, data, size)
2014-02-03 14:07:58.303 9640 TRACE glance.
ython2.
2014-02-03 14:07:58.303 9640 TRACE glance.
ontainer_
2014-02-03 14:07:58.303 9640 TRACE glance.
ython2.
_missing
2014-02-03 14:07:58.303 9640 TRACE glance.
d_container(
2014-02-03 14:07:58.303 9640 TRACE glance.
ython2.
2014-02-03 14:07:58.303 9640 TRACE glance.
etry(None, head_container, container)
2014-02-03 14:07:58.303 9640 TRACE glance.
ython2.
2014-02-03 14:07:58.303 9640 TRACE glance.
.token = self.get_auth()
2014-02-03 14:07:58.303 9640 TRACE glance.
ython2.
2014-02-03 14:07:58.303 9640 TRACE glance.
insecure)
2014-02-03 14:07:58.303 9640 TRACE glance.
ython2.
2014-02-03 14:07:58.303 9640 TRACE glance.
ure)
2014-02-03 14:07:58.303 9640 TRACE glance.
ython2.
_0
2014-02-03 14:07:58.303 9640 TRACE glance.
ception(
2014-02-03 14:07:58.303 9640 TRACE glance.
uthorization Failure. Authorization Failed: <attribute 'message' of 'exceptions.
BaseException' objects> (HTTP Unable to establish connection to https:/
1/tokens)
2014-02-03 14:07:58.303 9640 TRACE glance.
This might well be the same bug as https:/ /bugs.launchpad .net/openstack- cisco/+ bug/1273543 (different scenario though obviously).