iris: return failure if iris_resource_configure_main fail