← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1817054] Re: Attribute Error just after creating a volume group

 

Reviewed:  https://review.openstack.org/638709
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=5e53e014d96e4a221be4479a1584c2b329fa7c9d
Submitter: Zuul
Branch:    master

commit 5e53e014d96e4a221be4479a1584c2b329fa7c9d
Author: BubaVV <vmarkov@xxxxxxxxxxxx>
Date:   Fri Feb 22 17:04:13 2019 +0200

    Fix recoverable error at volume group create
    
    Cinder API response for group in 'creating' state handled incorrectly
    and has_snapshots attribute is not populated. This attribute is checked
    during various operations with groups and error is generated if it is
    absent. However, this error has no consequences except message in log.
    
    When a created group is in 'creating' state, UpdateRow class is
    responsible for retrieving a group data.
    Previously UpdateRow.get_data did not populate 'has_snapshots' attribute.
    This commit adds a similar logic as IndexView does.
    
    Admin volume groups table has a same problem. UpdateRow class
    now inherits UpdateRow from the project table.
    
    Co-Authored-By: Akihiro Motoki <amotoki@xxxxxxxxx>
    Change-Id: Ie06de2a09ddd38bd5c43bfa9b9240f327ca0e1b7
    Closes-bug: #1817054


** Changed in: horizon
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1817054

Title:
  Attribute Error just after creating a volume group

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Just after creating a volume group, Attribute error happens.
  http://paste.openstack.org/show/745454/

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1817054/+subscriptions


References