The reason these values are ignored is because utils.ensure_consumer() is called from _new_allocations() in the allocation.py handler. This function simply looks up the consumer object and returns it if it exists, creating one otherwise. If the allocations payload had a different project or user, util.ensure_consumer() makes no attempt whatsoever to update the consumer's project/user info.
The reason these values are ignored is because utils.ensure_ consumer( ) is called from _new_allocations() in the allocation.py handler. This function simply looks up the consumer object and returns it if it exists, creating one otherwise. If the allocations payload had a different project or user, util.ensure_ consumer( ) makes no attempt whatsoever to update the consumer's project/user info.
I'm currently working on a fix for this.