RDO - openstack-glance-api.service fails when backend is not configured locally
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Invalid
|
Undecided
|
Flavio Percoco |
Bug Description
Hi ,
openstack RDO installed on rhel7 with packstack installer .
Whenever glance uses non-default backend , service glance-api in fail state .
Attaching to bug glance config file and log
Oct 27 02:51:25 rdo-testing glance-api: ERROR: Store for scheme swift not found
Oct 27 02:51:26 rdo-testing systemd: openstack-
Oct 27 02:51:26 rdo-testing systemd: Failed to start OpenStack Image Service (code-named Glance) API server.
Oct 27 02:51:26 rdo-testing systemd: Unit openstack-
Oct 27 02:51:26 rdo-testing systemd: openstack-
Oct 27 02:51:26 rdo-testing systemd: Stopping OpenStack Image Service (code-named Glance) API server...
Oct 27 02:51:26 rdo-testing systemd: Starting OpenStack Image Service (code-named Glance) API server...
I got the same results for storge rbd and swift
ERROR: Store for scheme rbd not found
Benny
description: | updated |
summary: |
- RDO - openstack-glance-api.service failed + RDO - openstack-glance-api.service fails when backend is not configured + locally |
description: | updated |
Changed in glance: | |
assignee: | nobody → Flavio Percoco (flaper87) |
Changed in glance: | |
status: | New → Invalid |
You need to enable the stores in the `known_stores` config variable as well. In the Juno release this variable changed and it's now called `stores` under the `glance_store` section. Based on your logs and config files, it seems you didn't change neither of these options when you changed the `default_store`.