RDO - openstack-glance-api.service fails when backend is not configured locally

Bug #1385880 reported by Benny Kopilov
12
This bug affects 2 people
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-glance-api.service: main process exited, code=exited, status=1/FAILURE
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-glance-api.service entered failed state.
Oct 27 02:51:26 rdo-testing systemd: openstack-glance-api.service holdoff time over, scheduling restart.
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

Benny Kopilov (bkopilov)
description: updated
Benny Kopilov (bkopilov)
summary: - RDO - openstack-glance-api.service failed
+ RDO - openstack-glance-api.service fails when backend is not configured
+ locally
Revision history for this message
Benny Kopilov (bkopilov) wrote :
description: updated
Revision history for this message
Benny Kopilov (bkopilov) wrote :
Benny Kopilov (bkopilov)
description: updated
Revision history for this message
Flavio Percoco (flaper87) wrote :

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`.

Alan Pevec (apevec)
Changed in glance:
assignee: nobody → Flavio Percoco (flaper87)
Changed in glance:
status: New → Invalid
Revision history for this message
Benny Kopilov (bkopilov) wrote : Re: [Bug 1385880] Re: RDO - openstack-glance-api.service fails when backend is not configured locally

Thanks ,

What should be configured in default_store ?
Is it in addition to default_store or instead ?

Benny

----- Original Message -----
From: "Flavio Percoco" <email address hidden>
To: <email address hidden>
Sent: Monday, October 27, 2014 10:17:41 AM
Subject: [Bug 1385880] Re: RDO - openstack-glance-api.service fails when backend is not configured locally

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`.

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1385880

Title:
  RDO - openstack-glance-api.service fails when backend is not
  configured locally

Status in OpenStack Image Registry and Delivery Service (Glance):
  Invalid

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-glance-api.service: main process exited, code=exited, status=1/FAILURE
  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-glance-api.service entered failed state.
  Oct 27 02:51:26 rdo-testing systemd: openstack-glance-api.service holdoff time over, scheduling restart.
  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1385880/+subscriptions

Revision history for this message
David Hill (david-hill-ubisoft) wrote :

I had this error but the log line :

"Oct 27 02:51:25 rdo-testing glance-api: ERROR: Store for scheme swift not found"

wan't in the log file... I had to strace the process in order to figure out I had this issue... Seems like the process is dying before it could write it to the log file/rsyslog/etc.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.