Skip to content

bootstrap VM using old version of ironic #775

@hardys

Description

@hardys

Describe the bug

Originally reported via openshift/installer#2282 and related to openshift/installer#2234 which recently landed

We're seeing issues starting ironic-inspector on the bootstrap VM, we can see the image referenced is:

Aug 28 08:51:17 localhost startironic.sh[1972]: + IRONIC_INSPECTOR_IMAGE=registry.svc.ci.openshift.org/origin/4.2-2019-08-28-054558@sha256:2cf170cc3e
6dad9c9bae32dea3a82267530a8d02742d16e865bb9d8b2fc7653f

However attempts to start the ironic-inspector container fail like this, indicating that it's an old version of ironic:

[core@localhost ~]$ sudo podman logs ironic-inspector | grep ConfigFileValueError
2019-08-28 09:34:13.447 1 CRITICAL ironic_inspector [-] Unhandled error: ConfigFileValueError: Value for option store_data is not valid: Valid values are [none, swift], but found 'database'
2019-08-28 09:34:13.447 1 ERROR ironic_inspector ConfigFileValueError: Value for option store_data is not valid: Valid values are [none, swift], but found 'database'

This has already been discussed in openshift/ironic-inspector-image#17, and with the nightly release payload we've previously been getting an ART build (which contains the right version of ironic), vs a CI build (which currently does not ref openshift/release#4835 openshift/release#4836 openshift/release#4837)

Previously we were getting an image from quay.io/openshift-release-dev/ocp-v4.0-art-dev - this was tested and proven to work OK, hence the revert in openshift/ironic-inspector-image#17

The problem seems to be that 65a987c#diff-2407feeeedf4de6f5b077ee1746f344b stopped setting the installer release image override, but we still need to set OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE or the installer uses the default (origin) pullspec

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions