<div dir="ltr">Hello,<div><br></div><div>thanks for your help.</div><div><br></div><div>I only added one extra compute node, and i changed the nova.conf on this node to match the controller's.</div><div><br></div><div>Here are the commands.</div><div><br></div><div>$ nova-manage cell_v2 list_cells --verbose<br>+-------+--------------------------------------+-----------------------------------------------------------+--------------------------------------------------------------+----------+<br>|  Name |                 UUID                 |                       Transport URL                       |                     Database Connection                      | Disabled |<br>+-------+--------------------------------------+-----------------------------------------------------------+--------------------------------------------------------------+----------+<br>| cell0 | 00000000-0000-0000-0000-000000000000 |                          none:///                         | mysql+pymysql://<a href="http://root:linux@127.0.0.1/nova_cell0?charset=utf8" target="_blank">root:linux@127.0.0.1/nova_cell0?charset=utf8</a> |  False   |<br>| cell1 | 1522c22f-64d4-4882-8ae8-ed0f9407407c | rabbit://<a href="http://stackrabbit:linux@192.168.40.184:5672/nova_cell1" target="_blank">stackrabbit:linux@192.168.40.184:5672/nova_cell1</a> | mysql+pymysql://<a href="http://root:linux@127.0.0.1/nova_cell1?charset=utf8" target="_blank">root:linux@127.0.0.1/nova_cell1?charset=utf8</a> |  False   |<br>+-------+--------------------------------------+-----------------------------------------------------------+--------------------------------------------------------------+----------+<br></div><div><br></div><div>$ sudo  rabbitmqctl list_vhosts<br>Listing vhosts<br>/<br>nova_cell1<br></div><div><br></div><div><br></div><div>$ sudo  rabbitmqctl list_permissions -p nova_cell1</div>Listing permissions in vhost "nova_cell1"<br>stackrabbit       .*      .*      .*<br><div><br></div><div><br></div><div>best,</div><div>P.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 12, 2020 at 11:16 AM Eugen Block <<a href="mailto:eblock@nde.ag" target="_blank">eblock@nde.ag</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Did you change the transport_url only in the nova.conf of the new  <br>
compute node? Or did you also change the rabbitmq configuration? The  <br>
transport_url should match the actual rabbitmq config, of course, and  <br>
it should be the same on every node.<br>
Does that match your cell setup? To compare run:<br>
<br>
control:~ # nova-manage cell_v2 list_cells --verbose<br>
<br>
Do you have a vhost configuration? (I'm not familiar with devstack)<br>
Here's an example of a "nova" vhost with respective permissions:<br>
<br>
<br>
control:~ # rabbitmqctl list_vhosts<br>
Listing vhosts<br>
/<br>
nova<br>
<br>
control:~ # rabbitmqctl list_permissions -p nova<br>
Listing permissions in vhost "nova"<br>
nova    .*      .*      .*<br>
<br>
<br>
If there's a vhost it should be also reflected in the transport_url.  <br>
Maybe you should share all of the above information here.<br>
<br>
<br>
Zitat von Pavlos Basaras <<a href="mailto:pbasaras@gmail.com" target="_blank">pbasaras@gmail.com</a>>:<br>
<br>
> Hello,<br>
><br>
> maybe there is stg wrong with the installation.<br>
><br>
> Let me clarify a few things.<br>
><br>
> I have devstack deployed in a VM (pre-installed: keystone, glance, nova,<br>
> placement, cinder, neutron, and horizon.)<br>
> I can deploy machines successfully at the devstack controller space<br>
> --everything seems to work fine. --> is seems to work fine with opensource<br>
> mano as well<br>
><br>
> I am trying to add another pc as a compute host to be able to deploy vms at<br>
> this new compute host following (<br>
> <a href="https://docs.openstack.org/nova/queens/install/compute-install-ubuntu.html" rel="noreferrer" target="_blank">https://docs.openstack.org/nova/queens/install/compute-install-ubuntu.html</a>)<br>
><br>
> Also attached the nova.conf file. The only major differences are:<br>
>  --the transport url for rabbitmq which i made according to the transport<br>
> url of the controller, i.e., instead of rabbit://openstack:linux@controller<br>
>  i have   rabbit://stackrabbit:linux@controller<br>
> -- i replaced the ports with the service, e.g., instead using the 5000 port<br>
> --> "<a href="http://controller/identity/v3" rel="noreferrer" target="_blank">http://controller/identity/v3</a>" instead of  "<a href="http://controller:5000/v3" rel="noreferrer" target="_blank">http://controller:5000/v3</a>"<br>
><br>
> please excuse (any) newbie questions<br>
><br>
> all the best,<br>
> Pavlos.<br>
><br>
><br>
> On Wed, Nov 11, 2020 at 4:03 PM Eugen Block <<a href="mailto:eblock@nde.ag" target="_blank">eblock@nde.ag</a>> wrote:<br>
><br>
>> There might be some mixup during the setup, I'm not sure how the other<br>
>> cell would be created. I'd probably delete the cell with UUID<br>
>> 1a0fde85-8906-46fb-b721-01a28c978439 and retry the discover_hosts with<br>
>> the right cell UUID:<br>
>><br>
>> nova-manage cell_v2 delete_cell --cell_uuid<br>
>> 1a0fde85-8906-46fb-b721-01a28c978439<br>
>> nova-manage cell_v2 discover_hosts --cell_uuid<br>
>> 1522c22f-64d4-4882-8ae8-ed0f9407407c<br>
>><br>
>> Does that work?<br>
>><br>
>><br>
>> Zitat von Pavlos Basaras <<a href="mailto:pbasaras@gmail.com" target="_blank">pbasaras@gmail.com</a>>:<br>
>><br>
>> > Hello,<br>
>> ><br>
>> > yes i have this discover_hosts_in_cells_interval = 300<br>
>> ><br>
>> ><br>
>> > interestingly when i issued a combination of map_cell_and_hosts and<br>
>> > update_cell<br>
>> ><br>
>> > the output from: nova-manage cell_v2 list_hosts<br>
>> > +-----------+--------------------------------------+-------------+<br>
>> > | Cell Name |              Cell UUID               |   Hostname  |<br>
>> > +-----------+--------------------------------------+-------------+<br>
>> > |    None   | 1a0fde85-8906-46fb-b721-01a28c978439 | computenode |<br>
>> > |    None   | 1a0fde85-8906-46fb-b721-01a28c978439 |     nrUE    |<br>
>> > |   cell1   | 1522c22f-64d4-4882-8ae8-ed0f9407407c |  openstack  |<br>
>> > +-----------+--------------------------------------+-------------+<br>
>> ><br>
>> > when the new compute nodes seem to not have a cell mapped<br>
>> ><br>
>> > best,<br>
>> > P.<br>
>> ><br>
>> ><br>
>> > On Wed, Nov 11, 2020 at 3:26 PM Eugen Block <<a href="mailto:eblock@nde.ag" target="_blank">eblock@nde.ag</a>> wrote:<br>
>> ><br>
>> >> Hm,<br>
>> >><br>
>> >> indeed rather strange to me.<br>
>> >><br>
>> >> Do you see anything in the nova-scheduler.log? If you activated the<br>
>> >><br>
>> >> discover_hosts_in_cells_interval = 300<br>
>> >><br>
>> >> it should query for new hosts every 5 minutes.<br>
>> >><br>
>> >><br>
>> >><br>
>> >> Zitat von Pavlos Basaras <<a href="mailto:pbasaras@gmail.com" target="_blank">pbasaras@gmail.com</a>>:<br>
>> >><br>
>> >> > Hello,<br>
>> >> ><br>
>> >> > thanks very much for your prompt reply.<br>
>> >> ><br>
>> >> ><br>
>> >> > regarding the first command "nova-manage cell_v2 list_hosts" the<br>
>> output<br>
>> >> is<br>
>> >> > the following (openstack is the host of the controller). I dont see<br>
>> any<br>
>> >> > other node here, even when i execute  the discover_hosts command<br>
>> >> ><br>
>> >> > +-----------+--------------------------------------+-----------+<br>
>> >> > | Cell Name |              Cell UUID               |  Hostname |<br>
>> >> > +-----------+--------------------------------------+-----------+<br>
>> >> > |   cell1   | 1522c22f-64d4-4882-8ae8-ed0f9407407c | openstack |<br>
>> >> > +-----------+--------------------------------------+-----------+<br>
>> >> ><br>
>> >> ><br>
>> >> > Also this is the output from my controller when i use the command:<br>
>> sudo<br>
>> >> -s<br>
>> >> > /bin/sh -c "nova-manage cell_v2 discover_hosts --verbose" nova   (not<br>
>> >> sure<br>
>> >> > if this helps)<br>
>> >> > Found 2 cell mappings.<br>
>> >> > Skipping cell0 since it does not contain hosts.<br>
>> >> > Getting computes from cell 'cell1':<br>
>> 1522c22f-64d4-4882-8ae8-ed0f9407407c<br>
>> >> > Found 0 unmapped computes in cell:<br>
>> 1522c22f-64d4-4882-8ae8-ed0f9407407c<br>
>> >> ><br>
>> >> > any thoughts?<br>
>> >> ><br>
>> >> ><br>
>> >> > best,<br>
>> >> > Pavlos.<br>
>> >><br>
>> >><br>
>> >><br>
>> >><br>
>> >><br>
>><br>
>><br>
>><br>
>><br>
<br>
<br>
<br>
</blockquote></div>