yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #73667
[Bug 1744658] Re: the log record the wrong user_id who actually do the operation to the vm
Reviewed: https://review.openstack.org/536243
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=2bca6431e69bf2c6e657736b7fe11f5a2fbb9433
Submitter: Zuul
Branch: master
commit 2bca6431e69bf2c6e657736b7fe11f5a2fbb9433
Author: shuangyang.qian <shuangyang.qian@xxxxxxxxxxxx>
Date: Mon Jan 22 15:55:14 2018 +0800
Add action initiator attribute to the instance payload
The instance action notifications contain the user id and the
project id of the owner of the instance. However an instance
action might be initiated by another user. It could be another
user from the same project or can be an admin from the admin project.
To be able to distinguish between the user who initiated the instance
action from the user owning the instance we need to add two new
fields to the instance action notifications, action_initiator_user
and action_initiator_project
Change-Id: I649d8a27baa8840bc1bb567fef027c749c663432
Closes-bug: #1744658
Blueprint: add-action-initiator-to-instance-action-notifications
** 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/1744658
Title:
the log record the wrong user_id who actually do the operation to the
vm
Status in OpenStack Compute (nova):
Fix Released
Bug description:
I have a vm that created by admin user.
Then i switch one common user, and do the shutdown action to the vm.
When i check up the log, i found that it record that the admin user is the one who do the shutdown action.
In my submission, the user_id that record in the log should be the real one who do the action, not the one that the vm belong to.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1744658/+subscriptions
References