Created attachment 1513025 [details] terminal log of analyzer installation Description of problem: the analyzer is not allowed to listen to 127.0.0.1:12380, because of SELinx blocks this. Version-Release number of selected component (if applicable): skydive-selinux-0.20.0-1.el7ost.noarch How reproducible: see attached logfile Steps to Reproduce: 1. deploy skydive-analyzer via ansible 2. 3. Actual results: Service skydive-analyzer is not running. Expected results: Service skydive-analyzer is running. Additional info:
Can you check that you used the package deployment mode ? The ansible inventory should be like this [skydive:vars] skydive_deployment_mode=package
(In reply to safchain from comment #1) > Can you check that you used the package deployment mode ? > > The ansible inventory should be like this > > [skydive:vars] > skydive_deployment_mode=package Thanks, kydive_deployment_mode=package helps, I have to check if there is any implication, e.g. adding additional repos to all hosts.
Created attachment 1513537 [details] terminal log (In reply to Dominik Holler from comment #2) > (In reply to safchain from comment #1) > > Can you check that you used the package deployment mode ? > > > > The ansible inventory should be like this > > > > [skydive:vars] > > skydive_deployment_mode=package > > Thanks, kydive_deployment_mode=package helps, I have to check if there is > any implication, e.g. adding additional repos to all hosts. skydive_deployment_mode=package seems not to work for the agents. Without any additional tricks, the installation of the package fails at the agent's node because there is no repo, which provides skydive. After removing the " Move skydive packages" from skydive_common/tasks/package.yml and skydive_package_location=file:///var/cache/yum/x86_64/7Server/RH7-RHOS-14.0/packages/skydive-0.20.0-1.el7ost.x86_64.rpm the installation fails, because of the skydive package requires skydive-selinux, which seems not managed by skydive_common/tasks/package.yml. Is this supposed to work, or should the installation of the skydive package be managed outside of skydive's deployment process?
The ansible playbook does not handle package repo setup, so if the repo for Skydive is not set on the agent host then it fails. Can you please share the inventory you used ? I don't think we should use skydive_package_location as it is used for testing purpose (CI)
Created attachment 1513765 [details] inventory with skydive_package_location and skydive_deployment_mode=package
The repo for skydive packages has to be set on the target machines so that the packages can be installed. We should not use skydive_package_location, this variable is used for testing purpose. Can you confirm this not working even with the repo correctly set ?
Created attachment 1514303 [details] playbook to install skydive from repo I like to avoid enabling an additional repo on all hosts. But I can confirm that skydive_deployment_mode=package does not hurt if the required packages are already installed. This is good for my scenario.
Created attachment 1514309 [details] playbook to install skydive from repo I like to avoid enabling an additional repo on all hosts. But I can confirm that skydive_deployment_mode=package does not hurt if the required packages are already installed. This is good for my scenario.
Closing it for now as it is not the role of skydive-ansible to install repository