]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Merge "Fix logging to catch original exceptions and tracebacks"
authorJenkins <jenkins@review.openstack.org>
Tue, 31 Mar 2015 18:26:43 +0000 (18:26 +0000)
committerGerrit Code Review <review@openstack.org>
Tue, 31 Mar 2015 18:26:43 +0000 (18:26 +0000)
1  2 
cinder/volume/flows/manager/create_volume.py

index 7f0e0594544dfffdfbb402cecf9b839a6faa8f54,dcc57195dcbda2f43b64e3da0309a147afd960eb..fa0fd5a10004fdba84e85cc2861290ab0c2c01ab
@@@ -135,9 -135,8 +135,9 @@@ class OnFailureRescheduleTask(flow_util
              update = {
                  'status': 'creating',
                  'scheduled_at': timeutils.utcnow(),
 +                'host': None
              }
-             LOG.debug("Updating volume %(volume_id)s with %(update)s." %
+             LOG.debug("Updating volume %(volume_id)s with %(update)s.",
                        {'update': update, 'volume_id': volume_id})
              self.db.volume_update(context, volume_id, update)
          except exception.CinderException: