Ovirt Tips

Skydive With oVirt 4.2.x

219 views September 2, 2018 zipadmin 0

Following this guide:

https://www.ovirt.org/blog/2018/08/Skydive-With-oVirt/

 

ON A CentOS VM as root user:

  1. yum innstall ansible
  2. yum install git
  3. git clone https://github.com/skydive-project/skydive.git
  4. cd ~
  5. systemctl disable firewalld
  6. systemctl stop firewalld
  7. vi inventory.file
    [skydive:children]
    analyzers
    agents
    
    [skydive:vars]
    skydive_listen_ip=<ip of skydive vm>
    skydive_fabric_default_interface=<name of ethernet in skydive vm (eth0)>
    
    skydive_os_auth_url=https://<skydive_VM_FQDN>:35357/v2.0
    skydive_os_service_username=<skydive_VM_username>
    skydive_os_service_password=<skydive_VM_password>
    skydive_os_service_tenant_name=service
    skydive_os_service_domain_name=Default
    skydive_os_service_region_name=RegionOne
    
    [analyzers]
    <skydive_VM_FQDN> ansible_ssh_user=root ansible_ssh_pass=<ssh_password>
    
    [agents]
    <node1_FQDN> ansible_ssh_user=root ansible_ssh_pass=<ssh_password>
    <node2_FQDN> ansible_ssh_user=root ansible_ssh_pass=<ssh_password>
    <node3_FQDN> ansible_ssh_user=root ansible_ssh_pass=<ssh_password>
    <node4_FQDN> ansible_ssh_user=root ansible_ssh_pass=<ssh_password>
    
    [agents:vars]
    skydive_extra_config={'agent.topology.probes': ['ovsdb', 'neutron'], 'agent.topology.neutron.ssl_insecure': true}
    

     

  8. cd /root/skydive/contrib/ansible
  9. You can disable known_hosts in /etc/ssh/sshd_config or you can ssh into all of the nodes and the skydive FQDN listed in you inventory.file so that the known_hosts prompt is answered yes before the next command. If not, next command will fail.
  10. ansible-playbook -i /root/inventory.file playbook.yml.sample
  11. After install you should be able to navigate to http://skydive_VM_FQDN:8082

Was this helpful?