Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

OpenShift 3.11 deployment fails with unexpected EOF while looking for matching `'' #164

Open
amitlib opened this issue Mar 18, 2019 · 3 comments

Comments

@amitlib
Copy link

amitlib commented Mar 18, 2019

Describe the bug
Trying to deploy OCP 3.11 on existing vnet with template from 03/18/2019.
On the bastion node I can see that deployOpenShift.sh fails with error:

/bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file

To Reproduce
Steps to reproduce the behavior:

  1. Create parameters file with virtualNetworkNewOrExisting=existing
  2. Created all the relevant secrets on Azure vault
  3. run deployment:

az group deployment create -g rnd-ocp11-test2-rg --name ocp11-test2
--template-uri https://raw.githubusercontent.com/Microsoft/openshift-container-platform/master/azuredeploy.json
--parameters @./parameters.json --debug

Expected behavior
OCP 3.11 cluster will be created.

stdout

-r-x------. 1 root root 18145 Mar 18 08:32 deployOpenShift.sh
-rw-------. 1 root root 125 Mar 18 08:32 stderr
-rw-------. 1 root root 0 Mar 18 08:32 stdout
[root@ocp112-bastion 1]# cat stderr
/bin/sh: -c: line 0: unexpected EOF while looking for matching `''
/bin/sh: -c: line 1: syntax error: unexpected end of file

Template Information (please complete the following information):

  • OS: defaultgallery
  • Branch: Master

Additional context
bastionPrep.sh passed successfully.

@haroldwongms
Copy link
Contributor

@amitlib Can you also provide the stdout?

@amitlib
Copy link
Author

amitlib commented Apr 10, 2019

stdout is empty. Tried to deploy it again today and got the same error.

@amitlib
Copy link
Author

amitlib commented Apr 10, 2019

I debugged the deployOpenShift.sh script, and it looks like the

# Setting DOMAIN variable
export DOMAIN=`domainname -d`

doesn't return any value. When reviewing other clusters that we have with OCP 3.9-3.11 that are already running on Azure (up for a few months) , I do get a domainname.

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

No branches or pull requests

2 participants