Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
anandvardhan1907 opened this issue Mar 31, 2020 · 3 comments
Open

Comments

@anandvardhan1907
Copy link

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 ?

@anandvardhan1907
Copy link
Author

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

@eschabell
Copy link
Member

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

@akoylu
Copy link

akoylu commented Aug 13, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants