yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #75496
[Bug 1796008] Re: When ``changes-before`` < ``changes-since``, getting instance migrations records is null
Reviewed: https://review.openstack.org/607798
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=a3a0068929136d3bf6e25338889fd3090938eac6
Submitter: Zuul
Branch: master
commit a3a0068929136d3bf6e25338889fd3090938eac6
Author: zhangbailin <zhangbailin@xxxxxxxxxx>
Date: Wed Oct 3 23:03:58 2018 -0400
Add restrictions on updated_at when getting migrations
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: #1796008
Change-Id: I2a39ac5a9fe969d383099b4e766c46ad05d9f67c
** 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/1796008
Title:
When ``changes-before`` < ``changes-since``, getting instance
migrations 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/1796008/+subscriptions
References