mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-11 05:17:41 +03:00
Chage AuthManager operation requested to deploy VMs in Scheduler::match
This commit is contained in:
parent
8e6aba9ba5
commit
cd9124c970
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user