Description of problem: After the first discovery of a host, even if I shut down the host it would still appear in the list of discovered hosts which means that when we go to deploy we would probably fail deploying due to host not being available. raising a question - should the discovery only run once or be updated as a fluid list? should perhaps a power state be added to the hosts? Version-Release number of selected component (if applicable): foreman.livecd.lan-apache-1.0-1.noarch How reproducible: 100% Steps to Reproduce: 1. install the foreman 2. discover hosts 3. shut down the hosts 4. reload the discover host screen Actual results: we still see the hosts list in the host discovery list even though they are shut down Expected results: since an unavailable host can fail a deployment - perhaps this list should be fluid or a power state should be added to the hosts list? Additional info:
Is the power on/off state available in the API of discovered hosts
Does anybody know if power on/off is determined if 'facts_hash' is returned or not???
ping, does anybody know if power on/off is determined if 'facts_hash' is returned or not???
cchase already has a PR for this: https://github.com/fusor/fusor/pull/925 There is an issue fixed in Foreman Discovery that we require, however it won't be in Satellite until 6.3. https://bugzilla.redhat.com/show_bug.cgi?id=1347023