From 1298204e8e26f062198c3d5343c9600f3c74bd33 Mon Sep 17 00:00:00 2001 From: Danny Date: Thu, 23 Jul 2015 10:57:56 +0800 Subject: [PATCH] Purge dead file-backed scrubber queue code message: remove the scrubber_datadir, cleanup_scrubber, and cleanup_scrubber_time options. Change-Id: I1ff2106ecb544f8a86365bc874b980ae663f21e2 Closes-Bug: #1474604 --- doc/common/tables/glance-imagecache.xml | 12 ------------ ...on_image-service-sample-configuration-files.xml | 14 +++----------- .../glance.flagmappings | 3 --- 3 files changed, 3 insertions(+), 26 deletions(-) diff --git a/doc/common/tables/glance-imagecache.xml b/doc/common/tables/glance-imagecache.xml index d04f33a0eb..cd99669c8d 100644 --- a/doc/common/tables/glance-imagecache.xml +++ b/doc/common/tables/glance-imagecache.xml @@ -17,14 +17,6 @@ [DEFAULT] - - = False - (BoolOpt) DEPRECATED. TO BE REMOVED IN THE LIBERTY RELEASE. A boolean that determines if the scrubber should clean up the files it uses for taking data. Only one server in your deployment should be designated the cleanup host. - - - = 86400 - (IntOpt) DEPRECATED. TO BE REMOVED IN THE LIBERTY RELEASE. Items must have a modified time that is older than this value in order to be candidates for cleanup. - = False (BoolOpt) Turn on/off delayed delete. @@ -53,10 +45,6 @@ = 0 (IntOpt) The amount of time in seconds to delay before performing a delete. - - = /var/lib/glance/scrubber - (StrOpt) Directory that the scrubber will use to track information about what to delete. Make sure this is set in glance-api.conf and glance-scrubber.conf. - diff --git a/doc/config-reference/image-service/section_image-service-sample-configuration-files.xml b/doc/config-reference/image-service/section_image-service-sample-configuration-files.xml index f78a6ff339..76e933de9f 100644 --- a/doc/config-reference/image-service/section_image-service-sample-configuration-files.xml +++ b/doc/config-reference/image-service/section_image-service-sample-configuration-files.xml @@ -47,18 +47,10 @@
- glance-scrubber.conf - glance-scrubber is a utility for the Image service that cleans - up images that have been deleted; its configuration is stored in the + glance-scrubber.conf + glance-scrubber is a utility for the Image service that cleans up images that have been deleted; its configuration is stored in the glance-scrubber.conf file. - Multiple instances of glance-scrubber can be run in a single - deployment, but only one of them can be designated as the - cleanup_scrubber in the - glance-scrubber.conf file. The - cleanup_scrubber coordinates other - glance-scrubber instances by maintaining the master queue - of images that need to be removed. - +
policy.json diff --git a/tools/autogenerate-config-flagmappings/glance.flagmappings b/tools/autogenerate-config-flagmappings/glance.flagmappings index a81864692e..a59cc51617 100644 --- a/tools/autogenerate-config-flagmappings/glance.flagmappings +++ b/tools/autogenerate-config-flagmappings/glance.flagmappings @@ -17,8 +17,6 @@ bind_port common ca_file ca cert_file ca chunksize replicator -cleanup_scrubber imagecache -cleanup_scrubber_time imagecache client_socket_timeout api command replicator control_exchange amqp @@ -104,7 +102,6 @@ rpc_zmq_matchmaker zeromq rpc_zmq_port zeromq rpc_zmq_topic_backlog zeromq scrub_time imagecache -scrubber_datadir imagecache send_identity_headers api show_image_direct_url common show_multiple_locations api