Cluster create hides error

Bug #1623387 reported by Madhuri Kumari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
Undecided
Madhuri Kumari

Bug Description

When some exception is raised while creating cluster for example ClusterNotSupported, no information is reported anywhere. Also no cluster entry is made in db which hides the error. We need to look into logs to find out the reason.
IMO, we should create a cluster entry in db with status 'CREATE_FAILED' and status_reason set to the error message.

Changed in magnum:
assignee: nobody → Madhuri Kumari (madhuri-rai07)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

Fix proposed to branch: master
Review: https://review.openstack.org/369982

Changed in magnum:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to magnum (master)

Reviewed: https://review.openstack.org/369982
Committed: https://git.openstack.org/cgit/openstack/magnum/commit/?id=9f7295475dcd7a30eef18fa2ddb05bed036fef23
Submitter: Jenkins
Branch: master

commit 9f7295475dcd7a30eef18fa2ddb05bed036fef23
Author: Madhuri Kumari <email address hidden>
Date: Wed Sep 14 20:19:43 2016 +0530

    Add exceptions to cluster db to show failures

    After changing create to async operation, all the exceptions goes hidden
    and no db entry is created to show the actual failure. One has to go through
    the logs to find the actual error. This patch creates a db entry in cluster
    table to show the actual error in column 'status_reason'.

    Change-Id: Iad6e8bfce7326b34dea04914e4552f87d2796e86
    Closes-bug: #1623387

Changed in magnum:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/magnum 3.1.0

This issue was fixed in the openstack/magnum 3.1.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.