mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 20:02:38 +09:00
Chage AuthManager operation requested to deploy VMs in Scheduler::match
This commit is contained in:
1 parent
8e6aba9ba5
commit
cd9124c970
1 file changed
+5
-3
@@ -350,15 +350,17 @@ void Scheduler::match()
|
||||
gid,
|
||||
AuthRequest::HOST,
|
||||
host_perms,
|
||||
AuthRequest::USE);
|
||||
AuthRequest::MANAGE);
|
||||
}
|
||||
|
||||
if ( matched == false )
|
||||
{
|
||||
ostringstream oss;
|
||||
|
||||
oss << "Host " << host->get_hid() <<
|
||||
" filtered out. User is not authorized to use it.";
|
||||
oss << "Host " << host->get_hid()
|
||||
<< " filtered out. User is not authorized to "
|
||||
<< AuthRequest::Operation_to_str(AuthRequest::MANAGE)
|
||||
<< " it.";
|
||||
|
||||
NebulaLog::log("SCHED",Log::DEBUG,oss);
|
||||
continue;
|
||||
|
||||
Reference in new issue
Block a user