Bug 1882649
| Summary: | IPI installer labels all images it uploads into glance as qcow2 | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Pierre Prinetti <pprinett> |
| Component: | Installer | Assignee: | Mike Fedosin <mfedosin> |
| Installer sub component: | OpenShift on OpenStack | QA Contact: | weiwei jiang <wjiang> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | low | ||
| Priority: | low | CC: | asimonel, mfedosin, nmoraiti, wjiang |
| Version: | 4.3.0 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.7.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: | 2021-02-24 15:21:14 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
Pierre Prinetti
2020-09-25 09:15:20 UTC
*** Bug 1888615 has been marked as a duplicate of this bug. *** *** Bug 1889304 has been marked as a duplicate of this bug. *** Checked with OpenShift Installer 4.7.0-0.nightly-2020-10-27-051128
### with install-config way:
# install-config.yaml
---
...
platform:
openstack:
cloud: openstack
computeFlavor: m1.xlarge
region: regionOne
trunkSupport: '1'
octaviaSupport: '0'
lbFloatingIP: 10.0.102.188
ingressFloatingIP: 10.0.101.207
externalNetwork: provider_net_cci_8
clusterOSImage: https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/pre-release/latest/rhcos-4.6.0-rc.4-x86_64-metal4k.x86_64.raw.gz
...
# ./openshift-install create cluster --dir '/home/jenkins/workspace/Launch Environment Flexy/workdir/install-dir' --log-level=debug
...
level=info msg=Obtaining RHCOS image file from 'https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/pre-release/latest/rhcos-4.6.0-rc.4-x86_64-metal4k.x86_64.raw.gz'
level=debug msg=Unpacking file into "/home/jenkins/.cache/openshift-installer/image_cache/9de136efbaf93f08713b72c828be61ec"...
level=debug msg=decompressing the image archive as gz
level=debug msg=Creating a Glance image for RHCOS...
level=debug msg=Image wj47ios1109a-tl67s-rhcos was created.
level=debug msg=Using legacy API to upload RHCOS to the image "wj47ios1109a-tl67s-rhcos" with ID "db46a5b2-e7b5-4245-9438-769a15b59200"
level=debug msg=The data was uploaded.
# openstack image show wj47ios1109a-tl67s-rhcos
+------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| checksum | a83b2d51c78f3b58a716b5a8a266dedd |
| container_format | bare |
| created_at | 2020-11-09T07:49:01Z |
| disk_format | qcow2 |
| file | /v2/images/db46a5b2-e7b5-4245-9438-769a15b59200/file |
| id | db46a5b2-e7b5-4245-9438-769a15b59200 |
| min_disk | 0 |
| min_ram | 0 |
| name | wj47ios1109a-tl67s-rhcos |
| owner | 542c6ebd48bf40fa857fc245c7572e30 |
| properties | direct_url='rbd://03e3321d-071f-4b28-a3f9-0256f384bdca/images_d/db46a5b2-e7b5-4245-9438-769a15b59200/snap', locations='[{u'url': u'rbd://03e3321d-071f-4b28-a3f9-0256f384bdca/images_d/db46a5b2-e7b5-4245-9438-769a15b59200/snap', u'metadata': {}}]' |
| protected | False |
| schema | /v2/schemas/image |
| size | 3553624064 |
| status | active |
| tags | openshiftClusterID=wj47ios1109a-tl67s |
| updated_at | 2020-11-09T07:49:50Z |
| virtual_size | None |
| visibility | shared |
+------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
### with environment variable override way:
# export OPENSHIFT_INSTALL_OS_IMAGE_OVERRIDE=https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/pre-release/latest/rhcos-4.6.0-rc.4-x86_64-metal4k.x86_64.raw.gz
# ./openshift-install create cluster --dir '/home/jenkins/workspace/Launch Environment Flexy/workdir/install-dir' --log-level=debug
...
level=info msg=Obtaining RHCOS image file from 'https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/pre-release/latest/rhcos-4.6.0-rc.4-x86_64-metal4k.x86_64.raw.gz'
level=debug msg=Unpacking file into "/home/jenkins/.cache/openshift-installer/image_cache/9de136efbaf93f08713b72c828be61ec"...
level=debug msg=decompressing the image archive as gz
level=debug msg=Creating a Glance image for RHCOS...
level=debug msg=Image wj47ios1109b-p58g8-rhcos was created.
level=debug msg=Using legacy API to upload RHCOS to the image "wj47ios1109b-p58g8-rhcos" with ID "e9589a6f-10c4-48a7-a0f2-28a119f5ac52"
level=debug msg=The data was uploaded.
...
# openstack image show wj47ios1109b-p58g8-rhcos
+------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field | Value |
+------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| checksum | a83b2d51c78f3b58a716b5a8a266dedd |
| container_format | bare |
| created_at | 2020-11-09T09:00:24Z |
| disk_format | qcow2 |
| file | /v2/images/e9589a6f-10c4-48a7-a0f2-28a119f5ac52/file |
| id | e9589a6f-10c4-48a7-a0f2-28a119f5ac52 |
| min_disk | 0 |
| min_ram | 0 |
| name | wj47ios1109b-p58g8-rhcos |
| owner | 542c6ebd48bf40fa857fc245c7572e30 |
| properties | direct_url='rbd://03e3321d-071f-4b28-a3f9-0256f384bdca/images_d/e9589a6f-10c4-48a7-a0f2-28a119f5ac52/snap', locations='[{u'url': u'rbd://03e3321d-071f-4b28-a3f9-0256f384bdca/images_d/e9589a6f-10c4-48a7-a0f2-28a119f5ac52/snap', u'metadata': {}}]' |
| protected | False |
| schema | /v2/schemas/image |
| size | 3553624064 |
| status | active |
| tags | openshiftClusterID=wj47ios1109b-p58g8 |
| updated_at | 2020-11-09T09:01:17Z |
| virtual_size | None |
| visibility | shared |
+------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
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.7.0 security, bug fix, and enhancement 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-2020:5633 |