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

Bicep deployment with public_ip fails during install #1569

Closed
cperi opened this issue Jun 1, 2023 · 0 comments · Fixed by #1628
Closed

Bicep deployment with public_ip fails during install #1569

cperi opened this issue Jun 1, 2023 · 0 comments · Fixed by #1628
Assignees
Labels
kind/bug Something isn't working

Comments

@cperi
Copy link

cperi commented Jun 1, 2023

Version

Please provide the azhop version used, this one is located in the bottom right of the homepage, or the version you checkout from.
v1.0.35

In what area(s)?

/area administration
/area ansible
/area autoscaling
/area configuration
/area cyclecloud
/area documentation
/area image
/area job-scheduling
/area monitoring
/area ood
/area remote-visualization
/area user-management

Expected Behavior

With pulbic_ip: true is set, expected behavior is for the installation to continue using the public_ip - but the installation fails. checking the inventory file - private ip is being used and that failes, because no vnet peering is setup.

Actual Behavior

chperi@chperi-ThinkPad:~/TFDEP8/az-hop$ ./install.sh
Activating conda environment
ok -- validation done
config.yml passes validation
Running on openpbs
Authentication is basic
Enable WinViz is false
Running playbook /home/chperi/TFDEP8/az-hop/playbooks/ad.yml ...

PLAY [prep socks tunnel] ****************************************************************************************************************************************************************************************

PLAY [Configure AD Server] **************************************************************************************************************************************************************************************

TASK [Read Password from KV] ************************************************************************************************************************************************************************************
Wednesday 31 May 2023 16:17:17 -0400 (0:00:00.048) 0:00:00.048 *********
changed: [ad -> localhost]

TASK [cleanup any remaining socks tunnel] ***********************************************************************************************************************************************************************
Wednesday 31 May 2023 16:17:18 -0400 (0:00:00.889) 0:00:00.938 *********
changed: [ad -> localhost]

TASK [start socks tunnel] ***************************************************************************************************************************************************************************************
Wednesday 31 May 2023 16:17:18 -0400 (0:00:00.258) 0:00:01.196 *********
fatal: [ad -> localhost]: FAILED! => {"changed": true, "cmd": "ssh -i /home/chperi/TFDEP8/az-hop/hpcadmin_id_rsa -fN -D localhost:5985 -p 22 -o StrictHostKeyChecking=no hpcadmin@10.0.0.4", "delta": "0:02:10.796561", "end": "2023-05-31 16:19:29.366452", "msg": "non-zero return code", "rc": 255, "start": "2023-05-31 16:17:18.569891", "stderr": "ssh: connect to host 10.0.0.4 port 22: Connection timed out", "stderr_lines": ["ssh: connect to host 10.0.0.4 port 22: Connection timed out"], "stdout": "", "stdout_lines": []}

TASK [close session on local port] ******************************************************************************************************************************************************************************
Wednesday 31 May 2023 16:19:29 -0400 (0:02:11.044) 0:02:12.241 *********
changed: [ad -> localhost]

PLAY RECAP ******************************************************************************************************************************************************************************************************
ad : ok=3 changed=3 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0

Wednesday 31 May 2023 16:19:29 -0400 (0:00:00.249) 0:02:12.490 *********

shell ----------------------------------------------------------------- 131.55s
command ----------------------------------------------------------------- 0.89s

total ----------------------------------------------------------------- 132.44s

## Steps to Reproduce the Problem

<!-- How can a maintainer reproduce this issue (be detailed) -->

@cperi cperi added the kind/bug Something isn't working label Jun 1, 2023
@xpillons xpillons added this to the Version 1.0.37 milestone Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants