You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metron.apache.org by "Jon Zeolla (JIRA)" <ji...@apache.org> on 2016/09/21 15:23:20 UTC

[jira] [Created] (METRON-446) Ansible's deployment-report fails when you skip the sensor tag

Jon Zeolla created METRON-446:
---------------------------------

             Summary: Ansible's deployment-report fails when you skip the sensor tag
                 Key: METRON-446
                 URL: https://issues.apache.org/jira/browse/METRON-446
             Project: Metron
          Issue Type: Bug
            Reporter: Jon Zeolla


When installing on bare metal using ansible the command `ansible-playbook -i /root/incubator-metron/metron-deployment/inventory/$INSTALL_CONF_DIRECTORY metron_install.yml --skip-tags="solr,sensors"` fails with the below message:

TASK [deployment-report : set_fact] ********************************************
fatal: [server1]: FAILED! => {"failed": true, "msg": "ERROR! 'dict object' has no attribute 'sensors'"}

As an interim I was able to comment out /root/incubator-metron/metron-deployment/roles/deployment-report/tasks/main.yml:32 and successfully run the playbook.  

This needs to more elegantly handle skipping optional tags such as sensor.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)