Ask Your Question
0

Heat db_sync fails with socket

asked 2013-10-24 18:30:20 -0600

Gamekiller77 gravatar image

updated 2014-01-22 15:12:51 -0600

Evgeny gravatar image

Running the this command.

heat-manage db_sync

The out put i get a the end of the trace is this.

    # heat-manage db_sync
2013-10-24 21:58:45.035 5451 DEBUG migrate.versioning.repository [-] Loading repository /usr/lib/python2.6/site-packages/heat/db/sqlalchemy/migrate_repo... __init__ /usr/lib/python2.6/site-packages/migrate/versioning/repository.py:76
2013-10-24 21:58:45.036 5451 DEBUG migrate.versioning.script.base [-] Loading script /usr/lib/python2.6/site-packages/heat/db/sqlalchemy/migrate_repo/versions/015_grizzly.py... __init__ /usr/lib/python2.6/site-packages/migrate/versioning/script/base.py:27
2013-10-24 21:58:45.036 5451 DEBUG migrate.versioning.script.base [-] Script /usr/lib/python2.6/site-packages/heat/db/sqlalchemy/migrate_repo/versions/015_grizzly.py loaded successfully __init__ /usr/lib/python2.6/site-packages/migrate/versioning/script/base.py:30
2013-10-24 21:58:45.036 5451 DEBUG migrate.versioning.script.base [-] Loading script /usr/lib/python2.6/site-packages/heat/db/sqlalchemy/migrate_repo/versions/016_timeout_nullable.py... __init__ /usr/lib/python2.6/site-packages/migrate/versioning/script/base.py:27
2013-10-24 21:58:45.036 5451 DEBUG migrate.versioning.script.base [-] Script /usr/lib/python2.6/site-packages/heat/db/sqlalchemy/migrate_repo/versions/016_timeout_nullable.py loaded successfully __init__ /usr/lib/python2.6/site-packages/migrate/versioning/script/base.py:30
2013-10-24 21:58:45.037 5451 DEBUG migrate.versioning.script.base [-] Loading script /usr/lib/python2.6/site-packages/heat/db/sqlalchemy/migrate_repo/versions/017_event_state_status.py... __init__ /usr/lib/python2.6/site-packages/migrate/versioning/script/base.py:27
2013-10-24 21:58:45.037 5451 DEBUG migrate.versioning.script.base [-] Script /usr/lib/python2.6/site-packages/heat/db/sqlalchemy/migrate_repo/versions/017_event_state_status.py loaded successfully __init__ /usr/lib/python2.6/site-packages/migrate/versioning/script/base.py:30
2013-10-24 21:58:45.037 5451 DEBUG migrate.versioning.script.base [-] Loading script /usr/lib/python2.6/site-packages/heat/db/sqlalchemy/migrate_repo/versions/018_resource_id_uuid.py... __init__ /usr/lib/python2.6/site-packages/migrate/versioning/script/base.py:27
2013-10-24 21:58:45.037 5451 DEBUG migrate.versioning.script.base [-] Script /usr/lib/python2.6/site-packages/heat/db/sqlalchemy/migrate_repo/versions/018_resource_id_uuid.py loaded successfully __init__ /usr/lib/python2.6/site-packages/migrate/versioning/script/base.py:30
2013-10-24 21:58:45.038 5451 DEBUG migrate.versioning.script.base [-] Loading script /usr/lib/python2.6/site-packages/heat/db/sqlalchemy/migrate_repo/versions/019_resource_action_status.py... __init__ /usr/lib/python2.6/site-packages/migrate/versioning/script/base.py:27
2013-10-24 21:58:45.038 5451 DEBUG migrate.versioning.script.base [-] Script /usr/lib/python2.6/site-packages/heat/db/sqlalchemy/migrate_repo/versions/019_resource_action_status.py loaded successfully __init__ /usr/lib/python2.6/site-packages/migrate/versioning/script/base.py:30
2013-10-24 21:58:45.038 5451 DEBUG migrate.versioning.script.base [-] Loading script /usr/lib/python2.6/site-packages/heat/db/sqlalchemy/migrate_repo/versions/020_stack_action.py... __init__ /usr/lib/python2.6/site-packages/migrate/versioning/script/base.py:27
2013-10-24 21:58:45.038 5451 DEBUG migrate.versioning.script.base [-] Script /usr/lib/python2.6/site-packages/heat/db/sqlalchemy/migrate_repo/versions/020_stack_action.py loaded successfully __init__ /usr/lib/python2.6/site-packages/migrate/versioning/script ...
(more)
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-10-25 01:04:33 -0600

unmesh-gurjar gravatar image

updated 2013-10-25 01:05:42 -0600

I would suggest you first ensure that you have installed mysql-server. If it is installed, the default port of MySQL server is 3306. In case you have configured it to use 33306, check if the port is in use by executing telnet 10.35.41.46 33306. If the MSQL service is listening on the port, then try connecting to it using mysql client (logged in as the same user, from the same system where you tried the db_sync command) by executing mysql -h 10.35.41.46 -P 33306 -u heat -p heat.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-10-24 18:30:20 -0600

Seen: 113 times

Last updated: Oct 25 '13