← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1643879] Re: Adding/removing/replacing tags cannot bump in network revision_number

 

Reviewed:  https://review.openstack.org/408867
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=6bd3ad2bb3d52a4d51d357656525abdb6ebb696e
Submitter: Jenkins
Branch:    master

commit 6bd3ad2bb3d52a4d51d357656525abdb6ebb696e
Author: Kevin Benton <kevin@xxxxxxxxxx>
Date:   Fri Dec 9 14:21:24 2016 -0800

    Bump revision of resource on tag add/remove
    
    This updates the tag to bump the revision of the standard
    attr record it's associated with. This required a small change
    to include a bump revision method directly on the standard
    attr records.
    
    Closes-Bug: #1643879
    Change-Id: Ia096cd342ed3eeec33a8ae64efe13d469c375dd6


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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1643879

Title:
  Adding/removing/replacing tags cannot bump in network revision_number

Status in neutron:
  Fix Released

Bug description:
  When adding/removing/replacing tags for network, revision_number
  cannot be bumped.

  [How to reproduce]
  1. Create a network
  2. Execute following commands:

  $ neutron net-show rev -c revision_number -c tags
  +-----------------+-------+
  | Field           | Value |
  +-----------------+-------+
  | revision_number | 3     |
  | tags            |       |
  +-----------------+-------+

  $ neutron tag-add --resource-type network --resource rev --tag
  "taaaaaaaaaaaaag"

  $ neutron net-show rev -c revision_number -c tags
  +-----------------+-----------------+
  | Field           | Value           |
  +-----------------+-----------------+
  | revision_number | 3               |
  | tags            | taaaaaaaaaaaaag |
  +-----------------+-----------------+

  In db
  model(https://github.com/openstack/neutron/blob/master/neutron/db/models/tag.py),
  there is no child-parent relation b/w tags and network.  Therefore,
  I'm not sure that this behavior is bug or not.

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


References