Azure / Azure/hpcpack

Scheduler.connect(IP_address) fails to connect to headnode

Open
#24 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
PowerShell
Stars
34
Forks
19
Avg merge
41m
Merged PRs (30d)
4

Description

#### Problem Description
Using the scheduler::Connect("1.2.3.4") with an IP address for a 2019 Headnode results in the following error message:

"No DNS entries exist for host _machinename_.2.3.4. No such host is known"

#### Steps to Reproduce
`
IScheduler scheduler = new Scheduler();
scheduler.Connect(headNodeName);
`
#### Expected Results
The scheduler connects.

#### Actual Results
"No DNS entries exist for host _machinename_.2.3.4. No such host is known"

#### Additonal Comments
Using machine name in the Connect() call works without issue.
Using IP results in the error containing the machine name in place of the first part of the IP address.
Connecting to 2012R2 Headnode works with IP or machine name

Changing the code to
`scheduler.Connect(headNodeName, ConnectMethod.Remoting);`
means we can connect to a 2019 headnode using IP.

Reporting as it feels like an issue, and an odd error message. Also do not 100% understand the implications of using of the different ConnectMethod enums and can't find enough documentation on them.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.