<div dir="ltr">Hi,<div><br></div><div>I'm currently trying to reproduce [1]. This bug requires to have the same host on two different aggregates, each one having an AZ.</div><div><br></div><div>IIRC, Nova API prevents hosts of being part of two distinct AZs [2], so IMHO this request should not be possible.</div>
<div>That said, there are two flaws where I can identify that no validation is done :</div><div> - when specifying an AZ in nova.conf, the host is overriding the existing AZ by its own</div><div> - when adding an host to an aggregate without AZ defined, and afterwards update the aggregate to add an AZ</div>
<div><br></div><div><br></div><div>So, I need direction. Either we consider it is not possible to share 2 AZs for the same host and then we need to fix the two above scenarios, or we say it's nice to have 2 AZs for the same host and then we both remove the validation check in the API and we fix the output issue reported in the original bug [1].</div>
<div><br></div><div><br></div><div>Your comments are welcome.</div><div>Thanks,</div><div>-Sylvain</div><div><br></div><div><br></div><div>[1] : <a href="https://bugs.launchpad.net/nova/+bug/1277230">https://bugs.launchpad.net/nova/+bug/1277230</a></div>
<div><br></div><div>[2] : <a href="https://github.com/openstack/nova/blob/9d45e9cef624a4a972c24c47c7abd57a72d74432/nova/compute/api.py#L3378">https://github.com/openstack/nova/blob/9d45e9cef624a4a972c24c47c7abd57a72d74432/nova/compute/api.py#L3378</a></div>
</div>