From 33d7f56cc424071a90f78ebd21913ce2bc9e6c0d Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Wed, 21 Nov 2012 22:44:32 +0000 Subject: Move imagecache code from nova.virt.libvirt.utils The imagecache related code in libvirt.utils uses the base_dir_name config option. If we move the imagecache utils into imagecache, then we can move the base_dir_name option into that module since there are no other users of it. Having all the imagecache code in the imagecache module seems like a sensible thing to do anyway. blueprint: scope-config-opts Change-Id: I1e154aa4de1628d40964207bdcbe5b3b55076442 --- nova/compute/manager.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'nova/compute') diff --git a/nova/compute/manager.py b/nova/compute/manager.py index a0835d107..6fcdb222a 100644 --- a/nova/compute/manager.py +++ b/nova/compute/manager.py @@ -28,7 +28,6 @@ terminating it. **Related Flags** :instances_path: Where instances are kept on disk -:base_dir_name: Where cached images are stored under instances_path """ @@ -78,11 +77,6 @@ from nova import volume compute_opts = [ - cfg.StrOpt('base_dir_name', - default='_base', - help="Where cached images are stored under $instances_path." - "This is NOT the full path - just a folder name." - "For per-compute-host cached images, set to _base_$my_ip"), cfg.StrOpt('console_host', default=socket.getfqdn(), help='Console proxy host to use to connect ' -- cgit