Bug 1296215 - error messages have lack of information
Summary: error messages have lack of information
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Storage Console
Classification: Red Hat Storage
Component: core
Version: 2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: 2
Assignee: Nishanth Thomas
QA Contact: sds-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-06 15:46 UTC by Martin Kudlej
Modified: 2016-03-22 08:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-10 09:36:12 UTC
Embargoed:


Attachments (Terms of Use)
skyring console log (2.37 KB, text/plain)
2016-01-20 09:52 UTC, Martin Bukatovic
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1300656 0 unspecified CLOSED "Create Cluster" task fails fast without clear reason 2021-02-22 00:41:40 UTC

Internal Links: 1300656

Description Martin Kudlej 2016-01-06 15:46:44 UTC
Description of problem:
Cluster creation task failed and all I see in log is this:
ESC[36m2016-01-06T16:16:27.483+01:00 DEBUG    cluster.go:173 POST_Clusters]ESC[0m Task Created: %!(EXTRA string=7e5d3e38-03f8-4752-8be0-b80cf1793290)
[negroni] Completed 202 Accepted in 4.131344ms
ESC[31m2016-01-06T16:16:27.487+01:00 ERROR    utils.go:133 FailTask]ESC[0m Cluster creation failed: CreateCluster(): function failed at python side

Error message does not contain any information which can describe reason why cluster creation has failed. I think ERRORs should contain more information.

Version-Release number of selected component (if applicable):
rhscon-core-0.0.5-0.1.alpha1.el7.x86_64
rhscon-ceph-0.0.3-0.1.alpha1.el7.x86_64
rhscon-ui-0.0.3-0.1.alpha1.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. try to create something which leads to error in log
2. check amount of information in error message

Actual results:
There is not enough information in cluster creation error.

Expected results:
There is enough information to identify reason in all errors.

Comment 1 Martin Bukatovic 2016-01-20 09:52:51 UTC
Created attachment 1116562 [details]
skyring console log

Additional information
======================

I hit this issue again. On the Tasks page I see that the following task failed:

> Create Cluster: cluster01
> 09d6820f-c4f9-4910-a49e-5bfbec6afce2

See excerpt from skyring console log which start with the 1st mention
of this task and ends with the last.

File /var/log/skyring/bigfin.log doesn't contain more details either:

~~~
2016-01-20T10:26:11.515+01:00 ERROR    utils.go:133 FailTask] Cluster creation failed: CreateCluster(): function failed at python side
~~~

File /var/log/salt/master is empty on usm server machine.

The problem is that there are no useful information provided by usm server,
the only option is to manually check nodes which is hardly optimal.

Comment 2 Nishanth Thomas 2016-02-03 07:55:06 UTC
Sounds duplicate to 1300656. How does it differ?

Comment 3 Martin Bukatovic 2016-02-04 09:26:46 UTC
(In reply to Nishanth Thomas from comment #2)
> Sounds duplicate to 1300656. How does it differ?

Those are completely separate, but related issues.

See the description of BZ 1300656:

> This BZ is concerned with *the fact that the create cluster operation fails* in
> this way every now and then. There is another BZ 1296215 which deals with the
> fact that there is no good evidence what actually happens in similar cases.

In other words:

 * BZ 1296215 (this BZ) is about missing information in the logs when any
   failure on a python side happens
 * BZ 1300656 is about one particular failure of "Create Cluster" task

Comment 5 RHEL Program Management 2016-03-10 09:36:12 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.


Note You need to log in before you can comment on or make changes to this bug.