Azure / Azure/cyclecloud-slurm
Parameter UsePublicNet is not recognized
- Dominant language
- Python
- Stars
- 84
- Forks
- 56
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 1
Description
Since this week, when importing this project in my CycleCloud deployment I have the error "Parameter UsePublicNet is not recognized" when trying to deploy the template as - is (the goal is to update it but the error is in the as-is template as well)
The below method worked well just a few weeks ago when I last used it...
**to reproduce:**
log on to the cyclecloud server, with the cyclecloud cli installed on it
run these commands:
```
PROJECTNAME=MyProject
LOCKER=$(cyclecloud locker list | cut -d' ' -f1)
cyclecloud project init $PROJECTNAME
cd $PROJECTNAME
cyclecloud project default_locker $LOCKER --global
cyclecloud project fetch https://github.com/Azure/cyclecloud-slurm ./
cyclecloud import_template --force -f ./templates/slurm.txt
cyclecloud project upload
```
In cyclecloud create a new cluster from the new template
when I try to save the template I get the error "Parameter UsePublicNet is not recognized"
This parameter is not available in the ./templates/slurm.txt file, nor does it seem to appear in any of the other files downloaded using the project fetch command...
```
ActivityId #665f22c0-0071-5a84c5cc406e-0
Category system
ClusterName 01
EntryPoint https://10.16.0.5/exec/form/Create:Cloud.Cluster
Id #665f22c0-0091-5a84c5cc406e-0
Level
Warning
warning
Message Parameter UsePublicNet is not known (referenced by node scheduler, attribute NetworkInterfaces[0].AssociatePublicIpAddress)
Module application.template.util
OperationId #665f22c0-0081-5a84c5cc406e-0
Primary true
Priority medium
Time 2:20 PM
User cycleadmin
```
its not possible to save the cluster with the error...
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the failure on a CycleCloud server with the listed CLI commands, then inspect the fetched project and templates/slurm.txt for references to UsePublicNet and NetworkInterfaces[0].AssociatePublicIpAddress. Done means the as-is template imports and the new cluster template can be saved without the unknown-parameter warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure
- Domain
- cloud, hpc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100