Created attachment 917097 [details]
The horizon log
Description of problem:
Horizon doesn't notify when the attachment of volume process fail with Errors.
The nova-compute log show errors during the process of the volume attachment but the Horizon doesn't present the failure and the error.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Follow the step of the bug: https://bugs.launchpad.net/nova/+bug/1340169
2. In the Horizon try to attach a volume
The Horizon shows an info message:
Info: Attaching volume bowl-the-dust to instance cougar-01-fe5510a5-c50c-46ee-9d71-6f8e41a58ecc on /dev/vdc.
The volume status changes to 'attaching' then change back to available.
An error should appear saying "Error: the volume attachment failed"
The Horizon log is attached.
The nova-compute log with the volume attachment error is available in the bug https://bugs.launchpad.net/nova/+bug/1340169
I'm lowering the priority as this is not urgent but a nice enhancement. Cinder actions are asynchronous which means that Horizon does not know the outcome when the API call is sent out (you can find more details about this at https://bugzilla.redhat.com/show_bug.cgi?id=976279#c3). A planned improvement upstream (while waiting for a proper, larger fix to be implemented either using real time communication or a new Cinder API) is to mark such messages as "informational" rather than "success" to help alleviate the confusion.
let's handle this upstream. This didn't came back at all since it was opened.