Bug 1771519
| Summary: | Unable to spawn a bootable openstack instance out of rhcos image | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Tareq Alayan <talayan> | ||||
| Component: | RHCOS | Assignee: | Micah Abbott <miabbott> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | Michael Nguyen <mnguyen> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.3.0 | CC: | bbreard, dustymabe, igulina, imcleod, jligon, ncredi, nstielau, yadu, ycui | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 4.3.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: | 2019-12-05 16:28:24 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: | |||||||
| Attachments: |
|
||||||
|
Description
Tareq Alayan
2019-11-12 14:18:49 UTC
I was not able to reproduce this with `43.81.201911120038.0` 1. Download the artifact - `curl -LO https://art-rhcos-ci.s3.amazonaws.com/releases/rhcos-4.3/43.81.201911120038.0/x86_64/rhcos-43.81.201911120038.0-openstack.x86_64.qcow2.gz` 2. Uncompress the artifact - `gunzip rhcos-43.81.201911120038.0-openstack.x86_64.qcow2.gz` 3. Upload to Glance (I did this via the web UI) ``` $ openstack image show rhcos-4.3-devel +------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Field | Value | +------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | checksum | 1225b3afe1dd26c4fdb5b5fd7f371615 | | container_format | bare | | created_at | 2019-11-15T18:32:08Z | | disk_format | qcow2 | | file | /v2/images/e0e30537-8153-45c9-a42a-d2def9b73eda/file | | id | e0e30537-8153-45c9-a42a-d2def9b73eda | | min_disk | 0 | | min_ram | 0 | | name | rhcos-4.3-devel | | owner | 8aa32be0972144a99ce5001d0f07905f | | properties | direct_url='rbd://03e3321d-071f-4b28-a3f9-0256f384bdca/images_d/e0e30537-8153-45c9-a42a-d2def9b73eda/snap', locations='[{u'url': u'rbd://03e3321d-071f-4b28-a3f9-0256f384bdca/images_d/e0e30537-8153-45c9-a42a-d2def9b73eda/snap', u'metadata': {}}]' | | protected | False | | schema | /v2/schemas/image | | size | 2125922304 | | status | active | | tags | | | updated_at | 2019-11-15T18:32:37Z | | virtual_size | None | | visibility | private | +------------------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ ``` 4. Create a server ``` $ openstack server create --image rhcos-4.3-devel --flavor m1.small --user-data /home/miabbott/Documents/ignition.json --network provider_net_cci_5 miabbott-rhcos -4.3-devel +-----------------------------+------------------------------------------------------------------+ | Field | Value | +-----------------------------+------------------------------------------------------------------+ | OS-DCF:diskConfig | MANUAL | | OS-EXT-AZ:availability_zone | | | OS-EXT-STS:power_state | NOSTATE | | OS-EXT-STS:task_state | scheduling | | OS-EXT-STS:vm_state | building | | OS-SRV-USG:launched_at | None | | OS-SRV-USG:terminated_at | None | | accessIPv4 | | | accessIPv6 | | | addresses | | | adminPass | nn56UkVxtENL | | config_drive | | | created | 2019-11-18T16:26:02Z | | flavor | m1.small (b23c29c8-b888-4eff-b839-7a0d4e59fec0) | | hostId | | | id | 4ffd778f-f631-4372-ab4f-023d340dd890 | | image | rhcos-4.3-devel (e0e30537-8153-45c9-a42a-d2def9b73eda) | | key_name | None | | name | miabbott-rhcos-4.3-devel | | progress | 0 | | project_id | 8aa32be0972144a99ce5001d0f07905f | | properties | | | security_groups | name='default' | | status | BUILD | | updated | 2019-11-18T16:26:02Z | | user_id | b8a82476b7b68a5e664a226d5462d982f4cacda2fb7de17d60b62787c1f0671b | | volumes_attached | | +-----------------------------+------------------------------------------------------------------+ ``` 5. Login ``` $ openstack server list | grep rhcos | 4ffd778f-f631-4372-ab4f-023d340dd890 | miabbott-rhcos-4.3-devel | ACTIVE | provider_net_cci_5=10.0.151.127 | rhcos-4.3-devel | m1.small | $ sshq -l core 10.0.151.127 Warning: Permanently added '10.0.151.127' (ECDSA) to the list of known hosts. Red Hat Enterprise Linux CoreOS 43.81.201911120038.0 Part of OpenShift 4.3, RHCOS is a Kubernetes native operating system managed by the Machine Config Operator (`clusteroperator/machine-config`). WARNING: Direct SSH access to machines is not recommended; instead, make configuration changes via `machineconfig` objects: https://docs.openshift.com/container-platform/4.3/architecture/architecture-rhcos.html --- [core@host-10-0-151-127 ~]$ rpm-ostree status State: idle AutomaticUpdates: disabled Deployments: ● ostree://6ae0f75a56fe8a3ca521f118b0332edd39573da32f3cc4ae05209275d34cd0ed Version: 43.81.201911120038.0 (2019-11-12T00:43:26Z) [core@host-10-0-151-127 ~]$ exit logout Connection to 10.0.151.127 closed. ``` We have seen issues reported where the users did not uncompress the artifact after downloading it. Could you try to repeat this test and make sure the artifact is uncompressed before uploading to Glance? @Tareq have you had a chance to retest installing to OpenStack? @Michah yes i am able to use the rhcos and install on openstack. Closing as WORKSFORME |