{"action":"created","issue":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3063","labels_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3063/labels{/name}","comments_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3063/comments","events_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3063/events","html_url":"https://github.com/SatelliteQE/robottelo/issues/3063","id":118344478,"number":3063,"title":"Changes required to fix discovery tests as per new infra.","user":{"login":"sghai","id":620852,"avatar_url":"https://avatars.githubusercontent.com/u/620852?v=3","gravatar_id":"","url":"https://api.github.com/users/sghai","html_url":"https://github.com/sghai","followers_url":"https://api.github.com/users/sghai/followers","following_url":"https://api.github.com/users/sghai/following{/other_user}","gists_url":"https://api.github.com/users/sghai/gists{/gist_id}","starred_url":"https://api.github.com/users/sghai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sghai/subscriptions","organizations_url":"https://api.github.com/users/sghai/orgs","repos_url":"https://api.github.com/users/sghai/repos","events_url":"https://api.github.com/users/sghai/events{/privacy}","received_events_url":"https://api.github.com/users/sghai/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SatelliteQE/robottelo/labels/Infrastructure","name":"Infrastructure","color":"5319e7"}],"state":"closed","locked":false,"assignee":{"login":"kbidarkar","id":373096,"avatar_url":"https://avatars.githubusercontent.com/u/373096?v=3","gravatar_id":"","url":"https://api.github.com/users/kbidarkar","html_url":"https://github.com/kbidarkar","followers_url":"https://api.github.com/users/kbidarkar/followers","following_url":"https://api.github.com/users/kbidarkar/following{/other_user}","gists_url":"https://api.github.com/users/kbidarkar/gists{/gist_id}","starred_url":"https://api.github.com/users/kbidarkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kbidarkar/subscriptions","organizations_url":"https://api.github.com/users/kbidarkar/orgs","repos_url":"https://api.github.com/users/kbidarkar/repos","events_url":"https://api.github.com/users/kbidarkar/events{/privacy}","received_events_url":"https://api.github.com/users/kbidarkar/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-11-23T09:26:58Z","updated_at":"2016-01-13T07:18:10Z","closed_at":"2016-01-13T07:18:10Z","body":"I was trying to fix setup related to host provisioning and host discovery. But looks like now decent changes are required as per new infra. Also, earlier we were creating host on Satellite itself by enabling nested virt. It means we were using Satellite server as hypervisor. But now plan is to use some other external compute-resource. \r\n\r\nI'm planning to use external libvirt. \r\n\r\nwhat all changes are required ?\r\n\r\n1. Like provisioning server, we may need to define the libvirt_server setting along with image_dir in robottelo properties file as well as in jenkins.\r\n\r\n2. Since external libvirt host is accessible via ssh. So we need to configure ssh key-pairs between Satellite server and hypervisor.\r\n\r\n3. For host_discovery, the first variable we need is 'bridge_interface' . This is based on the different vlan configurations. Currently we have four bridges based on different distros.\r\nI'm not sure best place to fetch/configure this but as per discussion with @kbidarkar, I think we can fetch this with hostname. Please let us know if anyone has any other way to get that ?\r\n\r\n4. we may also required to fetch Gateway/Subnet etc depending on selected bridge interface.\r\n\r\nNote: I tested manually host discovery by configuring external libvirt server along with our Satellite automation rhel67 server."},"comment":{"url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/comments/171199972","html_url":"https://github.com/SatelliteQE/robottelo/issues/3063#issuecomment-171199972","issue_url":"https://api.github.com/repos/SatelliteQE/robottelo/issues/3063","id":171199972,"user":{"login":"sghai","id":620852,"avatar_url":"https://avatars.githubusercontent.com/u/620852?v=3","gravatar_id":"","url":"https://api.github.com/users/sghai","html_url":"https://github.com/sghai","followers_url":"https://api.github.com/users/sghai/followers","following_url":"https://api.github.com/users/sghai/following{/other_user}","gists_url":"https://api.github.com/users/sghai/gists{/gist_id}","starred_url":"https://api.github.com/users/sghai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sghai/subscriptions","organizations_url":"https://api.github.com/users/sghai/orgs","repos_url":"https://api.github.com/users/sghai/repos","events_url":"https://api.github.com/users/sghai/events{/privacy}","received_events_url":"https://api.github.com/users/sghai/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T07:18:10Z","updated_at":"2016-01-13T07:18:10Z","body":"This issue is well covered and implemented. Thank you @kbidarkar for helping out to populate Vlan networking stuff. It was a great help.\r\n\r\nClosing this issue."}}