Vertica instances go to SHUTDOWN before going ACTIVE

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

Bug Description

When setting up a Vertica cluster, the guest agent gets install_cluster message much later than the _get_db_status. The _get_db_status causes the Vertica instances to go to SHUTDOWN because the heartbeat message tries to access a file that does not exist yet on the instance. Therefore instances in cluster go BUILD --> SHUTDOWN --> BUILD --> ACTIVE.

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/215387

Changed in trove:
assignee: nobody → Sharika (sharika-pongubala)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

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

Changed in trove:
assignee: Sharika (sharika-pongubala) → Peter Stachowski (peterstac)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/234461
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=1faa4d427d5fec782e740a2095dc6629bb8a33d7
Submitter: Jenkins
Branch: master

commit 1faa4d427d5fec782e740a2095dc6629bb8a33d7
Author: Peter Stachowski <email address hidden>
Date: Fri Sep 18 18:15:01 2015 -0400

    Refactor the datastore manager classes

    There is a large amount of boiler-plate code in each datastore manager.
    As more managers are added, the time involved in maintaining all this
    code wil continue to grow. To alleviate this, a base manager class
    has been added where all common code can reside.

    The initial refactoring just moved some of the obvious code (such as
    rpc_ping and update_status) into the base class, along with defining
    properties that can be used to further abstract functionality
    going forward.

    The issue of having instances move in-and-out of ACTIVE state has
    also been fixed by adding a flag file that is written by the base
    class once prepare has finished successfully.

    Closes-Bug: #1482795
    Closes-Bug: #1487233
    Partially Implements: blueprint datastore-manager-refactor
    Change-Id: I603cf2ddebab1d7a5c874cd66431f803aaee2d42

Changed in trove:
status: In Progress → Fix Committed
Revision history for this message
Thierry Carrez (ttx) wrote : Fix included in openstack/trove 5.0.0.0b1

This issue was fixed in the openstack/trove 5.0.0.0b1 development milestone.

Changed in trove:
status: Fix Committed → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on trove (master)

Change abandoned by Peter Stachowski (<email address hidden>) on branch: master
Review: https://review.openstack.org/215387
Reason: This has been fixed generically by https://review.openstack.org/#/c/234461/ - if the issue is noticed again, please unabandon or enter a new bug

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.