Hi guys,

It's me again. First of all thank you again for the information you gave me
before.
I would like to get familiar with block allocation policy so I have some
questions:
a. As I played with it I realized that after accepting a block allocation
request (for 3 seats at a given time while I have only 2 vmslots defined)
with a sysadmin user I can still reserve image (vmslot) at the same given
time with a user from different user group. I tried it out more times and
now I'm a bit confused why this can happen. I thought when I have an
accepted block allocation for all computers (vmslots in my case) for a time
period then none from different user groups can reserve images for that
time. Does it really work as described above?
b. Inside the code utils.php there is a part in fn isAvailable "# remove
computers from list that are allocated to block allocations". It selects
rows from blockComputers table. Why does it check that table, what this
table is for? After accepting a block allocation nothing will inserted into
blockComputers table but into blockRequest, blockTimes, blockWebDate and
blockWebTime. Should not the check part select from these tables to decide
if there is any block allocated computers in the future?
c. In xmlrpcWrappers.php in fn XMLRPCprocessBlockTime I found two INSERT
queries into the table blockComputers. Can you please tell me when this
function is called and by who?

Thank you for your help it would help me a lot.

Regards,
Norbert

Reply via email to