<div dir="ltr">+1 on a migration to make uuid a non-nullable column. I advocated a few patches back in Havana that make assumptions based on the UUID being present and unique per instance. If it gets nulled the VMware drivers will have have breakage and I have no idea how to avoid that reasonably without the UUID.<br>

</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 16, 2013 at 11:59 AM, Russell Bryant <span dir="ltr"><<a href="mailto:rbryant@redhat.com" target="_blank">rbryant@redhat.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 12/16/2013 11:45 AM, Matt Riedemann wrote:<br>
> 1. Add a migration to change instances.uuid to non-nullable. Besides the<br>
> obvious con of having yet another migration script, this seems the most<br>
> straight-forward. The instance object class already defines the uuid<br>
> field as non-nullable, so it's constrained at the objects layer, just<br>
> not in the DB model.  Plus I don't think we'd ever have a case where<br>
> instance.uuid is null, right?  Seems like a lot of things would break<br>
> down if that happened.  With this option I can build on top of it for<br>
> the DB2 migration support to add the same FKs as the other engines.<br>
<br>
</div>Yeah, having instance.uuid nullable doesn't seem valuable to me, so this<br>
seems OK.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Russell Bryant<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"># Shawn.Hartsock - twitter: @hartsock - <a href="http://plus.google.com/+ShawnHartsock" target="_blank">plus.google.com/+ShawnHartsock</a> <br>

</div>
</div>