Summary: | OpenShift 4.6/OSP install fails when node flavor has less than 25GB, even with dedicated storage | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Emilien Macchi <emacchi> |
Component: | Installer | Assignee: | Pierre Prinetti <pprinett> |
Installer sub component: | OpenShift on OpenStack | QA Contact: | weiwei jiang <wjiang> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | urgent | ||
Priority: | urgent | CC: | andbartl, bpritche, bretm, dahernan, egarcia, emacchi, igreen, jialiu, mtleilia, pprinett, wjiang |
Version: | 4.6.z | Keywords: | UpcomingSprint |
Target Milestone: | --- | ||
Target Release: | 4.6.z | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: Installer checks that the minimum 25GB disk is available per node. However, this validation only checks the osp flavor, and does not validate if separate rootDisk has been attached from dedicated storage.
Consequence: When using a small flavor in combination with sufficient rootDisk, Installer refuses to install.
Fix: With this patch, the additional rootDisk is taken into consideration when validating the required disk space.
Result: A successful install can be carried out using a rootDisk in combination with a flavor with a small disk.
|
Story Points: | --- |
Clone Of: | 1891543 | Environment: | |
Last Closed: | 2021-01-25 20:02:12 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: | 1891543 | ||
Bug Blocks: |
Comment 9
Johnny Liu
2020-12-17 12:01:52 UTC
I need to backport https://github.com/openshift/installer/pull/4323 which is a bit tricky, big merge conflict. We depend on this backport: https://github.com/openshift/installer/pull/4344 So once this one merges, we can cherry-pick https://github.com/openshift/installer/pull/4323. Verified with 4.6.0-0.nightly-2021-01-18-070340 ./openshift-install-4.6 4.6.0-0.nightly-2021-01-18-070340 built from commit a8eaa59310e2513d607f5873ca70211617dfebc7 release image registry.ci.openshift.org/ocp/release@sha256:21707e67d495d43925016e18a36620f05775e9cd48bee4abe99badf1bd6c0f0e --- apiVersion: v1 baseDomain: 10.0.101.66.nip.io compute: - architecture: amd64 hyperthreading: Enabled name: worker platform: openstack: rootVolume: size: 25 type: tripleo type: ci.usm-qe-02 replicas: 2 controlPlane: architecture: amd64 hyperthreading: Enabled name: master platform: openstack: rootVolume: size: 25 type: tripleo type: ci.usm-qe-02 replicas: 3 metadata: name: wj45ios1019a networking: clusterNetwork: - cidr: 10.128.0.0/14 hostPrefix: 23 machineNetwork: - cidr: 192.168.0.0/18 networkType: OpenShiftSDN serviceNetwork: - 172.30.0.0/16 platform: openstack: apiFloatingIP: 10.0.101.66 cloud: upshift computeFlavor: ci.usm-qe-02 externalNetwork: provider_net_cci_8 publish: External pullSecret: Hidden sshKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCWkwurd8TNAi+D7ffvyDdhGBSQtJx3/Yedlwvvha0q772vLlOAGlKCw4dajKy6qty1/GGQDgTJ17h3C9TEArI8ZqILnyydeY56DL+ELN3dtGBVof/N2qtW0+SmEnd1Mi7Qy5Tx4e/GVmB3NgX9szwNOVXhebzgBsXc9x+RtCVLPLC8J+qqSdTUZ0UfJsh2ptlQLGHmmTpF//QlJ1tngvAFeCOxJUhrLAa37P9MtFsiNk31EfKyBk3eIdZljTERmqFaoJCohsFFEdO7tVgU6p5NwniAyBGZVjZBzjELoI1aZ+/g9yReIScxl1R6PWqEzcU6lGo2hInnb6nuZFGb+90D openshift-qe@redhat.com Running: ./openshift-install-4.6 create manifests --dir /tmp/tmp.wdbhFtUAQy 2>&1 level=info msg="Credentials loaded from file \"/home/wjiang/osp_remover/clouds.yaml\"" level=info msg="Consuming Install Config from target directory" level=info msg="Manifests created in: /tmp/tmp.wdbhFtUAQy/manifests and /tmp/tmp.wdbhFtUAQy/openshift" --- apiVersion: v1 baseDomain: 10.0.101.66.nip.io compute: - architecture: amd64 hyperthreading: Enabled name: worker platform: openstack: rootVolume: size: 20 type: tripleo type: m1.large replicas: 2 controlPlane: architecture: amd64 hyperthreading: Enabled name: master platform: openstack: rootVolume: size: 20 type: tripleo type: m1.large replicas: 3 metadata: name: wj45ios1019a networking: clusterNetwork: - cidr: 10.128.0.0/14 hostPrefix: 23 machineNetwork: - cidr: 192.168.0.0/18 networkType: OpenShiftSDN serviceNetwork: - 172.30.0.0/16 platform: openstack: apiFloatingIP: 10.0.101.66 cloud: upshift defaultMachinePlatform: type: ci.usm-qe-02 externalNetwork: provider_net_cci_8 publish: External pullSecret: Hidden sshKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCWkwurd8TNAi+D7ffvyDdhGBSQtJx3/Yedlwvvha0q772vLlOAGlKCw4dajKy6qty1/GGQDgTJ17h3C9TEArI8ZqILnyydeY56DL+ELN3dtGBVof/N2qtW0+SmEnd1Mi7Qy5Tx4e/GVmB3NgX9szwNOVXhebzgBsXc9x+RtCVLPLC8J+qqSdTUZ0UfJsh2ptlQLGHmmTpF//QlJ1tngvAFeCOxJUhrLAa37P9MtFsiNk31EfKyBk3eIdZljTERmqFaoJCohsFFEdO7tVgU6p5NwniAyBGZVjZBzjELoI1aZ+/g9yReIScxl1R6PWqEzcU6lGo2hInnb6nuZFGb+90D openshift-qe@redhat.com Running: ./openshift-install-4.6 create manifests --dir /tmp/tmp.pj1fO7z0eB 2>&1 level=fatal msg="failed to fetch Master Machines: failed to load asset \"Install Config\": [platform.openstack.defaultMachinePlatform.type: Not found: \"ci.usm-qe-02\", controlPlane.platform.openstack.rootVolume.size: Invalid value: 20: Volume size must be greater than 25 to use root volumes, had 20, compute[0].platform.openstack.rootVolume.size: Invalid value: 20: Volume size must be greater than 25 to use root volumes, had 20]" 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.6.13 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-2021:0171 |