vim /home/test_template [{"compute": [{"host_aggregates": [{"id": '2'}]}, {"availability_zones": [ {"name": "nova"}]},] }]
"id" should be integer,not string.
vim /home/test_template aggregates" : [{"id": '2'}]}, {"availability_ zones": [ {"name": "nova"}]},] }]
[{"compute": [{"host_
"id" should be integer,not string.