joyent / conch-api

Datacenter build and management service
Mozilla Public License 2.0
22 stars 11 forks source link

create device+sku in advance of livesys #893

Closed karenetheridge closed 5 years ago

karenetheridge commented 5 years ago

As discussed:

I propose:

daleghent commented 5 years ago

Will a 404 or other sort of error be returned if answering a query to /device/:serial/sku can't be satisfied?

karenetheridge commented 5 years ago

I'll add some common error conditions above.

daleghent commented 5 years ago

👍 let's run with this

perigrin commented 5 years ago

I'd like to see @bdelano comment on this too since he'd proposed writing the Netbox <-> Conch bit.

bdelano commented 5 years ago

I had a chat with Richard regarding adding a unique build name to the device and he is going to work with his team to figures something out, so we should be good to go with @karenetheridge's original concept.

karenetheridge commented 5 years ago

It's also an option to start off new "buildless" devices in a placeholder build and then move them to where they belong once that's known.

bdelano commented 5 years ago

agreed, I got some feedback from Richard today that everything should be in place by the time the next build comes around so hopefully it will be standard process by the time V3 roles out