Commits on Source (88)
-
Bo-Chun Chen authoredf02cc123
-
Bo-Chun Chen authored6bfa8a54
-
Eesaan Atluri authored
Packer image build will fail to git clone any repos residing inside internal gitlab. So we define the internal DNS IPs in the network module while creating the initial infrastructure for packer img builds
4e2e15c0 -
c0 to compute
87d3e5d1 -
Modify warewulf config file with compute node info
f9fdd9b4 -
Accessible by calling module.nodes.id will return a list of compute node id Mainly using for null-resource trigger
af77f1de -
Accessible by calling module.nodes.network will return a map which key is node name and its network info
a022c869 -
Accessible by calling module.create-ohpc-instance.id will return a string
98996fc2 -
Changing ohpc id and compute node id will trigger it Will run node registration on ohpc node.
72ff347d -
To avoid error when there's two images with same name use data source to get the latest image to boot up compute nodes
1753acb9 -
John-Paul Robinson authored899f30ea
-
d2a09faa
-
e780ee69
-
John-Paul Robinson authored94fdf7e7
-
Packer image build will fail to git clone any repos residing inside internal gitlab. So we define the internal DNS IPs in the network module while creating the initial infrastructure for packer img builds
794272c7 -
426a36ca
-
f49a28e9
-
6f7a7295
-
John-Paul Robinson authored98c730f3
-
John-Paul Robinson authored5ad0673b
-
John-Paul Robinson authored
Add file provisioner to sync the submodule state.
81f99fb7 -
John-Paul Robinson authored3651937e
-
John-Paul Robinson authorede462bd58
-
John-Paul Robinson authored
There is no call into ood by terraform so trigger it's ops steps via an ansible-playbook during the user-data script.
ba853696 -
John-Paul Robinson authored7ce57e79
-
John-Paul Robinson authored
Collapse compute node and ood ops provisioners into a single null_resource to avoid a race condition when the ansible tasks run in parallel. This lead to inconsistent deploys where the slurm configuration was not working after deploy. Putting the provisioners in a single resource ensures they run in series. This comes at the cost of a loss of deploy flexibility. Now ood and compute nodes ops steps will always run on changes rather than selectively. Since this feature wasn't fully functional, it's loss is not significant.
b65cbbeb -
John-Paul Robinson authored985954f4
-
EesaanAtluri authoreda989cafb
-
Ravi Tripathi authored
1. Add a GitLab CD file to deploy the images created at [ohpc-packer](https://gitlab.rc.uab.edu/rc/ohpc-packer) via Terraform. 2. Use the existing routers and networks for Terraform deploy 3. Added a submodule for [CRI_Cluster_Monitor](https://github.com/eesaanatluri/CRI_Cluster_Monitor) and updated the existing one for [CRI_XCBC](https://github.com/jprorama/CRI_XCBC) 4. Refactored code to work with newer versions (>1.3) of terraform.
975f7446 -
Ravi Tripathi authored
Add CD feature to the repo See merge request rc/terraform-openstack!6
20e2344b -
Ravi Tripathi authoredd8ce441b
-
Ravi Tripathi authored
Giving an option to use a predetermined image for xdmod See merge request !10
54099053 -
Bo-Chun Chen authored4b27aa5c
-
c36bacd1
-
Ravi Tripathi authored
Create an internal network and use it for each deploy See merge request !12
b74ba02c -
6176393e
-
Ravi Tripathi authored
Feat attach vol See merge request !8
1bd0fe8d -
b3f3cc5b
-
Ravi Tripathi authored
Feat mount data vol See merge request rc/terraform-openstack!9
f5c2b124 -
Ravi Tripathi authored
Failed the pipeline job if it failed See merge request !11
da0ef77d -
Ravi Tripathi authored906c7012
-
Ravi Tripathi authored
Add environemnt specific variables See merge request !13
886c4f05 -
Ravi Tripathi authoredd304d25b
-
Ravi Tripathi authored80a3d585
-
Ravi Tripathi authored
Add dev as the deafult env See merge request !14
c0cd93d2 -
Ravi Tripathi authored1f5dc7e6
-
Ravi Tripathi authored
Create a volume out of a snapshot for dev and staging envs See merge request !15
aae19feb -
Ravi Tripathi authoredd8242942
-
Ravi Tripathi authored
Adding a logic for terraform apply See merge request !16
2f4fb55f -
Ravi Tripathi authored27f9ab3a
-
Ravi Tripathi authored
Change flavor for staging to m1.large See merge request !17
c32d2edc -
Ravi Tripathi authoredd04ff7c5
-
Ravi Tripathi authored
Add job for floating ip swap in staging env See merge request !18
a3325a0c -
Ravi Tripathi authored11c8c121
-
Ravi Tripathi authored
Use image name based on the target env See merge request rc/terraform-openstack!19
f8903f46 -
Ravi Tripathi authoredfb64d144
-
Ravi Tripathi authored
Adding {} around var name See merge request rc/terraform-openstack!20
1866bb74 -
Ravi Tripathi authoredbcd5e372
-
Ravi Tripathi authored
Adding TARGET_ENV as environments for different jobs See merge request rc/terraform-openstack!21
a67e6a12 -
Ravi Tripathi authored9cf7dc9e
-
Ravi Tripathi authored
Move staging floating ip to CICD variables See merge request !22
346c5a39 -
782c244f
-
Ravi Tripathi authored
Feat prod deploy xdmod See merge request rc/terraform-openstack!23
3e6d5a19 -
Eesaan Atluri authoreddff3fb3d
-
Eesaan Atluri authored
Move the var flavor to CICD settings See merge request rc/terraform-openstack!25
8efd2b0c -
Ravi Tripathi authoredb856b742
-
Ravi Tripathi authored
Rearranging the order so mounting the vol happens before ansible run See merge request !26
6c147c23 -
e9898d4e
-
Eesaan Atluri authored
Change build date to iso8601 format Closes #6 See merge request rc/terraform-openstack!24
063daa1a -
Eesaan Atluri authorede913729c
-
Eesaan Atluri authored41c9f677
-
Eesaan Atluri authored
Change the volume version to v3 for cinder v3 See merge request !32
c668e1b0 -
Krish Moodbidri authored
- Added a new data block storage resource in Terraform configuration. - Updated the remote-exec provisioner to mount the XDMod queue data volume.
6b80f48e -
Krish Moodbidri authored
The original code assumed only one volume is attached to the specified OpenStack instance. This commit modifies the script to correctly handle scenarios where multiple volumes are attached. The updated code uses an array to store all attached volumes, iterates over the array, and performs actions for each volume. This enhances the script's flexibility and ensures accurate detachment messages for all attached volumes. Changes: - Modified the extraction of the instance ID to handle potential changes in the output structure. - Implemented an array to store all attached volumes. - Added a loop to iterate over the array and print detachment messages for each volume.
69294b12 -
Krish Moodbidri authored
This commit optimizes the process of detaching and removing staging volumes from the staging instance. It replaces the previous approach of using a single staging volume with a new approach that involves two distinct volumes.
fe8da389 -
Krish Moodbidri authored268618ee
-
Krish Moodbidri authored07b0ad42
-
Krish Moodbidri authoredd725aef6
-
Krish Moodbidri authored0bf01341
-
Krish Moodbidri authoredb539e44f
-
Krish Moodbidri authored
Attach production queue volume (xdmod-prod-queue-vol-$BUILD_DATE) to staging instance $instance_id at /dev/vdc.
ff8c54e7 -
Krish Moodbidri authored6c12eb7c
-
Krish Moodbidri authoredba07c30b
-
Krish Moodbidri authoredd61c1f04
-
Krish Moodbidri authoredfa1c1fac
-
Krish Moodbidri authoredcfc6a162
-
Krish Moodbidri authoredbea4b659
-
Krish Moodbidri authored9ab5d7fd
Showing
- .gitlab-ci.yml 201 additions, 0 deletions.gitlab-ci.yml
- .gitmodules 4 additions, 0 deletions.gitmodules
- CRI_Cluster_Monitor 1 addition, 0 deletionsCRI_Cluster_Monitor
- CRI_XCBC 1 addition, 1 deletionCRI_XCBC
- external-network/main.tf 16 additions, 7 deletionsexternal-network/main.tf
- floating-ip/floating-main.tf 17 additions, 0 deletionsfloating-ip/floating-main.tf
- internal-network/main.tf 23 additions, 5 deletionsinternal-network/main.tf
- key-pair/main.tf 19 additions, 2 deletionskey-pair/main.tf
- main.tf 111 additions, 44 deletionsmain.tf
- nodes/main.tf 47 additions, 6 deletionsnodes/main.tf
- ohpc-instance/main.tf 45 additions, 16 deletionsohpc-instance/main.tf
- ood-instance/main.tf 37 additions, 12 deletionsood-instance/main.tf
- vars.tf 10 additions, 8 deletionsvars.tf
.gitlab-ci.yml
0 → 100644