Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-15590

[RFE] Create foreman-rake script to associate members of a host collection with a subnet

XMLWordPrintable

      1. Proposed title of this feature request

      [RFE] Create foreman-rake script to associate members of a host collection with a subnet

      3. What is the nature and description of the request?

      I'd like to have a foreman-rake script that, when supplied with the name or ID number of a host collection and of a subnet, will attempt to associate the primary NIC for each host within that host collection to that subnet.

      Some of those attempts will fail due to configuration issues with some hosts' primary NICs, so when such failures occur the script should print an error and continue on to the other hosts in the host collection.

      4. Why does the customer need this? (List the business requirements here)

      Subnets are the easiest way for customers to explicitly control which capsule servers can run remote execution jobs for particular groups of hosts. This is especially important in environments that have strictly segmented networks, such that traffic from one capsule is allowed throughout its own network VLAN, but blocked everywhere else.

      Note: This script should not do any validation of the IP address information of the subnet itself, because doing so would make it more difficult to create and use "dummy" subnets whose sole purpose is to tell Satellite through which capsule server(s) jobs should be run for a given group of hosts.

      5. How would the customer like to achieve this? (List the functional requirements here)

      6. For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.

      • create a subnet
      • associate that subnet with a particular capsule
      • use the script to associate that subnet with a group of target hosts
      • run a remote job against those hosts
      • check the logs on those hosts to verify that the source IP address for the ssh sessions associated with those job executions is limited to the chosen capsule server
      • change the subnet's capsule server association and re-run the remote job
      • check the logs again to verify that the source IP address matches the new capsule server's IP address

      7. Is there already an existing RFE upstream or in Red Hat Bugzilla?

      no

      8. Does the customer have any specific time-line dependencies and which release would they like to target (i.e. RHEL5, RHEL6)?

      no

      9. Is the sales team involved in this request and do they have any additional input?

      no

      10. List any affected packages or components.

      foreman-rake

      11. Would the customer be able to assist in testing this functionality if implemented?

      yes

            jira-bugzilla-migration RH Bugzilla Integration
            jira-bugzilla-migration RH Bugzilla Integration
            RH Bugzilla Integration RH Bugzilla Integration
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: