[openstack-dev] [tricircle] About the dynamic pod binding
joehuang
joehuang at huawei.com
Fri May 6 01:48:09 UTC 2016
Hi, Yipei,
Shinobu is correct, this should be taken into consideration in the design of dynamic pod binding.
How to schedule pod, you can refer to host-aggregate scheduling with flavor, the difference is that the scheduling granularity is on pod level. By the tag in flavor extra-spec and volume type extrac_spec , tricircle can be aware of which type of resource the tenant wants to provision.
For example: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux_OpenStack_Platform/4/html/Configuration_Reference_Guide/host-aggregates.html
So in https://docs.google.com/document/d/18kZZ1snMOCD9IQvUKI5NVDzSASpw-QKj7l2zNqMEd3g/edit, one field called resource_affinity_tag is proposed to be added into the pod table, it could be used for scheduling purpose. But this is only one proposal, you may have better idea to do that, after the spec is reviewed and approved, the doc can be update to reflect the new idea.
Best Regards
Chaoyi Huang ( Joe Huang )
-----Original Message-----
From: Shinobu Kinjo [mailto:shinobu.kj at gmail.com]
Sent: Friday, May 06, 2016 8:06 AM
To: Yipei Niu
Cc: OpenStack Development Mailing List (not for usage questions); joehuang; Zhiyuan Cai; 金城 忍
Subject: Re: [tricircle] About the dynamic pod binding
Hi Yipei,
On Thu, May 5, 2016 at 9:54 PM, Yipei Niu <newypei at gmail.com> wrote:
> Hi, all,
>
> For dynamic pod binding, I have some questions.
>
[snip]
> 3. How is Tricircle aware of what type of resource wanted by tenants?
> For example, a tenant wants to boot VMs for CAD modelling with
> corresponding flavor. But in current code, the flavorRef is not get
> involved in function get_pod_by_az_tenant, when querying pod bindings.
> So do we need to modify the pod binding table to add such a column?
Working through code bases, probably you are talking about future implementation, I guess.
Cheers,
Shinobu
>
> Best regards,
> Yipei
--
Email:
shinobu at linux.com
shinobu at redhat.com
More information about the OpenStack-dev
mailing list