← Back to team overview

registry team mailing list archive

[Bug 671236] [NEW] LogProcessor fails first attempt to use it's InternalProxy

 

Public bug reported:

The swift.stats.LogProcessor uses a wrapped method as its internal_proxy
property.  On first access it creates the InternalProxy object and
stores it as _internal_proxy, yet it does not return it.  This causes
swift-log-stats-collector to throw an exception trying to use None as
its proxy; it then hangs up.

LogProcessor should be updated to also return the object in the IF
block,

    @property
    def internal_proxy(self):
        if self._internal_proxy is None:
            #### proxy instantiation code ###
            return self._internal_proxy
        else:
            return self._internal_proxy

** Affects: swift
     Importance: Undecided
         Status: New

-- 
LogProcessor fails first attempt to use it's InternalProxy
https://bugs.launchpad.net/bugs/671236
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack Object Storage (swift).



Follow ups

References