Public bug reported: - [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/ ** Affects: nova Importance: Medium Status: Triaged ** Tags: api-ref -- 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): Triaged 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 : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

