-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade the OVA base OS and the Build OVA workflow
to use AL2023
#147
Comments
Update ReportThis issue will require several changes to both the Github Actions workflows and the Ansible playbook so I will make a check list to keep track of the needed changes. (This list can be modified depending if more or less changes are required).
|
Update ReportRewriting the workflowI have been rewriting the workflow to add the creation of the base instance with the Allocator and in it install Python to be able to run the Ansible playbook. Executing commands in the VMAlso, I have been thinking about the possible solutions to, from the workflow, execute commands inside the VM that will be inside the AWS instance. Getting the IP of the VMFinally, to get the IP of the VM inside the instance, you can use VirtualBox commands but I have been testing and none of the workarounds I have tried have worked. |
Update ReportI've been rewriting the workflow to delete the created instance with the Allocator. Also, I have added the step to copy the OVA file from the AWS instance. Finally, I have deleted the steps of the workflow that aren't necessary anymore. |
Update ReportToday I have been working in the Ansible playbook to execute the Also, I have moved and verified the tasks of the playbook to a newly created Python script that will be the one executed inside the VM. I have also been working in adding the new necessary steps inside this script. |
Update ReportToday I've been changing the Ansible playbook to install the necessary tools to deploy a VM inside the AWS metal instance. |
Update ReportToday I had a little time to continue developing the workflow due to other urgent tasks. I implemented the Also, I created a folder inside the |
Update ReportToday I have modified the Ansible playbook to connect to the VM via SSH and run the Python script. I have also modified the Vagrantfile accordingly. Finally, I have also added two more task on this comment as I need to check if the execution of some steps or scripts is still necessary. Tomorrow, I will develop the Python script as I have to modify the current commands as the paths that we clean have changed. I will also add the necessary customization commands to have the base VM configured as will be the future OVA. |
Update ReportToday I have been working on developing the Python script itself. It remains to add the task to customize the network of the VM and migrate the cleaning tasks that were in the Ansible playbook. |
Update ReportToday I have finished the code development. |
Update ReportI have been doing tests with the workflow and solving some issues that have appeared while testing. The last change I made is adding retries to the The next step if the vagrant up works will be to test the new Python script. I'll be doing that tomorrow. |
Update ReportToday I have been testing the workflow and fixing the issues that were coming out. Now, it reaches the task of executing the Python script so we are close to have the OVA created. Tomorrow I will be fixing those errors and finishing the workflow development. |
Description
The OVA base OS must be upgraded to resolve vulnerabilities and EOL issues.
Some research and PoC were made here. We must use it as a guideline.
Related
The text was updated successfully, but these errors were encountered: