<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; "><div>Hello,</div><div><br></div><div>I have two physical servers, one server configured as as the controller node (running all nova services, except nova-compute), and second server as a compute node (running nova-compute). My question is how does the controller node know there is a compute node "out there", and that all Vms should be instantiated on it?</div><div><br></div><div>Also, my understanding is when the first VM is instantiated, the bridge interface "br100" will be created automatically by nova-network on the controller node. I am assuming user has to manually create the "br100" on the compute node(s). Is that right?</div><div><br></div><div>The reason I ask is I am trying to instantiate a VM, but running into an error.</div><div><br></div><div><br></div><div><div>root@bodega:~/.ssh# nova flavor-list</div><div>+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+-------------+</div><div>| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | extra_specs |</div><div>+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+-------------+</div><div>| 1 | m1.tiny | 512 | 0 | 0 | | 1 | 1.0 | True | {} |</div><div>| 2 | m1.small | 2048 | 10 | 20 | | 1 | 1.0 | True | {} |</div><div>| 3 | m1.medium | 4096 | 10 | 40 | | 2 | 1.0 | True | {} |</div><div>| 4 | m1.large | 8192 | 10 | 80 | | 4 | 1.0 | True | {} |</div><div>| 5 | m1.xlarge | 16384 | 10 | 160 | | 8 | 1.0 | True | {} |</div><div>+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+-------------+</div><div>root@bodega:~/.ssh# nova image-list</div><div>+--------------------------------------+---------------------+--------+--------+</div><div>| ID | Name | Status | Server |</div><div>+--------------------------------------+---------------------+--------+--------+</div><div>| 19beac6b-5a46-4712-a5b5-99c6e99daa67 | cirros-0.3.0-x86_64 | ACTIVE | |</div><div>| 48cc3352-dff3-4625-87b1-143ba1953c57 | tty-linux | ACTIVE | |</div><div>| 14652b05-0c27-45d1-b614-a059c9f4f7dc | tty-linux-kernel | ACTIVE | |</div><div>| c0f6a4df-5051-49d3-855e-8627c6c15ba6 | tty-linux-ramdisk | ACTIVE | |</div><div>+--------------------------------------+---------------------+--------+--------+</div><div>root@bodega:~/.ssh# </div><div>root@bodega:~/.ssh# </div><div>root@bodega:~/.ssh# nova boot --flavor 2 --image 19beac6b-5a46-4712-a5b5-99c6e99daa67 --key_name mykey --security_group default cirros</div><div>+-------------------------------------+--------------------------------------+</div><div>| Property | Value |</div><div>+-------------------------------------+--------------------------------------+</div><div>| OS-DCF:diskConfig | MANUAL |</div><div>| OS-EXT-SRV-ATTR:host | None |</div><div>| OS-EXT-SRV-ATTR:hypervisor_hostname | None |</div><div>| OS-EXT-SRV-ATTR:instance_name | instance-00000001 |</div><div>| OS-EXT-STS:power_state | 0 |</div><div>| OS-EXT-STS:task_state | scheduling |</div><div>| OS-EXT-STS:vm_state | building |</div><div>| accessIPv4 | |</div><div>| accessIPv6 | |</div><div>| adminPass | 9RTkufdA6oaF |</div><div>| config_drive | |</div><div>| created | 2012-11-14T22:55:42Z |</div><div>| flavor | m1.small |</div><div>| hostId | |</div><div>| id | 3c8acf5b-dd4a-4830-b5bb-faf87f8c7b18 |</div><div>| image | cirros-0.3.0-x86_64 |</div><div>| key_name | mykey |</div><div>| metadata | {} |</div><div>| name | cirros |</div><div>| progress | 0 |</div><div>| security_groups | [{u'name': u'default'}] |</div><div>| status | BUILD |</div><div>| tenant_id | ce1e819636744dc680fa5515f6475e87 |</div><div>| updated | 2012-11-14T22:55:42Z |</div><div>| user_id | ce016bb05df949ebbafcc7c165359d7c |</div><div>+-------------------------------------+--------------------------------------+</div></div><div><br></div><div><br></div><div>/var/log/nova/nova-api.log has the following log messages:</div><div><br></div><div><div>2012-11-14 14:58:35 INFO nova.api.openstack.wsgi [req-ad86174c-09eb-4ef3-8ffa-ec8a42a5c9e6 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] GET http://10.176.20.158:8774/v2/ce1e819636744dc680fa5515f6475e87/flavors/2</div><div>2012-11-14 14:58:35 DEBUG nova.api.openstack.wsgi [req-ad86174c-09eb-4ef3-8ffa-ec8a42a5c9e6 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] No Content-Type provided in request from (pid=15959) get_body /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:783</div><div>2012-11-14 14:58:35 INFO nova.api.openstack.wsgi [req-ad86174c-09eb-4ef3-8ffa-ec8a42a5c9e6 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] http://10.176.20.158:8774/v2/ce1e819636744dc680fa5515f6475e87/flavors/2 returned with HTTP 200</div><div>2012-11-14 14:58:35 INFO nova.osapi_compute.wsgi.server [req-ad86174c-09eb-4ef3-8ffa-ec8a42a5c9e6 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] 10.176.20.158 - - [14/Nov/2012 14:58:35] "GET /v2/ce1e819636744dc680fa5515f6475e87/flavors/2 HTTP/1.1" 200 601 0.076119</div><div><br></div><div>2012-11-14 14:58:35 INFO nova.api.openstack.wsgi [req-b9343b15-230c-478e-b349-878370231888 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] GET http://10.176.20.158:8774/v2/ce1e819636744dc680fa5515f6475e87/images/19beac6b-5a46-4712-a5b5-99c6e99daa67</div><div>2012-11-14 14:58:35 DEBUG nova.api.openstack.wsgi [req-b9343b15-230c-478e-b349-878370231888 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] No Content-Type provided in request from (pid=15959) get_body /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:783</div><div>2012-11-14 14:58:35 INFO nova.api.openstack.wsgi [req-b9343b15-230c-478e-b349-878370231888 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] http://10.176.20.158:8774/v2/ce1e819636744dc680fa5515f6475e87/images/19beac6b-5a46-4712-a5b5-99c6e99daa67 returned with HTTP 200</div><div>2012-11-14 14:58:35 INFO nova.osapi_compute.wsgi.server [req-b9343b15-230c-478e-b349-878370231888 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] 10.176.20.158 - - [14/Nov/2012 14:58:35] "GET /v2/ce1e819636744dc680fa5515f6475e87/images/19beac6b-5a46-4712-a5b5-99c6e99daa67 HTTP/1.1" 200 870 0.342695</div><div><br></div><div>2012-11-14 14:58:35 INFO nova.api.openstack.wsgi [req-97048e46-33ce-4c8a-8fb3-54e5cbb2c5c6 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] POST http://10.176.20.158:8774/v2/ce1e819636744dc680fa5515f6475e87/servers</div><div>2012-11-14 14:58:35 DEBUG nova.quota [req-97048e46-33ce-4c8a-8fb3-54e5cbb2c5c6 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] Created reservations ['84d568a2-f275-456f-a134-e16bdae91bdd', '7dd5340a-4d20-415e-8759-082f509c4d07', '5e03be2d-917d-4ddb-b0c7-3a07baa5a4dc'] from (pid=15959) reserve /usr/lib/python2.7/dist-packages/nova/quota.py:697</div><div>2012-11-14 14:58:35 DEBUG nova.openstack.common.rpc.amqp [-] Making asynchronous call on network ... from (pid=15959) multicall /usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py:351</div><div>2012-11-14 14:58:35 DEBUG nova.openstack.common.rpc.amqp [-] MSG_ID is 669ed59a048f4e2799d8474acebaed8a from (pid=15959) multicall /usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py:354</div><div>2012-11-14 14:58:35 DEBUG nova.compute.api [req-97048e46-33ce-4c8a-8fb3-54e5cbb2c5c6 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] Going to run 1 instances... from (pid=15959) _create_instance /usr/lib/python2.7/dist-packages/nova/compute/api.py:490</div><div>2012-11-14 14:58:36 DEBUG nova.openstack.common.rpc.amqp [-] Making asynchronous cast on scheduler... from (pid=15959) cast /usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py:376</div><div>2012-11-14 14:58:36 INFO nova.api.openstack.wsgi [req-97048e46-33ce-4c8a-8fb3-54e5cbb2c5c6 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] http://10.176.20.158:8774/v2/ce1e819636744dc680fa5515f6475e87/servers returned with HTTP 202</div></div><div><div>2012-11-14 14:58:36 INFO nova.osapi_compute.wsgi.server [req-97048e46-33ce-4c8a-8fb3-54e5cbb2c5c6 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] 10.176.20.158 - - [14/Nov/2012 14:58:36] "POST /v2/ce1e819636744dc680fa5515f6475e87/servers HTTP/1.1" 202 739 0.623450</div><div><br></div><div>2012-11-14 14:58:36 INFO nova.api.openstack.wsgi [req-627b3eec-5eed-43a7-b796-183626e8af1e ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] GET http://10.176.20.158:8774/v2/ce1e819636744dc680fa5515f6475e87/servers/c67816f0-5acd-4be5-88b5-eb940aba6d79</div><div>2012-11-14 14:58:36 DEBUG nova.api.openstack.wsgi [req-627b3eec-5eed-43a7-b796-183626e8af1e ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] No Content-Type provided in request from (pid=15959) get_body /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:783</div><div>2012-11-14 14:58:36 INFO nova.api.openstack.wsgi [req-627b3eec-5eed-43a7-b796-183626e8af1e ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] http://10.176.20.158:8774/v2/ce1e819636744dc680fa5515f6475e87/servers/c67816f0-5acd-4be5-88b5-eb940aba6d79 returned with HTTP 200</div><div>2012-11-14 14:58:36 INFO nova.osapi_compute.wsgi.server [req-627b3eec-5eed-43a7-b796-183626e8af1e ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] 10.176.20.158 - - [14/Nov/2012 14:58:36] "GET /v2/ce1e819636744dc680fa5515f6475e87/servers/c67816f0-5acd-4be5-88b5-eb940aba6d79 HTTP/1.1" 200 1499 0.109392</div><div><br></div><div>2012-11-14 14:58:36 INFO nova.api.openstack.wsgi [req-005f351f-6ed4-4d25-847a-91ca3227e148 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] GET http://10.176.20.158:8774/v2/ce1e819636744dc680fa5515f6475e87/flavors/2</div><div>2012-11-14 14:58:36 DEBUG nova.api.openstack.wsgi [req-005f351f-6ed4-4d25-847a-91ca3227e148 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] No Content-Type provided in request from (pid=15959) get_body /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:783</div><div>2012-11-14 14:58:36 INFO nova.api.openstack.wsgi [req-005f351f-6ed4-4d25-847a-91ca3227e148 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] http://10.176.20.158:8774/v2/ce1e819636744dc680fa5515f6475e87/flavors/2 returned with HTTP 200</div><div>2012-11-14 14:58:36 INFO nova.osapi_compute.wsgi.server [req-005f351f-6ed4-4d25-847a-91ca3227e148 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] 10.176.20.158 - - [14/Nov/2012 14:58:36] "GET /v2/ce1e819636744dc680fa5515f6475e87/flavors/2 HTTP/1.1" 200 601 0.073584</div><div><br></div><div>2012-11-14 14:58:36 INFO nova.api.openstack.wsgi [req-d9f78e68-9df9-48fe-97a1-388bf186be06 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] GET http://10.176.20.158:8774/v2/ce1e819636744dc680fa5515f6475e87/images/19beac6b-5a46-4712-a5b5-99c6e99daa67</div><div>2012-11-14 14:58:36 DEBUG nova.api.openstack.wsgi [req-d9f78e68-9df9-48fe-97a1-388bf186be06 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] No Content-Type provided in request from (pid=15959) get_body /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:783</div><div>2012-11-14 14:58:36 INFO nova.api.openstack.wsgi [req-d9f78e68-9df9-48fe-97a1-388bf186be06 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] http://10.176.20.158:8774/v2/ce1e819636744dc680fa5515f6475e87/images/19beac6b-5a46-4712-a5b5-99c6e99daa67 returned with HTTP 200</div><div>2012-11-14 14:58:36 INFO nova.osapi_compute.wsgi.server [req-d9f78e68-9df9-48fe-97a1-388bf186be06 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] 10.176.20.158 - - [14/Nov/2012 14:58:36] "GET /v2/ce1e819636744dc680fa5515f6475e87/images/19beac6b-5a46-4712-a5b5-99c6e99daa67 HTTP/1.1" 200 870 0.336814</div><div><br></div><div>2012-11-14 15:15:50 INFO nova.api.openstack.wsgi [req-969f53ed-dd7b-44d1-8f7b-f3bebda0a190 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] GET http://10.176.20.158:8774/v2/ce1e819636744dc680fa5515f6475e87/servers/detail</div><div>2012-11-14 15:15:50 DEBUG nova.api.openstack.wsgi [req-969f53ed-dd7b-44d1-8f7b-f3bebda0a190 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] No Content-Type provided in request from (pid=15959) get_body /usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py:783</div><div>2012-11-14 15:15:50 DEBUG nova.compute.api [req-969f53ed-dd7b-44d1-8f7b-f3bebda0a190 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] Searching by: {'deleted': False, 'project_id': u'ce1e819636744dc680fa5515f6475e87'} from (pid=15959) get_all /usr/lib/python2.7/dist-packages/nova/compute/api.py:1055</div><div>2012-11-14 15:15:50 INFO nova.api.openstack.wsgi [req-969f53ed-dd7b-44d1-8f7b-f3bebda0a190 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] http://10.176.20.158:8774/v2/ce1e819636744dc680fa5515f6475e87/servers/detail returned with HTTP 200</div><div>2012-11-14 15:15:50 INFO nova.osapi_compute.wsgi.server [req-969f53ed-dd7b-44d1-8f7b-f3bebda0a190 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] 10.176.20.158 - - [14/Nov/2012 15:15:50] "GET /v2/ce1e819636744dc680fa5515f6475e87/servers/detail HTTP/1.1" 200 2935 0.115576</div></div><div><br></div><div>Any help or pointers to debug the issue will be highly appreciated. I feel I am getting so close to the setup.</div><div><br></div><div>Regards,</div><div>Ahmed.</div><div><br></div></body></html>