Reviewed: https://review.opendev.org/670027 Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=6b3aa31458ba1f40bf68c54f5a1e840e8e504893 Submitter: Zuul Branch: master
commit 6b3aa31458ba1f40bf68c54f5a1e840e8e504893 Author: qiufossen <qiujunt...@inspur.com> Date: Wed Jul 10 05:31:54 2019 -0400 Correct project/user id descriptions for os-instance-actions The 'user_id' and 'project_id' parameter descriptions for server actions imply that they are the value of the user/project that owns the server, but that is incorrect - they are the project/user id of whoever made the request/initiated the action. The existing project_id_instance_action parameter variable, which is only used by the os-cloudpipe reference, is renamed to avoid confusion with instance actions. Co-Authored-By: Brin Zhang <zhangbai...@inspur.com> Closes-Bug: #1835063 Change-Id: I1c05d59ebf1fda6319df5ee305c2b8a6a9562242 ** 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/1835063 Title: Compute API in nova - server actions project/user id descriptions are wrong Status in OpenStack Compute (nova): Fix Released Bug description: - [x] This doc is inaccurate in this way: https://developer.openstack.org/api-ref/compute/#servers-actions- servers-os-instance-actions The user_id and project_id parameter descriptions for server actions imply that they are the value of the user/project that owns the server, but that is incorrect - they are the project/user id of whoever made the request / initiated the action: https://github.com/openstack/nova/blob/5c6c1f8fce7cd976dedc0a1ad28836ed87af2780/nova/objects/instance_action.py#L56-L57 For example, the server could be owned by project Foo and user A but an admin live migrates the server and the admin's project is Bar and the user is B, so the server actions should reflect project B and user B. ----------------------------------- Release: 19.1.0.dev764 on 2019-03-05 15:57:14 SHA: 5c6c1f8fce7cd976dedc0a1ad28836ed87af2780 Source: https://opendev.org/openstack/nova/src/api-ref/source/index.rst URL: https://developer.openstack.org/api-ref/compute/ To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1835063/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp