Skip to content

Commit b6670c7

Browse files
fix: avoid nfs mount error on network services vsi by waiting for alb to finish its process (#840)
1 parent 04de6d7 commit b6670c7

File tree

7 files changed

+11
-17
lines changed

7 files changed

+11
-17
lines changed

modules/powervs-vpc-landing-zone/main.tf

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ locals {
8585
}
8686

8787
module "configure_network_services" {
88-
source = "./submodules/ansible"
88+
source = "./submodules/ansible"
89+
depends_on = [module.vpc_file_share_alb]
8990

9091
bastion_host_ip = local.access_host_or_ip
9192
ansible_host_or_ip = local.network_services_vsi_ip

modules/powervs-vpc-landing-zone/submodules/ansible/ansible_node_packages.sh

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# This bash script performs #
55
# - installation of packages #
66
# - ansible galaxy collections. #
7-
# - updates the OS #
7+
# #
88
############################################################
99

1010
GLOBAL_RHEL_PACKAGES="rhel-system-roles rhel-system-roles-sap expect"
@@ -90,12 +90,6 @@ main::install_packages() {
9090
done
9191
done
9292

93-
# Update OS
94-
main::log_info 'Updating OS'
95-
if ! yum update -y; then
96-
main::log_warning 'OS Update failed'
97-
fi
98-
9993
main::log_info "All packages installed successfully"
10094
fi
10195

modules/powervs-vpc-landing-zone/submodules/ansible/main.tf

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ resource "terraform_data" "execute_playbooks" {
9595
provisioner "remote-exec" {
9696
inline = [
9797
"chmod +x ${local.dst_script_file_path}",
98-
local.dst_script_file_path,
99-
"shutdown -r +1"
98+
local.dst_script_file_path
10099
]
101100
}
102101
}

reference-architectures/extension/deploy-arch-ibm-pvs-inf-extension.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use-case: ITServiceManagement
1515
industry: Technology
1616
compliance: SAPCertified
1717
content-type: reference-architecture
18-
version: v5.0.0
18+
version: v5.0.1
1919

2020
---
2121

@@ -27,7 +27,7 @@ version: v5.0.0
2727
{: toc-industry="Technology"}
2828
{: toc-use-case="ITServiceManagement"}
2929
{: toc-compliance="SAPCertified"}
30-
{: toc-version="5.0.0"}
30+
{: toc-version="5.0.1"}
3131

3232
The Power Virtual Server with VPC landing zone as variation 'Extend Power Virtual Server with VPC landing zone' creates an additional Power Virtual Server workspace and connects it with the already created Power Virtual Server with VPC landing zone. It builds on the existing Power Virtual Server with VPC landing zone deployed as a variation 'Create a new architecture'.
3333

reference-architectures/full-stack/deploy-arch-ibm-pvs-inf-full-stack.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use-case: ITServiceManagement
1515
industry: Technology
1616
compliance: SAPCertified
1717
content-type: reference-architecture
18-
version: v5.0.0
18+
version: v5.0.1
1919

2020
---
2121

@@ -27,7 +27,7 @@ version: v5.0.0
2727
{: toc-industry="Technology"}
2828
{: toc-use-case="ITServiceManagement"}
2929
{: toc-compliance="SAPCertified"}
30-
{: toc-version="5.0.0"}
30+
{: toc-version="5.0.1"}
3131

3232
The PowerVS workspace deployment of the Power Virtual Server with VPC landing zone creates VPC services and a Power Virtual Server workspace and interconnects them.
3333

reference-architectures/import-workspace/deploy-arch-ibm-pvs-inf-import-workspace.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use-case: ITServiceManagement
1515
industry: Technology
1616
compliance:
1717
content-type: reference-architecture
18-
version: v5.0.0
18+
version: v5.0.1
1919

2020
---
2121

reference-architectures/quickstart/deploy-arch-ibm-pvs-inf-quickstart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use-case: ITServiceManagement
1616
industry: Technology
1717
compliance:
1818
content-type: reference-architecture
19-
version: v5.0.0
19+
version: v5.0.1
2020

2121
---
2222

@@ -28,7 +28,7 @@ version: v5.0.0
2828
{: toc-industry="Technology"}
2929
{: toc-use-case="ITServiceManagement"}
3030
{: toc-compliance=""}
31-
{: toc-version="5.0.0"}
31+
{: toc-version="5.0.1"}
3232

3333
Quickstart deployment of the Power Virtual Server with VPC landing zone creates VPC services, a Power Virtual Server workspace, and interconnects them. It also deploys a Power Virtual Server of chosen T-shirt size or custom configuration. Supported Os are Aix, IBM i, and Linux images.
3434

0 commit comments

Comments
 (0)