Uploaded image for project: 'Ansible Automation Platform RFEs'
  1. Ansible Automation Platform RFEs
  2. AAPRFE-2215

Add an option to set "DEFAULT_CONTAINER_RUN_OPTIONS" on execution nodes.

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 2.4, 2.5
    • controller
    • False
    • Hide

      None

      Show
      None
    • False

      1. What is the nature and description of the request?
        • Add an option to set "DEFAULT_CONTAINER_RUN_OPTIONS"  on execution nodes. 
      2. Why does the customer need this? (List the business requirements here)
        • Currently, there are no options to set the "DEFAULT_CONTAINER_RUN_OPTIONS" on execution nodes. The customer wants to set the following options on the execution node to mount the CIFS share inside the EE during runtime. 
          DEFAULT_CONTAINER_RUN_OPTIONS = ['--cap-add=SYS_ADMIN']  
      1. How would you like to achieve this? (List the functional requirements here)
        • By adding "/etc/tower/conf.d/custom.py" or a similar configuration file on the execution node.
      2. Additional info.
        • I tried making changes in the ~/.config/containers/containers.conf in the "[containers]" section as follows
          [containers]
          default_capabilities = [
            "CHOWN",
            "DAC_OVERRIDE",
            "FOWNER",
            "FSETID",
            "KILL",
            "MKNOD",
            "NET_BIND_SERVICE",
            "SETFCAP",
            "SETGID",
            "SETPCAP",
            "SETUID",
            "SYS_ADMIN"  
          ] 

          But it did not help. The mount task still fails. 

       

       

              bcoursen@redhat.com Brian Coursen
              rhn-support-pghadge Prakash Ghadge
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: