Bug 2050227

Summary: Installation on PSI fails with: 'openstack platform does not have the required standard-attr-tag network extension'
Product: OpenShift Container Platform Reporter: OpenShift BugZilla Robot <openshift-bugzilla-robot>
Component: InstallerAssignee: Matthew Booth <mbooth>
Installer sub component: OpenShift on OpenStack QA Contact: Jon Uriarte <juriarte>
Status: CLOSED ERRATA Docs Contact:
Severity: urgent    
Priority: urgent CC: aos-bugs, pprinett
Version: 4.10   
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:43:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 2050146    
Bug Blocks:    

Description OpenShift BugZilla Robot 2022-02-03 13:46:36 UTC
+++ This bug was initially created as a clone of Bug #2050146 +++

Installer actually emits 2 non-debug logs:

WARNING Quota API is not available and therefore will skip checking them: failed to get network quota records: failed to get QuotaSets from OpenStack Network API: Resource not found
FATAL failed to fetch Master Machines: failed to load asset "Install Config": openstack platform does not have the required standard-attr-tag network extension

The first is the real problem: PSI appears to have disabled quota. Unfortunately this causes collectInfo to incorrectly shortcut [1] and not load network extensions, which results in the incorrectly reported network validation error.

[1] https://github.com/openshift/installer/blob/7224c3ab169c5e69254b1dd51ab794db314ad94d/pkg/asset/installconfig/openstack/validation/cloudinfo.go#L210-L226

Comment 1 ShiftStack Bugwatcher 2022-02-04 07:05:13 UTC
Removing the Triaged keyword because:
* the QE automation assessment (flag qe_test_coverage) is missing

Comment 5 Jon Uriarte 2022-02-07 10:48:08 UTC
Verified in 4.10.0-0.nightly-2022-02-07-032308 on PSI.

As the quota API is not available a warning message is shown but OCP installation progresses successfully:

02-07 09:43:55.810  [INFO] Generating manifests files.....
02-07 09:43:59.448  level=warning msg=Quota API is not available and therefore will skip checking them: failed to get network quota records: failed to get QuotaSets from OpenStack Network API: Resource not found
02-07 09:43:59.448  level=info msg=Credentials loaded from file "/home/jenkins/ws/workspace/ocp-common/Flexy-install/flexy/workdir/clouds.yaml.20220207-270-16nbg6s"
02-07 09:44:00.100  level=info msg=Consuming Install Config from target directory
02-07 09:44:00.851  level=info msg=Manifests created in: /home/jenkins/ws/workspace/ocp-common/Flexy-install/flexy/workdir/install-dir/manifests and /home/jenkins/ws/workspace/ocp-common/Flexy-install/flexy/workdir/install-dir/openshift
02-07 09:44:09.866  [INFO] Launching 'create cluster' installation step.....
02-07 09:44:10.171  level=debug msg=OpenShift Installer 4.10.0-0.nightly-2022-02-07-032308
02-07 10:29:30.355  level=info msg=Install complete!
02-07 10:29:30.355  level=info msg=To access the cluster as the system:admin user when using 'oc', run 'export KUBECONFIG=xx'
02-07 10:29:30.355  level=info msg=Access the OpenShift web-console here: https://xx
02-07 10:29:30.355  level=info msg=Login to the console with user: "kubeadmin", and password: "xx"
02-07 10:29:30.356  level=debug msg=Time elapsed per stage:
02-07 10:29:30.356  level=debug msg=           masters: 9m36s
02-07 10:29:30.356  level=debug msg=         bootstrap: 50s
02-07 10:29:30.356  level=debug msg=Bootstrap Complete: 11m48s
02-07 10:29:30.356  level=debug msg=               API: 1m28s
02-07 10:29:30.356  level=debug msg= Bootstrap Destroy: 31s
02-07 10:29:30.356  level=debug msg= Cluster Operators: 20m18s
02-07 10:29:30.356  level=info msg=Time elapsed: 45m14s
02-07 10:29:30.356  waiting for operation up to 36000 seconds..

Comment 9 errata-xmlrpc 2022-03-10 16:43:18 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 (Moderate: OpenShift Container Platform 4.10.3 security 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.