Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-2314

Investigate: Can ansible plugins help us to solve appstore-playbook bug reported in IGBF-2311?

    Details

    • Type: New Plugin
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      This task is to analyze the use of ansible plugins as a potential solution for IGBF-2311 to eliminate skipped messages and improvement of output to show a clearer message which is easier to spot.
      For example in the doc attached in IGBF-2311 there are too many skipped messages and it hard to spot the message "Aborting since identical entry of instance has been found"

        Attachments

          Issue Links

            Activity

            Hide
            cdias1 Chester Dias (Inactive) added a comment -

            Ansible plugin offers a chance at improving the architectural and design aspect of the core functionalities provided by ansible.
            Below are links to the ansible plugins
            https://docs.ansible.com/ansible/latest/plugins/plugins.html

            Some of the explored plugins were callback plugins which help in modifying and improving the visible aspects of the console messages
            like for example the
            skippy and full_skip provides the ability to remove the skipped debug messages that occupy the area of the output
            the skipped messages can sometimes use too much space as observed in the IGB-2311

            Show
            cdias1 Chester Dias (Inactive) added a comment - Ansible plugin offers a chance at improving the architectural and design aspect of the core functionalities provided by ansible. Below are links to the ansible plugins https://docs.ansible.com/ansible/latest/plugins/plugins.html Some of the explored plugins were callback plugins which help in modifying and improving the visible aspects of the console messages like for example the skippy and full_skip provides the ability to remove the skipped debug messages that occupy the area of the output the skipped messages can sometimes use too much space as observed in the IGB-2311
            Hide
            cdias1 Chester Dias (Inactive) added a comment -

            The plugin mail provides the function of sending an email depending on the status of the execution....There is also a plugin that allows improving the quality of output by making the output more readable.

            Show
            cdias1 Chester Dias (Inactive) added a comment - The plugin mail provides the function of sending an email depending on the status of the execution....There is also a plugin that allows improving the quality of output by making the output more readable.
            Hide
            cdias1 Chester Dias (Inactive) added a comment -

            TO Add a plugin (the process is tried but needs more understanding)
            simply create a folder on the same level as the playbook which will use the plugin
            folder name: type of plugin it is
            inside the folder the plugin py has to be placed.

            Ansible comes prebuilt with some plugins which are normally kept disabled for performance improvement
            To view all installed plugins run the below command
            ansible-doc --list

            Show
            cdias1 Chester Dias (Inactive) added a comment - TO Add a plugin (the process is tried but needs more understanding) simply create a folder on the same level as the playbook which will use the plugin folder name: type of plugin it is inside the folder the plugin py has to be placed. Ansible comes prebuilt with some plugins which are normally kept disabled for performance improvement To view all installed plugins run the below command ansible-doc --list
            Hide
            cdias1 Chester Dias (Inactive) added a comment -

            Ansible also allows to develop your own plugins which can be placed in a custom folder .....however reference to the plugin has to be mentioned in the config file which can be placed in the default path or in the same repo as the ansible playbooks. In the latter case, it will override existing config only during that run.

            Show
            cdias1 Chester Dias (Inactive) added a comment - Ansible also allows to develop your own plugins which can be placed in a custom folder .....however reference to the plugin has to be mentioned in the config file which can be placed in the default path or in the same repo as the ansible playbooks. In the latter case, it will override existing config only during that run.
            Hide
            ann.loraine Ann Loraine added a comment -

            Chester Dias: Please edit the ticket - please read following!

            • Refine the title to state the actual task to be done - use imperative voice, same as with git commit messages.

            For example:

            • "Investigate: Can ansible plugins help us to solve appstore-playbook bug reported in IGBF-2311?"

            or

            • "Investigate using ansible plugins to solve appstore-playbook bug reported in IGBF-2311"

            Then, in the description, explain why it is necessary to perform the task.

            For example, you might write something like:

            "Currently, ansible playbooks used to provision new app store sites are failing to execute. (See IGBF-2311.) The main problem seems to be [whatever the problem is]. One potential solution is to use ansible plugins, which are [summarize what they are]. These could be useful because [explain what prompted you to look into them as a possible solution]."

            (The above may not be correct – I do not actually know why you are investigating plugins apart from being interested in it.)

            Then, describe what is needed to be done to complete the task. In describing what is needed to be done, be specific enough so that the person who does the task and he person who does the first-level review will be able to understand and review what was done. Try to leave as little doubt as possible as to what the goals of the ticket are.

            Last but not least, estimate how long it will take to finish the task in units of "story points." The current estimate - 0.5 - sounds good!

            Show
            ann.loraine Ann Loraine added a comment - Chester Dias : Please edit the ticket - please read following! Refine the title to state the actual task to be done - use imperative voice, same as with git commit messages. For example: "Investigate: Can ansible plugins help us to solve appstore-playbook bug reported in IGBF-2311 ?" or "Investigate using ansible plugins to solve appstore-playbook bug reported in IGBF-2311 " Then, in the description, explain why it is necessary to perform the task. For example, you might write something like: "Currently, ansible playbooks used to provision new app store sites are failing to execute. (See IGBF-2311 .) The main problem seems to be [whatever the problem is] . One potential solution is to use ansible plugins, which are [summarize what they are] . These could be useful because [explain what prompted you to look into them as a possible solution] ." (The above may not be correct – I do not actually know why you are investigating plugins apart from being interested in it.) Then, describe what is needed to be done to complete the task. In describing what is needed to be done, be specific enough so that the person who does the task and he person who does the first-level review will be able to understand and review what was done. Try to leave as little doubt as possible as to what the goals of the ticket are. Last but not least, estimate how long it will take to finish the task in units of "story points." The current estimate - 0.5 - sounds good!
            Hide
            cdias1 Chester Dias (Inactive) added a comment - - edited

            The idea was to use plugins to remove skipped hosts from the entry in the output of ansible execution since we didn't want to do this by editing the common ansible.cfg file
            I have editted the description and header as requested

            Show
            cdias1 Chester Dias (Inactive) added a comment - - edited The idea was to use plugins to remove skipped hosts from the entry in the output of ansible execution since we didn't want to do this by editing the common ansible.cfg file I have editted the description and header as requested

              People

              • Assignee:
                cdias1 Chester Dias (Inactive)
                Reporter:
                cdias1 Chester Dias (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: