Comment 16 for bug 1781286

Matt Riedemann (mriedem) wrote :

Yup I hit it during server create as well (this is on a Train devstack with 2 cells and 3 computes, where 2 computes are in cell1 and that's where I got a reschedule on server create because of a port binding failure on the first compute attempted). Note also that the server is stuck in BUILD status due to this, it is not set to ERROR status:

stack@crosscell:~$ sudo journalctl -a -u <email address hidden> | grep req-c5a8d5f3-8270-4a75-ac66-a9908b6f209d
Apr 02 23:29:17 crosscell nova-conductor[25503]: ERROR nova.scheduler.utils [None req-c5a8d5f3-8270-4a75-ac66-a9908b6f209d admin admin] [instance: 7a69a14e-6a00-426a-a35c-5340597c30af] Error from last host: crosscell2 (node crosscell2): [u'Traceback (most recent call last):\n', u' File "/opt/stack/nova/nova/compute/", line 1950, in _do_build_and_run_instance\n filter_properties, request_spec)\n', u' File "/opt/stack/nova/nova/compute/", line 2320, in _build_and_run_instance\n instance_uuid=instance.uuid, reason=six.text_type(e))\n', u'RescheduledException: Build of instance 7a69a14e-6a00-426a-a35c-5340597c30af was re-scheduled: Binding failed for port 6079221f-1de8-4406-a7f1-842bc44ed0fd, please check neutron logs for more information.\n']
Apr 02 23:29:18 crosscell nova-conductor[25503]: DEBUG nova.conductor.manager [None req-c5a8d5f3-8270-4a75-ac66-a9908b6f209d admin admin] Rescheduling: True {{(pid=25503) build_instances /opt/stack/nova/nova/conductor/}}
Apr 02 23:29:18 crosscell nova-conductor[25503]: DEBUG nova.scheduler.utils [None req-c5a8d5f3-8270-4a75-ac66-a9908b6f209d admin admin] Attempting to claim resources in the placement API for instance 7a69a14e-6a00-426a-a35c-5340597c30af {{(pid=25503) claim_resources /opt/stack/nova/nova/scheduler/}}
Apr 02 23:29:18 crosscell nova-conductor[25503]: ERROR oslo_messaging.rpc.server [None req-c5a8d5f3-8270-4a75-ac66-a9908b6f209d admin admin] Exception during message handling: CantStartEngineError: No sql_connection parameter is established

stack@crosscell:~$ openstack server list
| ID | Name | Status | Networks | Image | Flavor |
| 7a69a14e-6a00-426a-a35c-5340597c30af | server1cell1 | BUILD | | cirros-0.4.0-x86_64-disk | m1.tiny |