When deploying hosts with hammer you might run into an error like: “undefined method `provided_attributes’ for nil:NilClass”
The reason for this error might not be apparrent, however the meaning behind the error is that the system is unable to come up with a resource for the id you specified.
The best way to troubleshoot this is to check all id’s with the hammer cli and make changes where needed.
In my specific case I parsed:
However the actual id was 2 which I found via:
hammer location list