fix: add network interface to htcondor execute point module + update … - #5225
Conversation
Summary of ChangesHello @Thibaut-Nurit, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request significantly enhances the HTCondor execute point module by introducing the capability to configure multiple network interfaces for instances, providing greater flexibility in network setup and integration. Concurrently, it updates the version constraints for several core Terraform modules used across the HTCondor components (execute point, access point, and central manager) to allow for more recent module versions, improving maintainability and enabling access to new features or bug fixes from the underlying modules. Highlights
Changelog
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request introduces support for multiple network interfaces in the htcondor-execute-point module, including backward compatibility for the old network configuration. It also updates module dependencies across several htcondor modules and adds the region parameter where it was missing. The changes are well-structured. My review includes suggestions to improve maintainability by using more restrictive version constraints for Terraform modules and to enhance the robustness of the new network interface implementation.
|
The purpose of this MR is to update the execute point module so it can have multiple network interfaces. Also as the version needed for some cluster toolkit modules is hashicorp/google >= 7, I updated terraform-google-modules/vm/google//modules/mig version The venv_python_path in install_ansible.sh was also changed so it would take the python exe that was installed. |
328f929 to
cdbb68b
Compare
|
/gcbrun |
cdbb68b to
bfca0e0
Compare
|
/gcbrun |
34ceec0 to
eac13fa
Compare
6bd28bc to
0901297
Compare
66aa8bf to
d589eba
Compare
|
Hello @arpit974 |
|
/gcbrun |
|
/gcbrun(d589eba) |
3e4d17b to
7a9aaad
Compare
|
/gcbrun |
|
Could you run the pre commits again please with the latest version? There are some failures caused due to readme formatting. |
03d1c2c to
a4281d5
Compare
Hello, it should be good now |
a4281d5 to
a2825fc
Compare
|
/gcbrun |
|
Thank you for this contribution! I just have one suggestion: In Setting To support Shared VPCs seamlessly, we can add In type = list(object({
network = string
subnetwork = optional(string)
subnetwork_project = optional(string) # <-- Add this fieldIn subnetwork_project = network_interface.subnetwork != null ? coalesce(network_interface.subnetwork_project, var.project_id) : nullThis ensures that users can specify a host project if they are attaching an interface from a Shared VPC. Everything else looks good to me! Will approve once the tests pass with the new commit. |
a2825fc to
9ec876e
Compare
…install ansible script
9ec876e to
24b41a5
Compare
|
Hello, |
|
/gcbrun |
Thanks! Approved. |
9dfb191
into
GoogleCloudPlatform:develop
…htcondor templates version
Submission Checklist
NOTE: Community submissions can take up to 2 weeks to be reviewed.
Please take the following actions before submitting this pull request.