<div>Thanks Lana,<span style="background-color: rgb(239, 239, 239); font-size: 12px; line-height: 18px;"></span></div><div><br></div><div>I have submitted the bug report(https://bugs.launchpad.net/openstack-manuals/+bug/1445285).</div><div><br></div><div>If you or anyone else can comfirmed the bug, I will submit a patch to fix it.</div><div><br></div><div><div style="color:#909090;font-family:Arial Narrow;font-size:12px">------------------</div><div style="font-size:14px;font-family:Verdana;color:#000;">Luo Gangyi<div><div>luogangyi@cmss.chinamobile.com</div></div></div></div><div> </div><div><div><br></div><div><br></div><div style="font-size: 12px;font-family: Arial Narrow;padding:2px 0 2px 0;">------------------ 原始邮件 ------------------</div><div style="font-size: 12px;background:#efefef;padding:8px;"><div><b>发件人:</b> "Lana Brindley";<openstack@lanabrindley.com>;</div><div><b>发送时间:</b> 2015年4月16日(星期四) 下午3:41</div><div><b>收件人:</b> "OpenStack Development Mailing List (not for usage questions)"<openstack-dev@lists.openstack.org>; <wbr></div><div></div><div><b>主题:</b> Re: [openstack-dev] [Nova] Mislead of Nova Documents in configuringhosts aggregates</div></div><div><br></div>Hi Luo,<br><br>Great spot! This looks to be an error in the documentation, rather than <br>in Nova. If you can please include the information in this email in a <br>bug against the documentation, then someone on the docs team can pick it up.<br><br>If you want to fix the documentation yourself, you can also do that, by <br>checking out the appropriate repo and making the change (just as you <br>would patch code). Help is available on the wiki here: <br>https://wiki.openstack.org/wiki/Documentation/HowTo<br><br>Hope that helps,<br>Lana<br><br>On 16/04/15 16:50, Luo Gangyi wrote:<br>> Hi, guys,<br>><br>> I found a misleading configuration in openstack official documents.<br>><br>> When I follow the guide<br>> (http://docs.openstack.org/trunk/config-reference/content/section_compute-scheduler.html)<br>> to configure nova host aggregates, I got following DEBUG message in<br>> nova-schuduler log:<br>><br>> "<br>> 2015-04-16 09:30:47.395 1143 DEBUG<br>> nova.scheduler.filters.compute_capabilities_filter<br>> [req-66f091c4-c26f-482f-b432-cbd0f2456625 None] (node-132.domain.bcec,<br>> node-132.domain.bcec) ram:128519 disk:6240256 io_ops:0 instances:0 fails<br>> instance_type extra_specs requirements host_passes<br>> /usr/lib/python2.6/site-packages/nova/scheduler/filters/compute_capabilities_filter.py:73<br>> 2015-04-16 09:30:47.395 1143 INFO nova.filters<br>> [req-66f091c4-c26f-482f-b432-cbd0f2456625 None] Filter<br>> ComputeCapabilitiesFilter returned 0 hosts<br>><br>> "<br>> Then I looked the source code, I found this problem was caused by the<br>> conflict of ComputeCapabilitiesFilter<br>> and AggregateInstanceExtraSpecsFilter if we did not use scope in<br>> extra_specs.<br>><br>> In official guide, it use "$ nova flavor-key /|ssd.large|/set<br>> /|ssd=true|/" which may cause conflict with ComputeCapabilitiesFilter!<br>><br>> In fact, we should use "$ nova flavor-key /|ssd.large|/set<br>> aggregate_instance_extra_specs:/|ssd=true|/" instead.<br>><br>> Hope someone can fix this problem in officical documents to avoid other<br>> people encountering the same problem.<br>><br>> ------------------<br>> Luo Gangyi<br>> luogangyi@chinamobile.com<br>><br>><br>> __________________________________________________________________________<br>> OpenStack Development Mailing List (not for usage questions)<br>> Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br>><br><br><br>-- <br>Lana Brindley<br>Technical Writer<br>Rackspace Cloud Builders Australia<br>http://lanabrindley.com<br><br>__________________________________________________________________________<br>OpenStack Development Mailing List (not for usage questions)<br>Unsubscribe: OpenStack-dev-request@lists.openstack.org?subject:unsubscribe<br>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br></div>