Re: [openstack-dev] [Fuel][Plugins] Role for Fuel Master Node

2015-11-06 Thread Javeria Khan
Sounds great. -- Javeria On Fri, Nov 6, 2015 at 2:31 PM, Evgeniy L wrote: > Great, let us know, if you have any problems. > > Also for the future we have some ideas/plans to provide a way for > a plugin to retrieve any information from API. > > Thanks, > > On Fri, Nov 6, 2015 at 12:16 PM, Jave

Re: [openstack-dev] [Fuel][Plugins] Role for Fuel Master Node

2015-11-06 Thread Evgeniy L
Great, let us know, if you have any problems. Also for the future we have some ideas/plans to provide a way for a plugin to retrieve any information from API. Thanks, On Fri, Nov 6, 2015 at 12:16 PM, Javeria Khan wrote: > Thank Evgeniy. I came to the same conclusion. > > > -- > Javeria > > On

Re: [openstack-dev] [Fuel][Plugins] Role for Fuel Master Node

2015-11-06 Thread Javeria Khan
Thank Evgeniy. I came to the same conclusion. -- Javeria On Fri, Nov 6, 2015 at 1:41 PM, Evgeniy L wrote: > Javeria, > > In your case, I think it's easier to generate config on the target node, > using puppet for example, since the information which you may need > is placed in /etc/astute.yam

Re: [openstack-dev] [Fuel][Plugins] Role for Fuel Master Node

2015-11-06 Thread Evgeniy L
Javeria, In your case, I think it's easier to generate config on the target node, using puppet for example, since the information which you may need is placed in /etc/astute.yaml file. Also it may be a problem to retrieve all required information about the cluster, since API is protected with keys

Re: [openstack-dev] [Fuel][Plugins] Role for Fuel Master Node

2015-11-05 Thread Javeria Khan
Hi Evgeniy, > > 1. what version of Fuel do you use? > Using 7.0 > 2. could you please clarify what did you mean by "moving to > deployment_tasks.yaml"? > I tried changing my tasks.yaml to a deployment_tasks.yaml as the wiki suggests for 7.0. However I kept hitting issues. > 3. could you please

Re: [openstack-dev] [Fuel][Plugins] Role for Fuel Master Node

2015-11-05 Thread Evgeniy L
Hi Javeria, As far as I know there is no way to run the task on Fuel master host itself. Since MCollective is installed in the container and tasks get executed using MCollective, as a workaround you may try to ssh from the container to the host. Also I have several additional questions: 1. what v

Re: [openstack-dev] [Fuel][Plugins] Role for Fuel Master Node

2015-11-04 Thread Javeria Khan
Thanks Igor, Alex. Guess there isn't any support for running tasks directly on the Fuel Master node for now. I did try moving to deployment_tasks.yaml, however it leads to other issues such as "/etc/fuel/plugins// does not exist" failing on deployments. I'm trying to move back to using the former

Re: [openstack-dev] [Fuel][Plugins] Role for Fuel Master Node

2015-11-03 Thread Aleksandr Didenko
Hi, please note that such tasks are executed inside 'mcollective' docker container, not on the Fuel master host system. Regards, Alex On Tue, Nov 3, 2015 at 10:41 PM, Igor Kalnitsky wrote: > Hi Javeria, > > Try to use 'master' in 'role' field. Example: > > - role: 'master' > stage: p

Re: [openstack-dev] [Fuel][Plugins] Role for Fuel Master Node

2015-11-03 Thread Igor Kalnitsky
Hi Javeria, Try to use 'master' in 'role' field. Example: - role: 'master' stage: pre_deployment type: shell parameters: cmd: echo all > /tmp/plugin.all timeout: 42 Let me know if you need additional help. Thanks, Igor P.S: Since Fuel 7.0 it's recommen

[openstack-dev] [Fuel][Plugins] Role for Fuel Master Node

2015-11-03 Thread Javeria Khan
Hey everyone, I've been working on a fuel plugin and for some reason just cant figure out how to run a task on the fuel master node through the tasks.yaml. Is there even a role for it? Something similar to what ansible does with localhost would work. Thanks, Javeria _