Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(22)  |  Call(9)  |  Derive(0)  |  Import(13)

src/c/o/controller-openstack-cinder-HEAD/cinder/volume/drivers/emc/vipr/emc_vipr_driver_common.py   controller-openstack-cinder(Download)
    def try_and_retry(*args, **kwargs):
        global AUTHENTICATED
        retry = False
 
        from common import SOSError
        size = int(vol['size']) * 1073741824
 
        from common import SOSError
        vpool = self._get_vpool(vol)
        self.vpool = vpool['ViPR:VPOOL']
        except SOSError as e:
            if(e.err_code == SOSError.SOS_FAILURE_ERR):
                raise SOSError(SOSError.SOS_FAILURE_ERR, "Volume " +
                               name + ": Tag failed\n" + e.err_text)
            else:
    def setTags(self, vol):
 
        self.authenticate_user()
        name = self._get_volume_name(vol)
        from common import SOSError
        srcname = self._get_volume_name(src_vref)
        number_of_volumes = 1
        from common import SOSError
 
        try: