Re: [openstack-dev] [Fuel][Plugins] differenciate node with the same role - the spec is available

2015-06-26 Thread Samuel Bartel
Hi, First, thank you all for your contributions on that topic (I don't know what it has been split in two thread but let reply on this one) Igor : the problem I try to solve is the following, I would like to be able to : 1/decide on which compute node I want to deploy a plugin. for the example of

Re: [openstack-dev] [Fuel][Plugins] differenciate node with the same role - the spec is available

2015-06-25 Thread Igor Kalnitsky
Hi Samuel, Here's my 2 cents on this topic. First of all, I'd like to ask you - what problem do you try to solve? Please, answer on that first because it'll help me to come back with solution. Currently it looks like an error-prone approach to apply nova-nfs tasks only on roles with some label. W

Re: [openstack-dev] [Fuel][Plugins] differenciate node with the same role - the spec is available

2015-06-24 Thread Andriy Popovych
Samuel, As I know one node can have many roles. For 1/ You can specify custom nova-nfs role and assign it on compute nodes. Regards, Andriy On Wed, Jun 24, 2015 at 10:21 PM, Samuel Bartel wrote: > Andriy, > > May be 'role' was not the correct word here. > For me role are compute, controller,

Re: [openstack-dev] [Fuel][Plugins] differenciate node with the same role - the spec is available

2015-06-24 Thread Samuel Bartel
Andriy, May be 'role' was not the correct word here. For me role are compute, controller, base-os, cinder, mongo. I know that we can specify that a task A should be executed on some role (controller and compute for example) and a task B on some other roles (Cinder for example). To come back to m

Re: [openstack-dev] [Fuel][Plugins] differenciate node with the same role - the spec is available

2015-06-24 Thread Andriy Popovych
Samuel, AFAIK labels will not be related to tasks, it's just marks for filtering nodes. What "roles" means for you? we have tasks (A, B, C, D) and on some nodes tasks A B D should be executed, on some B C etc. So plugin can provide specials marks or tags or sets (we call it "roles") and link task

Re: [openstack-dev] [Fuel][Plugins] differenciate node with the same role - the spec is available

2015-06-24 Thread Samuel Bartel
Julia, It is exactly what i was thinking. With such a mechanism we would be able to define custom labels to apply different type of task on compute nodes according to their labels. I add a comment on the review. As for now I don't see how we would be able to create custom label from plugin. In suc

Re: [openstack-dev] [Fuel][Plugins] differenciate node with the same role - the spec is available

2015-06-24 Thread Julia Aranovich
Samuel, I would like you to consider this proposal: https://review.openstack.org/#/c/184076/6/specs/7.0/node-custom-attributes.rst This is about support of custom node labels. I think plugins should be able to assign its own labels to nodes via Nailgun API. Is it possible? Will it suit your case?

Re: [openstack-dev] [Fuel][Plugins] differenciate node with the same role - the spec is available

2015-06-24 Thread Samuel Bartel
Irina, Thanks for the link. Unfortunatly it does not cover my use cases. What we would like to do is not define a new role. We would like to be able to apply plugin to some compute node for example and not in the others compute nodes or to be able to execute plugin with a given config on some comp

[openstack-dev] [Fuel][Plugins] differenciate node with the same role - the spec is available

2015-06-24 Thread Irina Povolotskaya
Samuel, Currently, there is a spec on introducing a new role through a plugin [1] - the feature is targeted at 7.0. Feel free to comment on it and ask questions right in the commit. [1] https://review.openstack.org/#/c/185267/ -- Best regards, Irina Partner Management Business Analyst skype: