Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2117516

Summary: cakephp-mysql-persistent has incorrect apiVersion for Deploymentconfig object
Product: OpenShift Container Platform Reporter: Joel Rosental R. <jrosenta>
Component: SamplesAssignee: Feny Mehta <fmehta>
Status: CLOSED DUPLICATE QA Contact: Jitendar Singh <jitsingh>
Severity: medium Docs Contact:
Priority: low    
Version: 4.10CC: fmehta
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-22 07:35:59 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 Joel Rosental R. 2022-08-11 08:33:44 UTC
Description of problem:
While attempting to launch cakephp-mysql-persistent template an error is shown because the deploymentconfig object has incorrect api version.

Message shown:

Conditions:
    Type:               InstantiateFailure
    Status:             True
    LastTransitionTime: 2022-08-05 14:57:37 +0200 CEST
    Reason:             Failed
    Message:            no matches for kind "DeploymentConfig" in version "apps.openshift.io/v1v1"

It should be "apps.openshift.io/v1" instead.

Version-Release number of selected component (if applicable):
v4.10.24 and v4.10.25.

How reproducible:
Always.

Steps to Reproduce:
1. Instantiate aforementioned template either from the web console or CLI.


Actual results:

DeploymentConfig object included into the template can't be instantiated.

Expected results:
It should be instantiated.

Additional info:
The "cakephp-mysql-example" (ephemeral version) works as expected.

Comment 2 Feny Mehta 2022-08-22 07:35:59 UTC

*** This bug has been marked as a duplicate of bug 2064610 ***