Skip to content

Unable to run the init-openshift.ps1 (Windows) successfully #17

@anandvardhan1907

Description

@anandvardhan1907

Hi I am trying to configure the rhpam7-install-demo application on openshift cluster using automated installation method by running init-openshift.ps1 command on powershell in admin mode
but i am getting two errors as mentioned below.

  1. Fetching ImageStreams from registry.
    Call-Oc : Cannot process argument transformation on parameter 'out'. Cannot convert value "System.String" to type "System.Boolean". Boolean parameters accept only Boolean values and numbers, such as $True, $False, 1 or 0.
    At C:\redhat\rhpam7-install-demo-master\rhpam7-install-demo-master\support\openshift\provision.ps1:224 char:74
  • ... mage rhpam-businesscentral-rhel8:$IMAGE_STREAM_TAG —confirm -n $($P ...
  •                                                       ~~~~~~~
    
    • CategoryInfo : InvalidData: (:) [Call-Oc], ParameterBindingArgumentTransformationException
    • FullyQualifiedErrorId : ParameterArgumentTransformationError,Call-Oc
  1. Call-Oc : Error creating application.
    At C:\redhat\rhpam7-install-demo-master\rhpam7-install-demo-master\support\openshift\provision.ps1:288 char:3
  • Call-Oc $argList $True "Error creating application." $True
  • + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Call-Oc
    
    

Could you please help me to resolve this ?

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