You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.
I'm seeing an error creating an n2.xlarge.x86 instance with the terraform Packet provider:
module.worker-pool-1.packet_device.nodes[1]: Creation complete after 11m16s [id=1b683f59-340b-49b4-8f1d-57c4522373d3]
Error: json: cannot unmarshal string into Go struct field PortData.network_ports.data.bonded of type bool
on ../lokomotive-kubernetes/packet/flatcar-linux/kubernetes/workers/workers.tf line 1, in resource "packet_device" "nodes":
1: resource "packet_device" "nodes" {
Querying the API I see that one of the device->network_ports[...].data.bonded fields is a string instead of a bool:
@vielmetti@iaguis Thanks for reporting. This is API bug, and one that's been reported before as #140 (as you've pointed out).
This can be worked around in packngo, but it would be more clean to fix it in the API.
The API bug was traced to data entered incorrectly at system enrollment time, and has been corrected in the database. packngo should be reporting correct answers for these systems now.
vielmetti
changed the title
Type mismatch at device->network_ports[...].data.bonded in JSON API for n2.xlarge.x86 machines
API bug: Type mismatch at device->network_ports[...].data.bonded in JSON API for n2.xlarge.x86 machines
Apr 3, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm seeing an error creating an
n2.xlarge.x86
instance with the terraform Packet provider:Querying the API I see that one of the
device->network_ports[...].data.bonded
fields is a string instead of a bool:A similar issue on
m2.large.x86
was reported before: #140The text was updated successfully, but these errors were encountered: