← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
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:
  New

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


Follow ups