Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1616142

Summary: image_service parameter in nova.conf is no longer used
Product: Red Hat OpenStack Reporter: Keigo Noha <knoha>
Component: puppet-novaAssignee: Rajesh Tailor <ratailor>
Status: CLOSED ERRATA QA Contact: OSP DFG:Compute <osp-dfg-compute>
Severity: medium Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: jjoyce, jschluet, lyarwood, mbooth, mschuppe, nlevinki, ratailor, shdunne, slinaber, tvignaud
Target Milestone: z3Keywords: Triaged, ZStream
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: puppet-nova-12.4.0-10.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-11-13 22:28:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Keigo Noha 2018-08-15 05:30:09 UTC
Description of problem:
image_service parameter in nova.conf is no longer used

Version-Release number of selected component (if applicable):
Current puppet-nova

How reproducible:
Everytime

Steps to Reproduce:
1. Deploy overcloud and check DEFAULT section in nova.conf

Actual results:
nova.conf contains image_service option in [DEFAULT] section.

Expected results:
nova.conf doesn't contain image_service option in [DEFAULT] section.

Additional info:
From 3aaa0b103447d56f8d3b259c693cd9a3a8dcbe36, image_service option is no longer available.

~~~
commit 3aaa0b103447d56f8d3b259c693cd9a3a8dcbe36
Author: Brian Waldon <bcwaldon>
Date:   Mon Jun 25 14:06:08 2012 -0700

    Cleanup of image service code
    
    * Remove image_service flag
    * Move nova.image.fake to nova.tests.image.fake
    * Move nova.image.get_default_image_service to
      nova.image.glance.get_default_image_service
    * Move nova.image.get_image_service to
      nova.image.glance.get_remote_image_service
    * Related to bp integrate-python-glanceclient
    
    Change-Id: Iea6db7898328a9060fb88586e042efbc0a4351fc

diff --git a/nova/flags.py b/nova/flags.py
index c427a7e945..bb769c4dd1 100644
--- a/nova/flags.py
+++ b/nova/flags.py
@@ -322,9 +322,6 @@ global_opts = [
     cfg.StrOpt('firewall_driver',
                default='nova.virt.firewall.IptablesFirewallDriver',
                help='Firewall driver (defaults to iptables)'),
-    cfg.StrOpt('image_service',
-               default='nova.image.glance.GlanceImageService',
-               help='The service to use for retrieving and searching images.'),
~~~

Comment 2 Rajesh Tailor 2018-09-12 11:22:15 UTC
Hi Keigo,

I will try to backport it till stable/queens upstream and will backport to OSP13 once it lands in upstream releases.

Comment 3 Keigo Noha 2018-10-23 07:14:41 UTC
Hello Rajesh,

Could you consider to backport a fix in upstream stable/queens brach into RHOSP13?

Best Regads,
Keigo Noha

Comment 4 Rajesh Tailor 2018-10-23 08:43:51 UTC
Hi Keigo,

The fix is already proposed to RHOSP13 as well as merged.

Comment 10 errata-xmlrpc 2018-11-13 22:28:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3587