Hey all, I am trying to come up with a process that I can say "I am running
as "prod" principal, I connect to the reserve endpoint, and I make a
request for X CPU, Y Mem,, for the "dev role and usable by the "dev"
principal.

I feel like that I should be able to reserve that out, i.e. as a prod
principal in mesos, I should be able to say ok. I am setting aside x
resources for role dev, principal dev.

However, I get a error that says "Invalid RESERVE operation: The reserved
resource's principal 'devprin' does not match the principal 'prodprin' (I
am making the request and basic authing as prod.

What it comes down to, is I understand the message, that the principals
don't match, but I actually want it setup so that dev can't reserve
resources. Only prod can, and prod can reserve it FOR dev to use, and once
the resources are allocated to dev, they can then use them and control
them.  But they shouldn't be able to reserve them.  Does that makes sense?

Thoughts or questions?

Reply via email to