Azure / Azure/cyclecloud-slurm
public ip on node arrray
- Dominant language
- Python
- Stars
- 84
- Forks
- 56
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 1
Description
Hi,
I've the following configuration that used load balancer for public access to login nodes,
```
[[nodearray login]]
SubnetId = $loginSubnetId
CloudInit = '''#!/bin/sh
sudo su
# some other commands
'''
InitialCount = $NumberLoginNodes
MachineType = $loginMachineType
ImageName = $LoginImageName
AdditionalClusterInitSpecs = $LoginClusterInitSpecs
[[[network-interface eth0]]]
AssociatePublicIpAddress = $publicLogin
[[[input-endpoint SSH]]]
PrivatePort = 22
PublicPort = 20000
[[[cluster-init cyclecloud/slurm:login:3.0.11]]]
[[[configuration]]]
autoscale.enabled = false
slurm.node_prefix = ${ifThenElse(NodeNamePrefix=="Cluster Prefix", StrJoin("-", ClusterName, ""), NodeNamePrefix)}
slurm.use_nodename_as_hostname = $NodeNameIsHostname
```
It was working with cyclecloud 8.6.4-3320, but its now failing with the new version, I get this when starting the cluster
```
CycleCloud Version: 8.7.1-3364
Cluster: c01 (version 8.7.x)
==============================
Status: Error [Virtual Machine]
End Time: 2025-03-09T23:35:07.803Z
Description: Public IPs cannot be specified on nodes in an array
Detail:
com.cyclecomputing.core.UserException: Public IPs cannot be specified on nodes in an array
at com.cyclecomputing.azure.node.NetworkUtilities.getEffectiveNetworkInterfaces(NetworkUtilities.java:247)
at com.cyclecomputing.azure.NetworkInterfaces.getEffectiveNetworkInterfaces(NetworkInterfaces.java:66)
at com.cyclecomputing.azure.NetworkInterfaces.getVmssNicsForNode(NetworkInterfaces.java:60)
at com.cyclecomputing.azure.vm.StandardVirtualMachineBuilder$VMSS.getVirtualMachineScaleSetNetworkProfile(StandardVirtualMachineBuilder.java:1040)
at com.cyclecomputing.azure.vm.StandardVirtualMachineBuilder$VMSS.getVirtualMachineProfile(StandardVirtualMachineBuilder.java:897)
at com.cyclecomputing.azure.vm.StandardVirtualMachineBuilder$VMSS.getVirtualMachineScaleSetProperties(StandardVirtualMachineBuilder.java:864)
at com.cyclecomputing.azure.vm.StandardVirtualMachineBuilder$VMSS.getModel(StandardVirtualMachineBuilder.java:783)
at com.cyclecomputing.azure.vm.StandardVirtualMachineBuilder.getModelForCell(StandardVirtualMachineBuilder.java:133)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:190)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:208)
at org.python.core.PyObject.__call__(PyObject.java:477)
at org.python.core.PyObject.__call__(PyObject.java:481)
at org.python.core.PyMethod.__call__(PyMethod.java:141)
at azurelib.live_handler$py.convert_cell_to_scaleset$53(/opt/cycle_server/system/work/.plugins_expanded/.expanded/cloud-a7534f76-ac36-435e-a8f3-a39cf7c2ad79/lib/python/azurelib/live_handler.py:310)
at azurelib.live_handler$py.call_function(/opt/cycle_server/system/work/.plugins_expanded/.expanded/cloud-a7534f76-ac36-435e-a8f3-a39cf7c2ad79/lib/python/azurelib/live_handler.py)
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyBaseCode.call(PyBaseCode.java:150)
at org.python.core.PyFunction.__call__(PyFunction.java:426)
at org.python.core.PyMethod.__call__(PyMethod.java:141)
at org.python.pycode._pyx373.convertCellToScaleset$7(/opt/cycle_server/system/work/.plugins_expanded/.expanded/cloud-a7534f76-ac36-435e-a8f3-a39cf7c2ad79/plugins/azure/cluster/cell/update_scaleset.py:34)
at org.python.pycode._pyx373.call_function(/opt/cycle_server/system/work/.plugins_expanded/.expanded/cloud-a7534f76-ac36-435e-a8f3-a39cf7c2ad79/plugins/azure/cluster/cell/update_scaleset.py)
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyBaseCode.call(PyBaseCode.java:306)
at org.python.core.PyBaseCode.call(PyBaseCode.java:197)
at org.python.core.PyFunction.__call__(PyFunction.java:485)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237)
at org.python.core.PyMethod.__call__(PyMethod.java:228)
at org.python.core.PyMethod.__call__(PyMethod.java:218)
at org.python.core.PyMethod.__call__(PyMethod.java:213)
at org.python.core.PyObject._jcallexc(PyObject.java:3565)
at org.python.core.PyObject._jcall(PyObject.java:3598)
at org.python.proxies.azure.cluster.cell.update_scaleset$BaijiDriver$41.convertCellToScaleset(Unknown Source)
at com.cyclecomputing.azure.autoscale.ScalesetCell.getScalesetDefinition(ScalesetCell.java:159)
at com.cyclecomputing.azure.autoscale.Cell.resize(Cell.java:242)
at com.cyclecomputing.azure.autoscale.CellProcessor.process(CellProcessor.java:380)
at com.cyclecomputing.azure.autoscale.CellProcessor.processCells(CellProcessor.java:133)
at com.cyclecomputing.azure.autoscale.CellProcessor.processCells(CellProcessor.java:113)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:190)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:208)
at org.python.core.PyObject.__call__(PyObject.java:477)
at org.python.core.PyObject.__call__(PyObject.java:481)
at org.python.pycode._pyx373.handle$1(/opt/cycle_server/system/work/.plugins_expanded/.expanded/cloud-a7534f76-ac36-435e-a8f3-a39cf7c2ad79/plugins/azure/cluster/cell/update_scaleset.py:12)
at org.python.pycode._pyx373.call_function(/opt/cycle_server/system/work/.plugins_expanded/.expanded/cloud-a7534f76-ac36-435e-a8f3-a39cf7c2ad79/plugins/azure/cluster/cell/update_scaleset.py)
at org.python.core.PyTableCode.call(PyTableCode.java:173)
at org.python.core.PyBaseCode.call(PyBaseCode.java:306)
at org.python.core.PyFunction.function___call__(PyFunction.java:474)
at org.python.core.PyFunction.__call__(PyFunction.java:469)
at org.python.core.PyFunction.__call__(PyFunction.java:459)
at org.python.core.PyFunction.__call__(PyFunction.java:454)
at com.cyclecomputing.apex.plugin.python.BasePyPluginFunction.evaluate(BasePyPluginFunction.java:139)
at com.cyclecomputing.apex.plugin.python.BasePyPluginFunction.call(BasePyPluginFunction.java:92)
at com.cyclecomputing.apex.plugin.java.PluginInvocationHandler.invoke(PluginInvocationHandler.java:114)
at com.sun.proxy.$Proxy60.handle(Unknown Source)
at com.cyclecomputing.cloud.orchestration.OrchestrationPlugin._execute(OrchestrationPlugin.java:921)
at com.cyclecomputing.cloud.orchestration.OrchestrationPlugin.executePhase(OrchestrationPlugin.java:743)
at sun.reflect.GeneratedMethodAccessor390.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.cyclecomputing.apex.plugin.java.JavaPluginFunction.call(JavaPluginFunction.java:157)
at com.cyclecomputing.appsupport.task.impl.TaskOrganizer.run(TaskOrganizer.java:393)
at com.cyclecomputing.appsupport.task.impl.TaskOrganizer.lambda$executeTaskBlocking$0(TaskOrganizer.java:98)
at com.cyclecomputing.appsupport.task.impl.TaskOrganizer.runTask(TaskOrganizer.java:222)
at com.cyclecomputing.appsupport.task.impl.TaskOrganizer.executeTaskBlocking(TaskOrganizer.java:98)
at com.cyclecomputing.appsupport.task.impl.TaskCoordinator$TaskRunner.run(TaskCoordinator.java:364)
at com.cyclecomputing.apex.plugin.impl.PluginTaskAdapter$PythonRunnable.run(PluginTaskAdapter.java:37)
at com.cyclecomputing.apex.ad.auth.impl.ThreadContextTaskAdapter$CustomRunnable.run(ThreadContextTaskAdapter.java:42)
at com.cyclecomputing.apex.event.impl.EventLogRunnable.run(EventLogRunnable.java:23)
at com.cyclecomputing.core.concurrency.logging.LoggingRunnable.run(LoggingRunnable.java:31)
at com.cyclecomputing.core.concurrency.BracketedQueueService$TaskRunner.run(BracketedQueueService.java:118)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:750)
Affected Nodes (1):
---
Node Name: login-1
Node ID: 7ec3751e-cef2-4918-9230-8e8338f8dc16
```
Has anything changed or am I missing something here?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.