Trove list of status values incorrect

Bug #1356577 reported by Andrew Bramley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Andrew Bramley

Bug Description

The list of available status values for Trove instances is currently:

 STATUS_CHOICES = (
        ("active", True),
        ("shutoff", True),
        ("suspended", True),
        ("paused", True),
        ("error", False),

Whereas the possible status values as determined by the Trove instance/models.py is:

class InstanceStatus(object):
    ACTIVE = "ACTIVE"
    BLOCKED = "BLOCKED"
    BUILD = "BUILD"
    FAILED = "FAILED"
    REBOOT = "REBOOT"
    RESIZE = "RESIZE"
    BACKUP = "BACKUP"
    SHUTDOWN = "SHUTDOWN"
    ERROR = "ERROR"
    RESTART_REQUIRED = "RESTART_REQUIRED"

We should update the horizon dashboard to this new set of states

Tags: trove
Andrew Bramley (andrlw)
Changed in horizon:
assignee: nobody → Andrew Bramley (andrlw)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

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

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

Reviewed: https://review.openstack.org/114023
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=dd452b5f1bfef8800080dc8701dfeadd5f4eed07
Submitter: Jenkins
Branch: master

commit dd452b5f1bfef8800080dc8701dfeadd5f4eed07
Author: Andrew Bramley <email address hidden>
Date: Wed Aug 13 16:54:26 2014 -0400

    Fix list of possible trove instnace status choices

    The current list of available status choices for a
    trove instance is out of date.

    Updated the list with the latest information from
    the trove runtime

    Change-Id: I32833837980415f922964896a3ac4ba74147e72e
    Closes-Bug: #1356577

Changed in horizon:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
tags: added: trove
Changed in horizon:
importance: Undecided → Medium
milestone: none → juno-3
Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: juno-3 → 2014.2
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.