← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1437936] [NEW] Cache management middleware not enabled on host

 

Public bug reported:

I've installed Glance on a node, then I've updated the following lines
of /etc/glance/glance-api.conf to:

...
[paste_deploy]
# Name of the paste configuration file that defines the available pipelines
config_file = glance-api-paste.ini

# Partial name of a pipeline in your paste configuration file with the
# service name removed. For example, if your paste section name is
# [pipeline:glance-api-keystone], you would configure the flavor below
# as 'keystone'.
#flavor=keystone

flavor=keystone+cachemanagement
...

on /etc/glance/glance-api-paste.ini I have:
...
# Use this pipeline for keystone auth with caching and cache management
[pipeline:glance-api-keystone+cachemanagement]
pipeline = versionnegotiation authtoken context cache cachemanage rootapp
...

After that, I've rebooted the api and the registry services.

If I run, on the same host, the cache-manage command, here's what I get:

root@compute1:~# glance-cache-manage --host=compute1 list-cached
Cache management middleware not enabled on host compute1

Where "compute1" is the name of the current host. Even deleting the
--host parameter, the error is the same (but it obiviously reports host
0.0.0.0).

** Affects: glance
     Importance: Undecided
         Status: New


** Tags: cache glance manage

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1437936

Title:
  Cache management middleware not enabled on host

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

Bug description:
  I've installed Glance on a node, then I've updated the following lines
  of /etc/glance/glance-api.conf to:

  ...
  [paste_deploy]
  # Name of the paste configuration file that defines the available pipelines
  config_file = glance-api-paste.ini

  # Partial name of a pipeline in your paste configuration file with the
  # service name removed. For example, if your paste section name is
  # [pipeline:glance-api-keystone], you would configure the flavor below
  # as 'keystone'.
  #flavor=keystone

  flavor=keystone+cachemanagement
  ...

  on /etc/glance/glance-api-paste.ini I have:
  ...
  # Use this pipeline for keystone auth with caching and cache management
  [pipeline:glance-api-keystone+cachemanagement]
  pipeline = versionnegotiation authtoken context cache cachemanage rootapp
  ...

  After that, I've rebooted the api and the registry services.

  If I run, on the same host, the cache-manage command, here's what I
  get:

  root@compute1:~# glance-cache-manage --host=compute1 list-cached
  Cache management middleware not enabled on host compute1

  Where "compute1" is the name of the current host. Even deleting the
  --host parameter, the error is the same (but it obiviously reports
  host 0.0.0.0).

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


Follow ups

References