← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1750205] Re: image import: 500 for web-download import-method

 

Reviewed:  https://review.openstack.org/545649
Committed: https://git.openstack.org/cgit/openstack/glance/commit/?id=156ba81c2fad2844af1ad21b24c771cf66522932
Submitter: Zuul
Branch:    master

commit 156ba81c2fad2844af1ad21b24c771cf66522932
Author: Brian Rosmaita <rosmaita.fossdev@xxxxxxxxx>
Date:   Sat Feb 17 23:48:18 2018 -0500

    Fix config group not found error
    
    Two parts to this fix:
    
    * add a call to oslo.config.cfg.import_group so that the function
      that checks a uri against the configured white/blacklists can
      access them
    * move the location where these options are defined into the
      module's __init__ so that they can be imported without causing a
      circular import (which happens if you import them from their
      current location)
    
    Change-Id: I6363faba0c4cbe75e6e4d0cbf0209a62c10474ef
    Closes-bug: #1750205


** Changed in: glance
       Status: In Progress => Fix Released

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

Title:
  image import: 500 for web-download import-method

Status in Glance:
  Fix Released

Bug description:
  This is in the log:

  Feb 17 23:18:00 br-virtual-machine glance-api[22952]: ERROR
  glance.common.wsgi [None req-59d8c68b-8fc9-4b04-9215-6f64abd55532 demo
  demo] Caught error: no such option import_filtering_opts in group
  [DEFAULT]: NoSuchOptError: no such option import_filtering_opts in
  group [DEFAULT]

  Pretty sure the problem is that when the uri validating function was
  moved to common.utils, the import filtering options are no longer
  guaranteed to be registered at the point when the request hits the
  ImagesController.

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


References