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