Re: Incubation proposal: HuaweiCloud CPI
toggle quoted message Show quoted text
If the huawei team plans to provide differentiated features beyond what the openstack CPI provides, it seems useful that the openstack CPI team provides some feedback on whether the openstack CPI could support some custom extensions (in order to avoid having the huawei cpi being a complete fork of the openstack cpi), such as in the form of plugins.
In the short term, I share it is hard for users new to the CF community to understand that bosh can be used on public infrastructure through use of standard apis such as openstack, and that a dedicated bosh cpi is'nt necessary for each public cloud. I worry that as a result some misleaded customers ask for a dedicated public cloud cpi whereas this might not be the optimal solution for them nor to the community overall, and challenges are elsewhere. Cultural diversity may make it hard for some engineering and marketing teams to educate users into this vision, and it's tempting to fork the standard-based openstack cpi to quickly respond to initial customer request, even if this does not provide any differentiated features that doc contribs could address.
-- What is the standard apis, different vendors have different strategies, the more suitable apis is the standard apis for specified vendor. There already have many CPIs that not follow the standard apis such as openstack. It works very well. Why marketing teams have to "educate users into this vision". The specified vendor have its own CPI, and lead their own customers ask for a dedicated public cloud cpi, it is a more suitable way for the specified vendor public cloud, right? The specified vendor will maintain their own CPI, it own't affect other. The HuaweiCloud CPI will support the feature that openstack don't support it, such as: AK/SK(access_key_id and access_secret_id) certification  in the future. It won't be the part of the OpenStack. Sorry, I didn't see any realy problem.
I believe the CF foundation page listed supported infrastructure providers , bosh-docs  and cf-docs  could help educate users new to the community to discover public clouds that supporting bosh and cloudfoundry through the openstack standard and were proven to provide 1st class support in bosh and CF (beyond the basic CPI contract as I mentioned in my previous email). I may follow up a dedicated thread (to the CFF and CPI docs teams) on this if this can help Huawei get the same level of public user visibility through the use of the openstack CPI than other public cloud vendors have with a dedicated CPI.
whether the openstack cpi team would support the Huawei team into designing support for extensions in the openstack CPI, such extensions would use custom huawei APIs ?
I believe this is inaccurate: bosh supports differentiates features by each CPI in the following forms:
a) custom cloud properties  associated to AZ, networks, disk types, vm types, declare in cloud-config  and referenced within bosh manifests 
b) specifically vm_extensions  allows to specify arbitrary IaaS specific configuration associated to a VM such as security groups or load balancers pool membership
-- The HuaweiCloud CPI is not belong to OpenStack CPI, the HuaweiCloud cpi isn't being a complete fork of the openstack cpi, it have its own APIs and cloud properties. Why we have to support the Huawei team into designing support for extensions in the openstack CPI. According to this logic, other bosh CPIs can be used as a plugin in OpenStack CPI.
-- For example, for user that use bosh CPI to create a cloudfoundry enviroment, they only care about how to config the cloud properties file. Such as alicloud, most of the cloud properties associated to AZ, networks, disk types, vm types are the same with openstack CPI, The different cloud property is vswitch_id and access_key_id when they want to create a new bosh director. It like the huaweicloud CPI does, we have the different cloud property named 'subnet_id'. The HuaweiCloud CPI also will support AK/SK(access_key_id and access_secret_id) certification  in the future. There are small different cloud properties between OpenStack CPI and other CPI. If we could support the Huawei team into designing support for extensions in the openstack CPI, then other CPI cloud also do that.
This is fine. I just wanted to bring to your attention the effort required to meet expected quality standards, and maintain them overtime. In particular, I understand cpis are expected to provide user facing documentation such as   which I did not yet see mentioned in your incubation proposal (nor your responses to my email in this thread).
Similarly, incubator projects are expected to provide public backlogs that give insight to the community about planned future work. Can you please share such backlog with the community?
-- Added a new user facing documentation for HuaweiCloud CPI in bosh docs. Is the planned future work necessary for new CPI. We cloud use the issuse or pr in github repo or etherpad to track the plans in the feature?
Guillaume Berche <bercheg@...> 于2018年9月4日周二 上午12:13写道：
Guillaume.On Fri, Aug 31, 2018 at 12:27 PM jun zhong <jun.zhongjun2@...> wrote:Hi Guillaume,There are another points we have considered:1、Huawei has made a lot of private extensions to the OpenStack API in order to fulfillHuawei Cloud’s IaaS needs. These private extensions are unique to Huawei Cloud’s application scenarios anddo not apply to OpenStack platform, and therefore will not be accepted by the OpenStack community.Even if some of them are not used now, It's also worth to think about it in frontThis iswhy Huawei Cloud needs its own CPI stead of using OpenStack CPI. It is also useful for HuaweiCloud in the furture.2、As I understand each vendor does't have different features for bosh. The only difference between each Bosh CPIis that they have different APIs. So it would be better to create a new CPI that like the other CPI does.ThanksJUNjun zhong <jun.zhongjun2@...> 于2018年8月30日周四 下午9:32写道：Hi Guillaume,Thanks for giving us so many suggestions.1b- extend the openstack cpi with additional vm_properties support that leverage Huawei custom APIs and products.-- Different vendors have the right to choose different strategies.We would like to choose the API or config item that really suitable for our customer.Those APIs are not related to OpenStack, so we still want to create our new HuaweiCloud CPI in PMC.2- build a community of huawei cloud Bosh and CF users which can share experience, best practices, and provide feedbackand improvements to the Huawei and CF Foundation teams. For example, create a "huawei" slack channel on the cloudfoundry slack .Our team would be happy to share our experiences with running CF on Orange Flexible Engine, such as glance quota diagnostics , or VRRP issues across VPCs .-- I would like to create a new group named "huawei" in slack channel3- provide 1st class support to Huawei cloud on bosh director,e.g. validate integration of Huawei Object Store Service  as a bosh director blobstore backend, and BBR backend . Contribute docs and operators into bosh-deployment similarly to other Iaas , , as well as terraform configs into bbl . Validate integration of Huawei RDS as a bosh director db backend . We should suggest to avoid fragmentation of terraform providers among huawei powered clouds     and their associated diverging github repos  , and rather try to unify them into a single provider with configureable endpoint.4- provide 1st class support to Huawei cloud on cloudfoundry application runtime, e.g. validate integration of Huawei Object Store Service  as a CC blobstore backend and contribute associated bosh operators into cf-deployment  or best in bbl, along with terraform configs (when differing from openstack apis)-- Is this a necessary request for new CPI? I saw some of the CPI doesn't support it now, such as: azure CPI