Glance starts but does not listen - doesn't bind to configured port 9292

Bug #1373251 reported by Disaster
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-manuals
Expired
Undecided
Unassigned

Bug Description

Hi, Ubuntu 14.04.1 LTS, all configured as described in this guide up to this section

OpenStack (Icehouse) service glance-api start and service glance-registry start report no errors.
Processes are running
But neither is listening to port 9292, and so image-create in next section fails with [Errno 111] Connection refused

Meanwhile, in /var/log/glance/api.log, a block of traces repeats endlessly.
The block contains plenty of warnings but one Error and one Critical worth attention

2014-09-24 08:35:42.527 21646 ERROR glance.store.sheepdog [-] Error in store configuration: [Errno 2] No such file or directory
2014-09-24 08:35:42.534 21646 WARNING glance.store.base [-] Failed to configure store correctly: Store sheepdog could not be configured correctly. Reason: Error in store configuration: [Errno 2] No such file or directory Disabling add method.
2014-09-24 08:35:42.537 21646 WARNING glance.store [-] Deprecated: glance.store.sheepdog.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
2014-09-24 08:35:42.552 21646 WARNING glance.store [-] Deprecated: glance.store.rbd.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
2014-09-24 08:35:42.561 21646 WARNING glance.store.base [-] Failed to configure store correctly: Store gridfs could not be configured correctly. Reason: Missing dependencies: pymongo Disabling add method.
2014-09-24 08:35:42.564 21646 WARNING glance.store [-] Deprecated: glance.store.gridfs.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
2014-09-24 08:35:42.998 21646 WARNING glance.store.base [-] Failed to configure store correctly: Store cinder could not be configured correctly. Reason: Cinder storage requires a context. Disabling add method.
2014-09-24 08:35:43.002 21646 WARNING glance.store [-] Deprecated: glance.store.cinder.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
2014-09-24 08:35:43.036 21646 WARNING glance.store [-] Deprecated: glance.store.swift.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
2014-09-24 08:35:43.152 21646 WARNING glance.store [-] Deprecated: glance.store.vmware_datastore.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
2014-09-24 08:35:43.164 21646 WARNING glance.store [-] Deprecated: glance.store.s3.Store not found in `known_store`. Stores need to be explicitly enabled in the configuration file.
2014-09-24 08:35:44.287 21646 WARNING keystoneclient.middleware.auth_token [-] This middleware module is deprecated as of v0.10.0 in favor of keystonemiddleware.auth_token - please update your WSGI pipeline to reference the new middleware package.
2014-09-24 08:35:44.291 21646 CRITICAL glance [-] AttributeError: 'StrOpt' object has no attribute 'type'

The CRITICAL error is raised from deep within /usr/local/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py
where the statement
opt_types = dict((o.dest, o.type) for o in opts)
fails. My guess is this must be a syntax error in some config file, leading to wrong/corrupt opts, which causes dict(..) call to fail.
However I edited the config files exactly as described in the guide.
No applicable/relevant comment found on the web for this error message and CRITICAL condition.

As for the ERROR, it is caused by collie not found. Installing sheepdog the error changes: now collie is found, but it now dislikes "localhost" as ip address. Which of the "localhost" strings that are spread over the Glance-related config files ? I didn't change them, and this guide is not requiring to change localhost to another string, so I was assuming these default config files were ok.

Most importantly, as per this guide, I was supposed to set up a file-based storage. Is sheepdog involved in this storage model, or is it activated by mistake? (again, I didn't change any sheepdog-related option in the Glance config files).

thanks for any advice.

Disaster (mussini-info)
description: updated
Revision history for this message
Matt Kassawara (ionosphere80) wrote :

What version of OpenStack?

Changed in openstack-manuals:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openstack-manuals because there has been no activity for 60 days.]

Changed in openstack-manuals:
status: Incomplete → Expired
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.