diff --git a/python-rtslib-fb.changes b/python-rtslib-fb.changes index 167f4a2..8c3ceaa 100644 --- a/python-rtslib-fb.changes +++ b/python-rtslib-fb.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Aug 27 02:10:59 UTC 2020 - Matthew Oliver + +- Updated the rbd-support.patch (bsc#1175808): + * Fixed the signiture of the RBDStorageObject to match changes made + to parent StorageObject class. + ------------------------------------------------------------------- Tue Jun 30 17:49:04 UTC 2020 - lduncan@suse.com diff --git a/rbd-support.patch b/rbd-support.patch index 10e2717..f203253 100644 --- a/rbd-support.patch +++ b/rbd-support.patch @@ -36,7 +36,7 @@ Reviewed-by: David Disseldorp + # RBDStorageObject private stuff + + def __init__(self, name, dev=None, wwn=None, readonly=False, -+ write_back=False): ++ write_back=False, index=None): + ''' + A RBDIOStorageObject can be instantiated in two ways: + - B{Creation mode}: If I{dev} is specified, the underlying configFS @@ -62,14 +62,14 @@ Reviewed-by: David Disseldorp + ''' + + if dev is not None: -+ super(RBDStorageObject, self).__init__(name, 'create') ++ super(RBDStorageObject, self).__init__(name, 'create', index) + try: + self._configure(dev, wwn, readonly) + except: + self.delete() + raise + else: -+ super(RBDStorageObject, self).__init__(name, 'lookup') ++ super(RBDStorageObject, self).__init__(name, 'lookup', index) + + def _configure(self, dev, wwn, readonly): + self._check_self()