jbossdemocentral / rhpam7-install-demo

29 stars 46 forks source link

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

Open anandvardhan1907 opened 4 years ago

anandvardhan1907 commented 4 years ago

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
  2. 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 ?

anandvardhan1907 commented 4 years ago

Hi @DuncanDoyle @marcuscarvalho , could you please help here ?

eschabell commented 3 years ago

@anandvardhan1907 could you give the new bat file a try?

akoylu commented 3 years ago

There are two init-openshift.ps1 files under https://github.com/jbossdemocentral/rhpam7-install-demo/tree/master/support/openshift! It is not supported by Windows I presume.