Skip to content
Snippets Groups Projects
Commit 6c12eb7c authored by Krish Moodbidri's avatar Krish Moodbidri
Browse files

Mount second volume to /data/xdmod/queues

parent ff8c54e7
No related branches found
No related tags found
3 merge requests!47Integration Testing: Sequential Merge and Validation of Four Feature Branches (PR #43,#44, #45,#46),!43feat: Add new data volume for XDMod queue data,!34feat: Add new data volume for XDMod queue data
Pipeline #9076 failed with stages
in 26 seconds
...@@ -73,6 +73,7 @@ module "create-ohpc-instance" { ...@@ -73,6 +73,7 @@ module "create-ohpc-instance" {
ohpc_user = var.ohpc_user ohpc_user = var.ohpc_user
ssh_private_key = var.ssh_private_key ssh_private_key = var.ssh_private_key
vol_id = data.openstack_blockstorage_volume_v3.disk.id vol_id = data.openstack_blockstorage_volume_v3.disk.id
vol_id2 = data.openstack_blockstorage_volume_v3.disk2.id
} }
# runs the ood-instance module - creates ood instance using variables defined above # runs the ood-instance module - creates ood instance using variables defined above
...@@ -151,6 +152,7 @@ provisioner "remote-exec" { ...@@ -151,6 +152,7 @@ provisioner "remote-exec" {
provisioner "remote-exec" { provisioner "remote-exec" {
inline = [ inline = [
"sudo mount ${module.create-ohpc-instance.device}1 /var/lib/mysql", "sudo mount ${module.create-ohpc-instance.device}1 /var/lib/mysql",
"sudo mount ${module.create-ohpc-instance.device}2 /data/xdmod/queues"
"sudo df -h", "sudo df -h",
"sudo systemctl restart mariadb", "sudo systemctl restart mariadb",
] ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment