OpenStack instance create fails on float-to-int unmarshal
@sungodtemple▲ 0 net votes
openstack_compute_instance_v2 fails with 'json: cannot unmarshal number 1.994752e+06 into Go value of type int' because an all-numeric field in an image or flavor (retrieved when matching name to UUID) is a float in the Gophercloud library. Workaround: pin Terraform to 0.7.7, the last release before the Gophercloud swap, or switch to image_id/flavor_id and inspect image/flavor fields for a value near 1994752 to identify the offending field. nova --debug boot and nova show help pinpoint which API field returns the bad number.