After a bit more digging and tidy up of the .elasticluster/config file, 
minimalist working version below.  

#
[cloud/openstack_HPC1]
provider=openstack

[login/ubuntu]
image_user=ubuntu
image_user_sudo=root
image_sudo=True
user_key_name=elasticluster
user_key_private=~/.ssh/id_rsa
user_key_public=~/.ssh/id_rsa.pub

[cluster/slurm1]
cloud=openstack_HPC1
network_ids=b5a0acca-646b-4a19-bb95-19c69caad085
login=ubuntu
setup=slurm
frontend_nodes=1
compute_nodes=1
ssh_to=frontend
security_group=default
image_id=7d849dea-c90a-4231-9afb-50199385a4c4
flavor=200GB_16GB_RAM_4CPU

[setup/slurm]
frontend_groups=slurm_master
compute_groups=slurm_worker


change: less empty spaces (perhaps a weirg endline?) and renaming of the 
cluster to slurm1, allowing for all previosuly cached config elements to be 
cleared, successfully deploying a scaled down version on ussuri.


On Wednesday, February 10, 2021 at 10:30:45 PM UTC Tomasz Skowron wrote:

> Data is not bein populated at all...
>
> [tomaszs@elasticluster elasticluster]$ ./elasticluster.sh -vvvv start 
> slurm | grep "Specifying networks for node"
> 2021-02-10 22:28:58 aa67417d8b1a elasticluster[1] DEBUG Specifying 
> networks for node slurm-compute002: 
> 2021-02-10 22:28:58 aa67417d8b1a elasticluster[1] DEBUG Specifying 
> networks for node slurm-compute001: 
> 2021-02-10 22:28:58 aa67417d8b1a elasticluster[1] DEBUG Specifying 
> networks for node slurm-compute004: 
> 2021-02-10 22:28:58 aa67417d8b1a elasticluster[1] DEBUG Specifying 
> networks for node slurm-frontend001: 
> 2021-02-10 22:28:58 aa67417d8b1a elasticluster[1] DEBUG Specifying 
> networks for node slurm-compute003: 
>
>
> Kind Regards,
>
> Tomasz
> On Wednesday, February 10, 2021 at 10:27:51 PM UTC Tomasz Skowron wrote:
>
>> appears to be similar to:
>>
>> https://github.com/elasticluster/elasticluster/issues/584, however in my 
>> case I am using the correct ID (for the network).
>>
>> openstack version: ussuri, would perhaps  the client version from 
>> elasticluster be incompatible?
>>
>>
>>
>>
>>
>>
>> On Wednesday, February 10, 2021 at 9:42:13 PM UTC Tomasz Skowron wrote:
>>
>>> to be more precise, network_ids has been used in the cluster section, as 
>>> per the documentation:
>>>
>>>
>>> https://elasticluster.readthedocs.io/en/latest/configure.html?highlight=network#overridable-configuration-keys
>>>
>>>
>>>
>>> [cluster/slurm]
>>> cloud=openstack_HPC1
>>> network_ids=9d702630-5e7a-4ef6-a60a-ffe23d4f5826
>>> login=ubuntu
>>> setup=slurm
>>> frontend_nodes=1
>>> compute_nodes=4
>>> ssh_to=frontend
>>> security_group=default
>>> image_id=7d849dea-c90a-4231-9afb-50199385a4c4
>>> flavor=200GB_16GB_RAM_4CPU
>>> [setup/slurm]
>>> frontend_groups=slurm_master
>>> compute_groups=slurm_worker
>>> ~                                
>>>
>>> On Wednesday, February 10, 2021 at 9:27:50 PM UTC Tomasz Skowron wrote:
>>>
>>>>
>>>> Hi,
>>>>
>>>> One hurdle with the on-premises opentack sorted, another one comes up.
>>>>
>>>> In the docs, I could not find information as to where and under which 
>>>> key to specify uuid of the network to use, resulting in error:
>>>>
>>>> ent.exceptions.BadRequest'>
>>>> Traceback (most recent call last):
>>>>   File "elasticluster/cluster.py", line 580, in _start_node
>>>>     node.start()
>>>>   File "elasticluster/cluster.py", line 1319, in start
>>>>     **self.extra)
>>>>   File "elasticluster/providers/openstack.py", line 578, in 
>>>> start_instance
>>>>     vm = self.nova_client.servers.create(node_name, image_id, flavor, 
>>>> **vm_start_args)
>>>>   File 
>>>> "/usr/local/lib/python2.7/site-packages/novaclient/v2/servers.py", line 
>>>> 1481, in create
>>>>     return self._boot(response_key, *boot_args, **boot_kwargs)
>>>>   File 
>>>> "/usr/local/lib/python2.7/site-packages/novaclient/v2/servers.py", line 
>>>> 846, in _boot
>>>>     return_raw=return_raw, **kwargs)
>>>>   File "/usr/local/lib/python2.7/site-packages/novaclient/base.py", 
>>>> line 364, in _create
>>>>     resp, body = self.api.client.post(url, body=body)
>>>>   File 
>>>> "/usr/local/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 
>>>> 392, in post
>>>>     return self.request(url, 'POST', **kwargs)
>>>>   File "/usr/local/lib/python2.7/site-packages/novaclient/client.py", 
>>>> line 78, in request
>>>>     raise exceptions.from_response(resp, body, url, method)
>>>> BadRequest: Bad network format: missing 'uuid' (HTTP 400) (Request-ID: 
>>>> req-4de2dd7e-8b49-41c5-bd70-e233bf942e58)
>>>> 2021-02-10 21:25:34 002d2fc41e0b elasticluster[1] ERROR Could not start 
>>>> node `compute001`: Bad network format: missing 'uuid' (HTTP 400)
>>>>
>>>> Is there anyone with a known solution to this?
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticluster" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticluster/81530277-4fd6-4b1d-99b7-bc1023e46f26n%40googlegroups.com.

Reply via email to