Bug 1830917 - [IPI][OSP] Install fails on 4.2 when creating volumes for master instances
Summary: [IPI][OSP] Install fails on 4.2 when creating volumes for master instances
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 4.2.z
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Martin André
QA Contact: David Sanz
URL:
Whiteboard:
Depends On: 1836110
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-04 10:27 UTC by David Sanz
Modified: 2020-05-28 14:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1836110 (view as bug list)
Environment:
Last Closed: 2020-05-28 14:39:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description David Sanz 2020-05-04 10:27:38 UTC
Description of problem:
Installing 4.2 on OSP using booting from volumes for master has started to fail.

Working with latest nightly version:

01:48:58  + ./openshift-install version
01:48:58  ./openshift-install v4.2.32

01:57:18  level=error
01:57:18  level=error msg="Error: Your query returned no results. Please change your search criteria and try again."
01:57:18  level=error
01:57:18  level=error msg="  on ../../../../tmp/openshift-install-844377072/bootstrap/main.tf line 112, in data \"openstack_images_image_v2\" \"bootstrap_image\":"
01:57:18  level=error msg=" 112: data \"openstack_images_image_v2\" \"bootstrap_image\" {"
01:57:18  level=error
01:57:18  level=error
01:57:18  level=error
01:57:18  level=error msg="Error: Your query returned no results. Please change your search criteria and try again."
01:57:18  level=error
01:57:18  level=error msg="  on ../../../../tmp/openshift-install-844377072/masters/main.tf line 1, in data \"openstack_images_image_v2\" \"masters_img\":"
01:57:18  level=error msg="   1: data \"openstack_images_image_v2\" \"masters_img\" {"
01:57:18  level=error
01:57:18  level=error
01:57:18  level=error msg="Failed to read tfstate: open /tmp/openshift-install-844377072/terraform.tfstate: no such file or directory"
01:57:18  level=fatal msg="failed to fetch Cluster: failed to generate asset \"Cluster\": failed to create cluster: failed to apply using Terraform"

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.Install 4.2 using boot from volume features on install-config.yaml file
2.
3.

Actual results:

Installation fails


Expected results:

Installation is completed creating volumes for master nodes

Additional info:

Installation of 4.2 works fine without booting from volume

Comment 2 Martin André 2020-05-04 15:11:57 UTC
The problem is that in 4.2, the base image is hardcoded to rhcos and BFV won't read the new image name from the OPENSHIFT_INSTALL_OS_IMAGE_OVERRIDE variable. I think it's OK since OPENSHIFT_INSTALL_OS_IMAGE_OVERRIDE is only intended for developers.

Comment 3 Martin André 2020-05-04 15:57:57 UTC
This request came from QE - they use a shared tenant where they cannot make assumption about an `rhcos` image always pointing at an 4.2 rhcos image. This will allow them to test boot from volume.

Comment 4 Pierre Prinetti 2020-05-07 14:26:34 UTC
The team considers this bug as valid. Considering this bug priority and our capacity, we are deferring this bug to an upcoming sprint. If there are reasons for us to reprioritise, please let us know.

Comment 7 Pierre Prinetti 2020-05-28 14:39:45 UTC
Fixed in 4.3, we don't plan on backporting.


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