At the moment when a deployment fails, the UI only provides a high level error message, for example:
On the deployment page:
-----------------------
Deployment failed
Resource CREATE failed: Error: resources.AllNodesDeploySteps.resources.ControllerDeployment_Step2.resources[0]: Deployment to server failed: deploy_status_code: Deployment exited with non-zero status code: 6
On the deployment details (after looking for "failed"):
-------------------------
AllNodesDeploySteps CREATE_FAILED 2016-11-09T14:29:03Z
Using the `openstack stack failures list overcloud` command on the CLI gives additional information:
$ openstack stack failures list overcloud
overcloud.AllNodesDeploySteps.ControllerDeployment_Step2.0:
resource_type: OS::Heat::StructuredDeployment
physical_resource_id: 990fb9b4-e67f-4af8-8659-6b77694c593a
status: CREATE_FAILED
[.......]
Error: Could not start Service[mysqld]: Execution of '/usr/bin/systemctl start mariadb' returned 1: Job for mariadb.service failed because the control process exited with error code. See "systemctl status mariadb.service" and "journalctl -xe" for details.
Error: Could not prefetch mysql_user provider 'mysql': Execution of '/usr/bin/mysql -NBe SELECT CONCAT(User, '@',Host) AS User FROM mysql.user' returned 1: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2 "No such file or directory")
It would be good if it was possible to dig down at that level of details from the UI as well.
I've created a set of wireframes that show what a user would like to see with respect to monitoring a "Deployment In Progress". I think bubbling up any errors shown here would be very useful on a failure: /openstack. invisionapp. com/share/ FU8ECYLCZ
https:/