March 19, 2018

Lab3: No sql_connection parameter is established


I can't run any instance in lab3 (devOS1, devOS3) due to the error: No sql_connection parameter is established.

Is it just me or do we have an issue in the lab?

Tried lab4 and have the same issue:

No sql_connection parameter is established
File "/opt/stack/nova/nova/conductor/", line 554, in build_instances context, spec_obj, instance_uuids) File "/opt/stack/nova/nova/conductor/", line 633, in _schedule_instances scheduler_utils.setup_instance_group(context, request_spec) File "/opt/stack/nova/nova/scheduler/", line 565, in setup_instance_group group_info = _get_group_details(context, instance_uuid, group_hosts) File "/opt/stack/nova/nova/scheduler/", line 522, in _get_group_details instance_uuid) File "/usr/local/lib/python2.7/dist-packages/oslo_versionedobjects/", line 184, in wrapper result = fn(cls, context, *args, **kwargs) File "/opt/stack/nova/nova/objects/", line 331, in get_by_instance_uuid db_group = cls._get_from_db_by_instance(context, instance_uuid) File "/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/", line 978, in wrapper with self._transaction_scope(context): File "/usr/lib/python2.7/", line 17, in __enter__ return File "/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/", line 1028, in _transaction_scope context=context) as resource: File "/usr/lib/python2.7/", line 17, in __enter__ return File "/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/", line 633, in _session bind=self.connection, mode=self.mode) File "/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/", line 398, in _create_session self._start() File "/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/", line 484, in _start engine_args, maker_args) File "/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/", line 506, in _setup_for_connection "No sql_connection parameter is established")


Click Here!