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/0969d967-9bd7-4496-aabd-d988e0c65fc0n%40googlegroups.com.

Reply via email to