Bug 1852938

Summary: [release-4.4] Fix azure tests in unzoned environment
Product: OpenShift Container Platform Reporter: Corey Daley <cdaley>
Component: StorageAssignee: Christian Huffman <chuffman>
Status: CLOSED ERRATA QA Contact: Wei Duan <wduan>
Severity: high Docs Contact:
Priority: high    
Version: 4.5CC: aos-bugs, bbennett, chuffman, jsafrane, openshift-bugzilla-robot, skuznets
Target Milestone: ---   
Target Release: 4.4.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
[sig-storage] In-tree Volumes [Driver: azure] [Testpattern: Dynamic PV (delayed binding)] topology [Top Level] [sig-storage] In-tree Volumes [Driver: azure] [Testpattern: Dynamic PV (delayed binding)] topology should provision a volume and schedule a pod with AllowedTopologies [sig-storage] In-tree Volumes [Driver: azure] [Testpattern: Dynamic PV (immediate binding)] topology [Top Level] [sig-storage] In-tree Volumes [Driver: azure] [Testpattern: Dynamic PV (immediate binding)] topology should provision a volume and schedule a pod with AllowedTopologies
Last Closed: 2020-08-25 06:20:31 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:
Bug Depends On: 1828174    
Bug Blocks:    

Comment 2 Jan Safranek 2020-07-01 18:18:14 UTC
*** Bug 1852955 has been marked as a duplicate of this bug. ***

Comment 3 Bowen Song 2020-07-07 21:21:59 UTC
Isn't this same as https://bugzilla.redhat.com/show_bug.cgi?id=1852924 ?

Comment 5 Christian Huffman 2020-07-09 20:39:38 UTC
*** Bug 1855436 has been marked as a duplicate of this bug. ***

Comment 7 Steve Kuznetsov 2020-07-22 22:09:38 UTC
ALso

[sig-storage] In-tree Volumes [Driver: azure] [Testpattern: Dynamic PV (default fs)] subPath [Top Level] [sig-storage] In-tree Volumes [Driver: azure] [Testpattern: Dynamic PV (default fs)] subPath should support file as subpath [LinuxOnly]
[sig-storage] In-tree Volumes [Driver: azure] [Testpattern: Dynamic PV (ext4)] volumes [Top Level] [sig-storage] In-tree Volumes [Driver: azure] [Testpattern: Dynamic PV (ext4)] volumes should allow exec of files on the volume
[sig-storage] In-tree Volumes [Driver: azure] [Testpattern: Dynamic PV (default fs)] volumes [Top Level] [sig-storage] In-tree Volumes [Driver: azure] [Testpattern: Dynamic PV (default fs)] volumes should store data

Comment 10 Wei Duan 2020-08-03 09:29:38 UTC
I checked the related cases passed recently, but all in region "centralus", I'd like to wait some days to check case passed in region "westus".

Comment 11 Wei Duan 2020-08-06 10:33:48 UTC
Hi Huffman,

As e2e did not be triggered in "westus", I test it from our side but I did not reproduce this issue in our test env successfully on both 4.4.14 (without fix) and 4.4.16 Candidate nightly (with fix).

In our test env, I set up 3 master + 2 worker in region "westus",  pv were attached and mounted successfully.
A. From the Aure portal, all nodes have "Availability zone": "NA", and the mounted volumes have "Availability zone":None.
B. From the oc get info, all nodes have Labels: "topology.kubernetes.io/region=westus" and "topology.kubernetes.io/zone=0", and the mounted volumes only have "region=westus" for nodeSelector in nodeAffinity.


Is it because our flexy installation added the label for "Availability zone", so I could not reproduce? Or something I missed?

Comment 15 Wei Duan 2020-08-11 03:11:25 UTC
I see in some azure dynamic case failed in the latest test, but from the log, it is a different failure on region centralus.
https://prow.ci.openshift.org/view/gcs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-azure-ovn-4.4/1292870227733778432

Comment 18 errata-xmlrpc 2020-08-25 06:20:31 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (OpenShift Container Platform 4.4.18 bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:3440