Reviewed: https://review.openstack.org/284023 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=b4f7066e7c074dd2fb50d99df593432937c7a8ae Submitter: Jenkins Branch: master
commit b4f7066e7c074dd2fb50d99df593432937c7a8ae Author: Pallavi <[email protected]> Date: Wed Feb 24 14:47:36 2016 +0530 Update time is not updated when metadata of aggregate is updated For example, When aggregate zone is updated, time is not getting updated in updated_at field. So, modified the code such that time gets updated in updated_at field whenever the aggregate metadata content gets modified. Change-Id: Icb65313ba85562fadeddbc1890ca5d463e74d3c2 Closes-Bug: #1538014 ** Changed in: nova Status: In Progress => Fix Released -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1538014 Title: the update time is not updated when update zone of aggregate Status in OpenStack Compute (nova): Fix Released Bug description: [Summary] the update time is not updated when update zone of aggregate [Topo] devstack all-in-one node [Description and expect result] the update time is updated when update zone of aggregate [Reproduceable or not] reproduceable [Recreate Steps] 1) the update time is not updated when update zone of aggregate: root@45-59:~# openstack aggregate set --zone "AB" agg1 +-------------------+---------------------------------------------+ | Field | Value | +-------------------+---------------------------------------------+ | availability_zone | AB | | created_at | 2016-01-26T11:34:00.000000 | | deleted | False | | deleted_at | None | | hosts | [] | | id | 5 | | metadata | {u'abc': u'1', u'availability_zone': u'AB'} | | name | agg1 | | updated_at | None >>>ISSUE | +-------------------+---------------------------------------------+ root@45-59:~# openstack aggregate set --zone "ab" agg1 +-------------------+---------------------------------------------+ | Field | Value | +-------------------+---------------------------------------------+ | availability_zone | ab | | created_at | 2016-01-26T11:34:00.000000 | | deleted | False | | deleted_at | None | | hosts | [] | | id | 5 | | metadata | {u'abc': u'1', u'availability_zone': u'ab'} | | name | agg1 | | updated_at | None >>>ISSUE | +-------------------+---------------------------------------------+ [Configration] reproduceable bug, no need [logs] reproduceable bug, no need [Root cause anlyze or debug inf] reproduceable bug [Attachment] None To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1538014/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

