← Back to team overview

fuel-dev team mailing list archive

Re: feature request: Empty role

 

Afaik, it's not so hard to add new (empty) role right now.

1. you need to add new role in json file
https://github.com/stackforge/fuel-web/blob/master/nailgun/nailgun/fixtures/openstack.json#L19-L39

(pay attention that we have different parameters for each OS)

2. create default volume partitioning for your role
https://github.com/stackforge/fuel-web/blob/master/nailgun/nailgun/fixtures/openstack.json#L173-L189

3. and then upload fixture back to nailgun (or change them directly in DB)

4. add deployment order
Multinode
https://github.com/stackforge/fuel-web/blob/master/nailgun/nailgun/orchestrator/deployment_serializers.py#L122-L132
HA
https://github.com/stackforge/fuel-web/blob/master/nailgun/nailgun/orchestrator/deployment_serializers.py#L269-L300

5. fix puppet manifests for you role (or just use separate provisioning to
provision without deployment)

I'm not sure that UI will work correctly, but I think you will be able to
deploy env via CLI.


On Thu, Jan 16, 2014 at 3:29 PM, Vladimir Sharshov
<vsharshov@xxxxxxxxxxxx>wrote:

> If i correctly understand, we can not add nodes to cluster without role.
> This fact block adding nodes with custom user configuration in cluster,
> because when we start deploy, fake roles(without it nodes can not be added
> to cluster) will be applied for this nodes.
> In this case "Basic" or "Empty" role can help users to provision and
> deploy custom nodes in Fuel cluster. Also can be useful ability to change
> roles for nodes after provision but before deploy.
>
>
>
>
> On Thu, Jan 16, 2014 at 2:39 PM, Dmitry Ilyin <dilyin@xxxxxxxxxxxx> wrote:
>
>> Yes, basic role would be a good idea. But now our concept of node roles
>> if far from being flexible.
>> We have a project to make deployment process granular and it will make
>> custom roles possible.
>> Then there could be basic empty node and we would be able to add some
>> roles to it
>> or no roles if you would choose so.
>>
>>
>> 2014/1/16 Gleb Galkin <ggalkin@xxxxxxxxxxxx>
>>
>>> Hello people,
>>>
>>> I think we need an "Empty Role" in FUEL.
>>> In case that you need to provision OS and install mcollective without
>>> syncing the manifests and running puppet agent.
>>>
>>> For example I have a project with Swift standalone. And I need to
>>> provision OS to the bunch of nodes for further manual installation.
>>> It looks convenient to have an empty role in this situation.
>>> Please consider it.
>>>
>>>
>>> --
>>> Best Regards,
>>> Gleb Galkin
>>> OpenStack Deployment Engineer
>>>
>>> Mirantis Inc.
>>> www.mirantis.com
>>>
>>>
>>> --
>>> Mailing list: https://launchpad.net/~fuel-dev
>>> Post to     : fuel-dev@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~fuel-dev
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>
>>
>> --
>> Mailing list: https://launchpad.net/~fuel-dev
>> Post to     : fuel-dev@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~fuel-dev
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
> --
> Mailing list: https://launchpad.net/~fuel-dev
> Post to     : fuel-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~fuel-dev
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References