<div dir="ltr">Is it strange that the 'nova service-list' and 'nova host-list' return the hosts which didn't have host mapping yet?<div><br></div><div>How the user to know whether a host was added to a cell or not?</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-04-14 23:45 GMT+08:00 Matt Riedemann <span dir="ltr"><<a href="mailto:mriedemos@gmail.com" target="_blank">mriedemos@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Nova is working on adding multi-cell aware support to the compute API. A side effect of this is we can now have a chicken-and-egg situation during deployment such that if your tooling is depending on the compute API to list compute hosts, for example, before running the discover_hosts command, nothing will actually show up. This is because to list compute hosts, like using 'nova hypervisor-list', we get those from the cells now and until you run discover_hosts, they aren't mapped to a cell.<br>
<br>
The solution is to use "nova service-list --binary nova-compute" instead of "nova hypervisor-list" since we can pull services from all cells before the hosts are mapped using discover_hosts.<br>
<br>
I have a patch up to update our docs and add a release note:<br>
<br>
<a href="https://review.openstack.org/#/c/456923/" rel="noreferrer" target="_blank">https://review.openstack.org/#<wbr>/c/456923/</a><br>
<br>
I'll be updating the official install guide docs later.<br>
<br>
Note that this is master branch (Pike) only, this does not impact Ocata.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
<br>
Thanks,<br>
<br>
Matt<br>
<br>
______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.op<wbr>enstack.org?subject:unsubscrib<wbr>e</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-dev</a><br>
</font></span></blockquote></div><br></div>