Bug 1813513

Summary: 4.3.5 Azure install died with: Error updating Route Table Association for Subnet: ReferencedResourceNotProvisioned after PutSecurityRuleOperation
Product: OpenShift Container Platform Reporter: W. Trevor King <wking>
Component: InstallerAssignee: Abhinav Dahiya <adahiya>
Installer sub component: openshift-installer QA Contact: Johnny Liu <jialiu>
Status: CLOSED NOTABUG Docs Contact:
Severity: low    
Priority: unspecified    
Version: 4.3.z   
Target Milestone: ---   
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 17:31:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description W. Trevor King 2020-03-14 05:08:40 UTC
Job [1]:

level=error msg="Error: Error updating Route Table Association for Subnet \"ci-op-zpjrv9mn-7f637-kkpvn-master-subnet\" (Virtual Network \"ci-op-zpjrv9mn-7f637-kkpvn-vnet\" / Resource Group \"ci-op-zpjrv9mn-7f637-kkpvn-rg\"): network.SubnetsClient#CreateOrUpdate: Failure sending request: StatusCode=400 -- Original Error: Code=\"ReferencedResourceNotProvisioned\" Message=\"Cannot proceed with operation because resource /subscriptions/d38f1e38-4bed-438e-b227-833f997adf6a/resourceGroups/ci-op-zpjrv9mn-7f637-kkpvn-rg/providers/Microsoft.Network/networkSecurityGroups/ci-op-zpjrv9mn-7f637-kkpvn-controlplane-nsg used by resource /subscriptions/d38f1e38-4bed-438e-b227-833f997adf6a/resourceGroups/ci-op-zpjrv9mn-7f637-kkpvn-rg/providers/Microsoft.Network/virtualNetworks/ci-op-zpjrv9mn-7f637-kkpvn-vnet/subnets/ci-op-zpjrv9mn-7f637-kkpvn-master-subnet is not in Succeeded state. Resource is in Failed state and the last operation that updated/is updating the resource is PutSecurityRuleOperation.\" Details=[]"

Not sure what's going on there, and might just be a provider-side flake, but I didn't see substrings mentioned in existing bugs so I thought I'd file a new one in case other folks see this error and come searching for substrings in Bugzilla.

Currently just the one error (on a 4.3.5 install) in the past 24+h [2].

[1]: https://prow.svc.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-origin-installer-e2e-azure-upgrade/94
[2]: https://search.svc.ci.openshift.org/?name=azure&search=resource+is+PutSecurityRuleOperation&maxAge=336h&context=0&type=build-log

Comment 1 Abhinav Dahiya 2020-03-27 17:31:11 UTC
> https://search.svc.ci.openshift.org/?name=azure&search=resource+is+PutSecurityRuleOperation&maxAge=336h&context=0&type=build-log

don't see this error anymore, seems like it was one-of azure problem