[openstack-dev] [openstack-ansible][openstack-ansible-plugins] error in rabbitmq installation , config template plugin

Shtilman, Tomer (Nokia - IL) tomer.shtilman at nokia.com
Thu Nov 17 14:47:22 UTC 2016


Yes config_template  is there, I have cloned the whole git project, not specific files
Thanks


-----Original Message-----
From: Logan V. [mailto:logan at protiumit.com] 
Sent: יום ה 17 נובמבר 2016 16:25
To: OpenStack Development Mailing List (not for usage questions)
Subject: Re: [openstack-dev] [openstack-ansible][openstack-ansible-plugins] error in rabbitmq installation , config template plugin

Hi Tomer,

I noticed you said you have _v2_config_template.py in your action plugins path, but you should also have verify you have the "config_template" in your library path: ie.
https://github.com/openstack/openstack-ansible-plugins/blob/master/library/config_template

On Thu, Nov 17, 2016 at 8:11 AM, Shtilman, Tomer (Nokia - IL) <tomer.shtilman at nokia.com> wrote:
> Many thanks
>
> I was aware of the dependencies and download them all to
>
> /home/centos/ansible-installation/roles/dependencies
>
>
>
> [centos at ansible-tests-tshtilma dependencies]$ ls
>
> apt_package_pinning  lxc_container_create  lxc_hosts  openstack_hosts 
> pip_install
>
>
>
> also my test playbook was taken from the examples so its almost 
> identical
>
>
>
> Thanks
>
>
>
>
>
>
>
>
>
>
>
>
>
> From: Jesse Pretorius [mailto:    ]
> Sent: יום ה 17 נובמבר 2016 15:45
> To: OpenStack Development Mailing List (not for usage questions)
> Subject: Re: [openstack-dev] 
> [openstack-ansible][openstack-ansible-plugins]
> error in rabbitmq installation , config template plugin
>
>
>
> The error you’re seeing is because that role has dependencies which 
> can’t be resolved.
>
>
>
> The deps are here:
>
> https://github.com/openstack/openstack-ansible-rabbitmq_server/blob/st
> able/newton/meta/main.yml#L35
>
>
>
> The roles are mostly designed to be re-usable without the integrated 
> repository, but to do so you’ll need to inspect the role tests to see 
> what it needs to work:
>
>
>
> Role requirements, to resolve the meta deps:
>
> https://github.com/openstack/openstack-ansible-rabbitmq_server/blob/st
> able/newton/tests/ansible-role-requirements.yml
>
>
>
> An example inventory, playbook, etc is all here:
>
> https://github.com/openstack/openstack-ansible-rabbitmq_server/tree/st
> able/newton/tests
>
>
>
> If you get stuck, feel free to join us in #openstack-ansible in IRC on 
> Freenode.
>
>
>
> HTH,
>
>
>
> Jesse
>
> IRC: odyssey4me
>
>
>
> From: "Shtilman, Tomer (Nokia - IL)" <tomer.shtilman at nokia.com>
> Reply-To: "OpenStack Development Mailing List (not for usage questions)"
> <openstack-dev at lists.openstack.org>
> Date: Thursday, November 17, 2016 at 1:33 PM
> To: "openstack-dev at lists.openstack.org" 
> <openstack-dev at lists.openstack.org>
> Subject: [openstack-dev] 
> [openstack-ansible][openstack-ansible-plugins]
> error in rabbitmq installation , config template plugin
>
>
>
> Hi All
>
> I am relatively new to Ansible, trying to run a playbook installing 
> rabbit server 
> https://github.com/openstack/openstack-ansible-rabbitmq_server (all
> stable/newton)
>
>
>
> - name: Install RabbitMQ server
>
>   hosts: rabbitmq_all
>
>   user: root
>
>   roles:
>
>     - { role: "rabbitmq_server", tags: [ "rabbitmq-server" ] }
>
>   vars:
>
>     rabbitmq_cookie_token: secrete
>
>
>
>
>
> I get an error:
>
>
>
> statically included:
> /home/centos/ansible-installation/roles/dependencies/pip_install/tasks
> /configure.yml
>
> ERROR! no action detected in task. This often indicates a misspelled 
> module name, or incorrect module path.
>
>
>
> The error appears to have been in
> '/home/centos/ansible-installation/roles/dependencies/pip_install/tasks/configure.yml':
> line 40, column 3, but may
>
> be elsewhere in the file depending on the exact syntax problem.
>
>
>
> The offending line appears to be:
>
>
>
>
>
> - name: Drop pip global config(s)
>
>   ^ here
>
>
>
>
>
> The task is :
>
> - name: Drop pip global config(s)
>
>   config_template:
>
>     src: "global.conf.j2"
>
>     ……
>
>
>
>
>
>
>
> config_template task is coming from
> https://github.com/openstack/openstack-ansible-plugins/blob/master/act
> ion/_v2_config_template.py
> and cloned locally
>
> also I have set the action_plugins =
> /home/centos/openstack-ansible-plugins:/home/centos/openstack-ansible-
> plugins/action
>
> from a bit of debugging its look like the the path is scanned
>
>
>
> Any ideas will be appreciated
>
> Tomer
>
>
>
> ________________________________
>
> Rackspace Limited is a company registered in England & Wales (company 
> registered number 03897010) whose registered office is at 5 Millington 
> Road, Hyde Park Hayes, Middlesex UB3 4AZ. Rackspace Limited privacy 
> policy can be viewed at www.rackspace.co.uk/legal/privacy-policy - 
> This e-mail message may contain confidential or privileged information intended for the recipient.
> Any dissemination, distribution or copying of the enclosed material is 
> prohibited. If you receive this transmission in error, please notify 
> us immediately by e-mail at abuse at rackspace.com and delete the 
> original message. Your cooperation is appreciated.
>
>
> ______________________________________________________________________
> ____ OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: 
> OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


More information about the OpenStack-dev mailing list