← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1366770] [NEW] RBDVolumeProxy is used incorrrectly

 

Public bug reported:

The constructor method for the class has the following fingerprint:

    def __init__(self, driver, name, pool=None, snapshot=None,
                 read_only=False):


While it's used in multiple places without passing driver argument:

        with RBDVolumeProxy(self, name) as vol:
            vol.resize(size)


This probably means that the code does not work and is not covered by unit tests.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1366770

Title:
  RBDVolumeProxy is used incorrrectly

Status in OpenStack Compute (Nova):
  New

Bug description:
  The constructor method for the class has the following fingerprint:

      def __init__(self, driver, name, pool=None, snapshot=None,
                   read_only=False):

  
  While it's used in multiple places without passing driver argument:

          with RBDVolumeProxy(self, name) as vol:
              vol.resize(size)

  
  This probably means that the code does not work and is not covered by unit tests.

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


Follow ups

References