Open neuroserve opened 4 weeks ago
Hi @neuroserve and thanks for raising this issue.
The OpenStack go-discovery configuration options do not have a region
key and quickly looking at the code I believe the help options to be accurate.
The log messages you detailed are coming from Nomad's internal RPC handler which go-discover does not use. I wonder if the discovery process is finding a server that has a region configuration different to what is expected, and therefore when it joins it attempts to find a region that is not available? If you have any additional information, please let me know.
I don't have the ability to spin up an OpenStack cluster at the moment, to properly test this out myself.
Oh - I didn't look into the code. I thought, all authentication parameters would be available. Like
auth_url:
username:
project_id:
project_name:
user_domain_name:
region_name:
interface:
identity_api_version:
I'll try to create a cluster without the region key and see, whether it changes anything. I hope, that there is no server with a different region-setting, as they are deployed via terraform.
Nomad version
Operating system and Environment details
Nomad is used inside an Openstack environment. The servers use the
retry_join
statement to join the cluster:Issue
Using the openstack-region in the retry_join statement creates a warning in the Nomad log:
Reproduction steps
Use the retry_join statement in a Nomad configuration in an Openstack environment and use the Openstack region in it. That will create the above warnings.
Expected Result
The use of the Openstack region should not create warning messages.
Actual Result
The use of the Openstack region creates a warning message in the Nomad log.
Nomad Server logs (if appropriate)
S. above.