install_vertica failure doesn't mark cluster in ERROR

Bug #1454851 reported by Sharika
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
High
Sharika

Bug Description

install_vertica command brings the clustered nodes together. But when this command fails, trove guest treats install cluster to be successful and goes on with other business. In reality if this command fails, then cluster is not setup correctly, and we should be marking the cluster in ERROR state.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

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

Changed in trove:
assignee: nobody → Sharika (sharika-pongubala)
status: New → In Progress
Changed in trove:
importance: Undecided → High
milestone: none → liberty-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/182872
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=3b401e6d9a0fe9b93af17b116526193d9d5b9b4e
Submitter: Jenkins
Branch: master

commit 3b401e6d9a0fe9b93af17b116526193d9d5b9b4e
Author: sharika <email address hidden>
Date: Thu May 21 16:27:48 2015 -0700

    Fix create Vertica cluster or instance to show ERROR on failure

    If install_vertica or create_db fails on the vertica
    cluster or instance, a RuntimeError is now raised

    Updated create_db unittest and install_vertica unittest
    according to the new raised exceptions

    The trove cluster instances now display the ERROR state
    instead of SHUTDOWN, trove guest does not timeout.

    Change-Id: I7e7ad80fbb7b7d20af97c2e68baf9ea32bb7e130
    Closes-Bug: #1454851

Changed in trove:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in trove:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in trove:
milestone: liberty-1 → 4.0.0
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.