yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #75502
[Bug 1796009] Re: When ``changes-before`` < ``changes-since``, getting instance atcions records is null
Reviewed: https://review.openstack.org/607801
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=3d4a7021db4f5bc0dc570d6784e9ff9e457b4c91
Submitter: Zuul
Branch: master
commit 3d4a7021db4f5bc0dc570d6784e9ff9e457b4c91
Author: zhangbailin <zhangbailin@xxxxxxxxxx>
Date: Wed Oct 3 23:24:08 2018 -0400
Add restrictions on updated_at when getting instance action records
If ``changes-before`` is less than ``changes-since`` in requested,
there will get empty data when querying in db, so add the limit of
these parameters. If ``changes-before`` < ``changes-since``, will
be returned 400.
Closes-Bug: #1796009
Change-Id: I44546bc9798708a48a250cc3a21bdbcabe2649e1
** 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/1796009
Title:
When ``changes-before`` < ``changes-since``, getting instance atcions
records is null
Status in OpenStack Compute (nova):
Fix Released
Bug description:
This need to process the period time.
If ``changes-since`` and ``changes-before`` are all requested in rest URL, judge them:
The value of ``changes-since`` must be less than or equal to
``changes-before``, Otherwise return 400 error.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1796009/+subscriptions
References