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

fixed synatx for floating ip allocation for proxy instances

parent e7d9064a
No related branches found
No related tags found
2 merge requests!117This MR merges the feat-hpc-factory branch, which was focused on building and deploying proxy images for the COD cluster.,!101Refactor CI/CD pipeline to include workflow rules and retain only deploy jobs
......@@ -54,9 +54,11 @@ deploy_http_proxy_node:
--flavor $INSTANCE_FLAVOR
--wait
$HTTP_PROXY_INSTANCE_NAME)
- |
# Create and assign a floating IP to the HTTP Proxy instance
HTTP_PROXY_FLOATING_IP=$(openstack floating ip create $PKR_VAR_floating_ip_network -f value -c floating_ip_address)
echo "Created FLOATING_IP: $HTTP_PROXY_FLOATING_IP"
- |
# Associate the floating IP with the HTTP Proxy instance
openstack server add floating ip $HTTP_PROXY_INSTANCE_ID $HTTP_PROXY_FLOATING_IP
echo "Associated FLOATING_IP $HTTP_PROXY_FLOATING_IP with HTTP_PROXY_INSTANCE_ID $HTTP_PROXY_INSTANCE_ID"
......@@ -89,9 +91,11 @@ deploy_ssh_proxy_node:
--flavor $INSTANCE_FLAVOR
--wait
$SSH_PROXY_INSTANCE_NAME)
- |
# Create and assign a floating IP to the SSH Proxy instance
SSH_PROXY_FLOATING_IP=$(openstack floating ip create $PKR_VAR_floating_ip_network -f value -c floating_ip_address)
echo "Created SSH_PROXY_FLOATING_IP: $SSH_PROXY_FLOATING_IP"
- |
# Associate the floating IP with the SSH Proxy instance
openstack server add floating ip $SSH_PROXY_INSTANCE_ID $SSH_PROXY_FLOATING_IP
echo "Associated FLOATING_IP $SSH_PROXY_FLOATING_IP with SSH_PROXY_INSTANCE_ID $SSH_PROXY_INSTANCE_ID"
......
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