3b726f3013
The RootHistory intends to record by whom and when the root user of the underlying datastore backend was enabled. So the "user" column should always be set to the context user, not the actual root user in the database. But report_root(and report_root_enabled in taskmanager.models) use the database user instead, this is not correct, This patch will fix. Also remove the "user" argument from Root.create() and HistoryRoot.create() because the context is already passed in as an argument when these methods are called. Closes-Bug: #1546372 Change-Id: I3b4c8ee56c7e0876fb384f0c5841d2d391bd555d Signed-off-by: Zhao Chao <zhaochao1984@gmail.com> |
||
---|---|---|
.. | ||
backup | ||
cluster | ||
cmd | ||
common | ||
conductor | ||
configuration | ||
datastore | ||
db | ||
dns | ||
extensions | ||
flavor | ||
guestagent | ||
hacking | ||
instance | ||
limits | ||
module | ||
network | ||
quota | ||
taskmanager | ||
templates | ||
tests | ||
volume_type | ||
__init__.py | ||
README | ||
rpc.py | ||
version.py | ||
versions.py |
This is the trove code itself