Cannot deploly an instance at a specific host --(no such host found) [nova]
Eugen Block
eblock at nde.ag
Wed Nov 11 14:03:28 UTC 2020
There might be some mixup during the setup, I'm not sure how the other
cell would be created. I'd probably delete the cell with UUID
1a0fde85-8906-46fb-b721-01a28c978439 and retry the discover_hosts with
the right cell UUID:
nova-manage cell_v2 delete_cell --cell_uuid
1a0fde85-8906-46fb-b721-01a28c978439
nova-manage cell_v2 discover_hosts --cell_uuid
1522c22f-64d4-4882-8ae8-ed0f9407407c
Does that work?
Zitat von Pavlos Basaras <pbasaras at gmail.com>:
> Hello,
>
> yes i have this discover_hosts_in_cells_interval = 300
>
>
> interestingly when i issued a combination of map_cell_and_hosts and
> update_cell
>
> the output from: nova-manage cell_v2 list_hosts
> +-----------+--------------------------------------+-------------+
> | Cell Name | Cell UUID | Hostname |
> +-----------+--------------------------------------+-------------+
> | None | 1a0fde85-8906-46fb-b721-01a28c978439 | computenode |
> | None | 1a0fde85-8906-46fb-b721-01a28c978439 | nrUE |
> | cell1 | 1522c22f-64d4-4882-8ae8-ed0f9407407c | openstack |
> +-----------+--------------------------------------+-------------+
>
> when the new compute nodes seem to not have a cell mapped
>
> best,
> P.
>
>
> On Wed, Nov 11, 2020 at 3:26 PM Eugen Block <eblock at nde.ag> wrote:
>
>> Hm,
>>
>> indeed rather strange to me.
>>
>> Do you see anything in the nova-scheduler.log? If you activated the
>>
>> discover_hosts_in_cells_interval = 300
>>
>> it should query for new hosts every 5 minutes.
>>
>>
>>
>> Zitat von Pavlos Basaras <pbasaras at gmail.com>:
>>
>> > Hello,
>> >
>> > thanks very much for your prompt reply.
>> >
>> >
>> > regarding the first command "nova-manage cell_v2 list_hosts" the output
>> is
>> > the following (openstack is the host of the controller). I dont see any
>> > other node here, even when i execute the discover_hosts command
>> >
>> > +-----------+--------------------------------------+-----------+
>> > | Cell Name | Cell UUID | Hostname |
>> > +-----------+--------------------------------------+-----------+
>> > | cell1 | 1522c22f-64d4-4882-8ae8-ed0f9407407c | openstack |
>> > +-----------+--------------------------------------+-----------+
>> >
>> >
>> > Also this is the output from my controller when i use the command: sudo
>> -s
>> > /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova (not
>> sure
>> > if this helps)
>> > Found 2 cell mappings.
>> > Skipping cell0 since it does not contain hosts.
>> > Getting computes from cell 'cell1': 1522c22f-64d4-4882-8ae8-ed0f9407407c
>> > Found 0 unmapped computes in cell: 1522c22f-64d4-4882-8ae8-ed0f9407407c
>> >
>> > any thoughts?
>> >
>> >
>> > best,
>> > Pavlos.
>>
>>
>>
>>
>>
More information about the openstack-discuss
mailing list