Bug 2050146 - Installation on PSI fails with: 'openstack platform does not have the required standard-attr-tag network extension'
Summary: Installation on PSI fails with: 'openstack platform does not have the require...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.10
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 4.11.0
Assignee: Matthew Booth
QA Contact: Jon Uriarte
URL:
Whiteboard:
Depends On:
Blocks: 2050227
TreeView+ depends on / blocked
 
Reported: 2022-02-03 11:01 UTC by Matthew Booth
Modified: 2022-08-10 10:47 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-10 10:46:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift installer pull 5601 0 None open Bug 2050146: Don't shortcut OpenStack scraping if quota is unavailable 2022-02-03 11:12:49 UTC
Red Hat Product Errata RHSA-2022:5069 0 None None None 2022-08-10 10:47:06 UTC

Description Matthew Booth 2022-02-03 11:01:49 UTC
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 2 ShiftStack Bugwatcher 2022-02-04 07:05:11 UTC
Removing the Triaged keyword because:
* the QE automation assessment (flag qe_test_coverage) is missing

Comment 3 Jon Uriarte 2022-02-04 09:59:27 UTC
Verified in 4.11.0-0.nightly-2022-02-04-050619 on PSI.

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

02-04 10:03:26.342  [INFO] Generating manifests files.....
02-04 10:03:27.716  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-04 10:03:27.716  level=info msg=Credentials loaded from file "/home/jenkins/ws/workspace/ocp-common/Flexy-install/flexy/workdir/clouds.yaml.20220204-242-1iac679"
02-04 10:03:27.972  level=info msg=Consuming Install Config from target directory
02-04 10:03:28.543  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-04 10:03:35.378  [INFO] Launching 'create cluster' installation step.....
02-04 10:03:35.647  level=debug msg=OpenShift Installer 4.11.0-0.nightly-2022-02-04-050619
[...]
02-04 10:43:08.926  level=info msg=Install complete!
02-04 10:43:08.926  level=info msg=To access the cluster as the system:admin user when using 'oc', run 'export KUBECONFIG=xx'
02-04 10:43:08.926  level=info msg=Access the OpenShift web-console here: https://xxx
02-04 10:43:08.926  level=info msg=Login to the console with user: "kubeadmin", and password: "xx"
02-04 10:43:08.926  level=debug msg=Time elapsed per stage:
02-04 10:43:08.926  level=debug msg=           masters: 3m22s
02-04 10:43:08.926  level=debug msg=         bootstrap: 1m6s
02-04 10:43:08.926  level=debug msg=Bootstrap Complete: 10m54s
02-04 10:43:08.926  level=debug msg=               API: 3m3s
02-04 10:43:08.926  level=debug msg= Bootstrap Destroy: 25s
02-04 10:43:08.926  level=debug msg= Cluster Operators: 17m47s
02-04 10:43:08.926  level=info msg=Time elapsed: 39m23s
02-04 10:43:08.926  waiting for operation up to 36000 seconds..

Comment 5 Matthew Booth 2022-02-04 10:49:11 UTC
This doesn't require documentation as the bug was never included in a release.

Comment 8 errata-xmlrpc 2022-08-10 10:46:42 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 (Important: OpenShift Container Platform 4.11.0 bug fix and 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.

https://access.redhat.com/errata/RHSA-2022:5069


Note You need to log in before you can comment on or make changes to this bug.