Hi Hongbin, This is really a good idea, because it will mitigate much of the job of implementing loop and conditional branch in Heat ResourceGroup. But as Kevin pointed out in below mail, it need a careful upgrade/migration path.
Meanwhile, as for the blueprint of supporting multiple flavor (https://blueprints.launchpad.net/magnum/+spec/support-multiple-flavor), we have implemented a Proof of Concept/prototype based on the current ResourceGroup method. (see the design spec https://review.openstack.org/#/c/345745/ for details.) I am wondering whether we can continue with the implementation of supporting multiple flavor based on the current Resource Group for now? or Do you have any plan on when to implement the "manually managing the bay nodes"? Regards, Gary From: Fox, Kevin M [mailto:kevin....@pnnl.gov] Sent: Tuesday, May 17, 2016 3:01 AM To: OpenStack Development Mailing List (not for usage questions) <openstack-dev@lists.openstack.org> Subject: Re: [openstack-dev] [magnum] Discuss the idea of manually managing the bay nodes Sounds ok, but there needs to be a careful upgrade/migration path, where both are supported until after all pods are migrated out of nodes that are in the resourcegroup. Thanks, Kevin ________________________________ From: Hongbin Lu Sent: Sunday, May 15, 2016 3:49:39 PM To: OpenStack Development Mailing List (not for usage questions) Subject: [openstack-dev] [magnum] Discuss the idea of manually managing the bay nodes Hi all, This is a continued discussion from the design summit. For recap, Magnum manages bay nodes by using ResourceGroup from Heat. This approach works but it is infeasible to manage the heterogeneity across bay nodes, which is a frequently demanded feature. As an example, there is a request to provision bay nodes across availability zones [1]. There is another request to provision bay nodes with different set of flavors [2]. For the request features above, ResourceGroup won't work very well. The proposal is to remove the usage of ResourceGroup and manually create Heat stack for each bay nodes. For example, for creating a cluster with 2 masters and 3 minions, Magnum is going to manage 6 Heat stacks (instead of 1 big Heat stack as right now): * A kube cluster stack that manages the global resources * Two kube master stacks that manage the two master nodes * Three kube minion stacks that manage the three minion nodes The proposal might require an additional API endpoint to manage nodes or a group of nodes. For example: $ magnum nodegroup-create --bay XXX --flavor m1.small --count 2 --availability-zone us-east-1 .... $ magnum nodegroup-create --bay XXX --flavor m1.medium --count 3 --availability-zone us-east-2 ... Thoughts? [1] https://blueprints.launchpad.net/magnum/+spec/magnum-availability-zones [2] https://blueprints.launchpad.net/magnum/+spec/support-multiple-flavor Best regards, Hongbin
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev