TritonDataCenter / sdc-napi

Triton Network API: manages networking-related data
Mozilla Public License 2.0
4 stars 14 forks source link

Error in models/network.js #2

Closed sigxcpu76 closed 8 years ago

sigxcpu76 commented 9 years ago

I didn't manage to save the logs before reinstalling, so I'll dump this from memory.

I've done a sdcadm update --all today and it looks like https://github.com/joyent/sdc-napi/commit/c98d14c66a4bb9026b128c26fcc296171975d919 made the https://github.com/joyent/sdc-napi/blob/master/lib/models/network.js to crash around like 362 with an error regarding subnetwork_start_ip not being indexed. I don't remember what was the exact job that failed with this error (provisioning a VM? a new network?)

The base for update is 20141226T032659Z. Maybe there are changes required in the database (indices created) that weren't performed by the upgrade?

melloc commented 8 years ago

From the sounds of it, this would have been fixed by d5b7f6ea, so I'm marking this as resolved.