Security group "updated" timestamp is not being updated when new rule appears. It still the same as "created".
Steps to reproduce:
1. Create instance (. ~/devstack/openrc; trove create mysql 2 --size 2).
2. List security groups (. ~/devstack/openrc; trove secgroup-list).
3. Grep security group id that is assigned to instance (from Step 1).
4. Call show for secruity group (from Step 3).
5. Compare "created" and "updated" timestamps (should be equal).
6. Create new rule (
. ~/devstack/openrc; trove secgroup-rule-add <secgroup-id> 1.2.3.4/24).
7. Do Step 4 and 5.
You will found out that "created" "updated" are the same. But "updated" should be changed.
Same thing happens with delete call for rule, updated timestamp doesn't change.
Fix proposed to branch: master /review. openstack. org/97510
Review: https:/