]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Provide better debug log when 'cinder manage' fails
authorEric Harney <eharney@redhat.com>
Thu, 8 Oct 2015 18:46:21 +0000 (14:46 -0400)
committerEric Harney <eharney@redhat.com>
Thu, 8 Oct 2015 18:48:52 +0000 (14:48 -0400)
commit4dfb30b0f067183d31b29f202cc06b75c1cd8b61
tree34eb20b6b9bf5dad4435f88a090df05354296c32
parent686db70dfd9c8cd39ac79660a8df52606762a2ef
Provide better debug log when 'cinder manage' fails

Change this DEBUG log message from:

  Updating volume: 7fd9a82d-0f11-4d1b-921d-97186a4e2df4 with
  {'status': 'error'} due to: ???

to:

  Updating volume: 7fd9a82d-0f11-4d1b-921d-97186a4e2df4 with
  {'status': 'error'} due to: Volume create failed while
  extracting volume ref.

When a volume manage operation fails here.

The subsequent ERROR log message remains as:
  "Volume <id>: create failed"

Change-Id: I70c343a974926348f5e3b7e0fffbd0b976bc96a2
cinder/volume/flows/manager/create_volume.py