[openstack-dev] Openstack live migration using devstack
Jordan Pittier
jordan.pittier at scality.com
Fri Apr 17 17:31:46 UTC 2015
Hi
Double check that sql_connection in the [database] section of cinder.conf
is not empty.
Jordan
On Fri, Apr 17, 2015 at 7:24 PM, Erlon Cruz <sombrafam at gmail.com> wrote:
> Had the same error, but with cinder. Did you find find out something about
> this error?
> ------------------------
> 2015-04-17 14:12:31.957 TRACE cinder Traceback (most recent call last):
> 2015-04-17 14:12:31.957 TRACE cinder File
> "/usr/local/bin/cinder-volume", line 10, in <module>
> 2015-04-17 14:12:31.957 TRACE cinder sys.exit(main())
> 2015-04-17 14:12:31.957 TRACE cinder File
> "/opt/stack/cinder/cinder/cmd/volume.py", line 72, in main
> 2015-04-17 14:12:31.957 TRACE cinder binary='cinder-volume')
> 2015-04-17 14:12:31.957 TRACE cinder File
> "/opt/stack/cinder/cinder/service.py", line 249, in create
> 2015-04-17 14:12:31.957 TRACE cinder service_name=service_name)
> 2015-04-17 14:12:31.957 TRACE cinder File
> "/opt/stack/cinder/cinder/service.py", line 129, in __init__
> 2015-04-17 14:12:31.957 TRACE cinder *args, **kwargs)
> 2015-04-17 14:12:31.957 TRACE cinder File
> "/opt/stack/cinder/cinder/volume/manager.py", line 195, in __init__
> 2015-04-17 14:12:31.957 TRACE cinder *args, **kwargs)
> 2015-04-17 14:12:31.957 TRACE cinder File
> "/opt/stack/cinder/cinder/manager.py", line 130, in __init__
> 2015-04-17 14:12:31.957 TRACE cinder super(SchedulerDependentManager,
> self).__init__(host, db_driver)
> 2015-04-17 14:12:31.957 TRACE cinder File
> "/opt/stack/cinder/cinder/manager.py", line 80, in __init__
> 2015-04-17 14:12:31.957 TRACE cinder super(Manager,
> self).__init__(db_driver)
> 2015-04-17 14:12:31.957 TRACE cinder File
> "/opt/stack/cinder/cinder/db/base.py", line 42, in __init__
> 2015-04-17 14:12:31.957 TRACE cinder self.db.dispose_engine()
> 2015-04-17 14:12:31.957 TRACE cinder File
> "/opt/stack/cinder/cinder/db/api.py", line 80, in dispose_engine
> 2015-04-17 14:12:31.957 TRACE cinder if 'sqlite' not in
> IMPL.get_engine().name:
> 2015-04-17 14:12:31.957 TRACE cinder File
> "/opt/stack/cinder/cinder/db/sqlalchemy/api.py", line 85, in get_engine
> 2015-04-17 14:12:31.957 TRACE cinder facade = _create_facade_lazily()
> 2015-04-17 14:12:31.957 TRACE cinder File
> "/opt/stack/cinder/cinder/db/sqlalchemy/api.py", line 72, in
> _create_facade_lazily
> 2015-04-17 14:12:31.957 TRACE cinder **dict(CONF.database.iteritems())
> 2015-04-17 14:12:31.957 TRACE cinder File
> "/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/session.py",
> line 796, in __init__
> 2015-04-17 14:12:31.957 TRACE cinder **engine_kwargs)
> 2015-04-17 14:12:31.957 TRACE cinder File
> "/usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/session.py",
> line 376, in create_engine
> 2015-04-17 14:12:31.957 TRACE cinder url =
> sqlalchemy.engine.url.make_url(sql_connection)
> 2015-04-17 14:12:31.957 TRACE cinder File
> "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/url.py", line
> 176, in make_url
> 2015-04-17 14:12:31.957 TRACE cinder return
> _parse_rfc1738_args(name_or_url)
> 2015-04-17 14:12:31.957 TRACE cinder File
> "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/url.py", line
> 225, in _parse_rfc1738_args
> 2015-04-17 14:12:31.957 TRACE cinder "Could not parse rfc1738 URL from
> string '%s'" % name)
> 2015-04-17 14:12:31.957 TRACE cinder ArgumentError: Could not parse
> rfc1738 URL from string ''
> 2015-04-17 14:12:31.957 TRACE cinder
> c-vol failed to start
>
>
> On Mon, Mar 10, 2014 at 12:44 PM, abhishek jain <ashujain9727 at gmail.com>
> wrote:
>
>> Hi all
>>
>> I have created one openstack using one controller node and one compute
>> node both installed using devstack.I'm running one instance on controller
>> node and want to migrate it to over compute node.
>> I'm using following link for this.
>>
>>
>> http://docs.openstack.org/grizzly/openstack-compute/admin/content/live-migration-usage.html
>>
>> http://docs.openstack.org/grizzly/openstack-compute/admin/content/configuring-migrations.html
>>
>> The output of nova-manage vm list on the compute node is as follows..
>>
>> 10 16:01:49.502 DEBUG nova.openstack.common.lockutils
>> [req-019d2337-143e-4157-9d6c-3c1f2207f63b None None] Semaphore / lock
>> released "__get_backend" inner
>> /opt/stack/nova/nova/openstack/common/lockutils.py:252
>> Command failed, please check log for more info
>> 2014-03-10 16:01:49.507 CRITICAL nova
>> [req-019d2337-143e-4157-9d6c-3c1f2207f63b None None] Could not parse
>> rfc1738 URL from string ''
>> 2014-03-10 16:01:49.507 9609 TRACE nova Traceback (most recent call
>> last):
>> 2014-03-10 16:01:49.507 9609 TRACE nova File "/usr/bin/nova-manage",
>> line 10, in <module>
>> 2014-03-10 16:01:49.507 9609 TRACE nova sys.exit(main())
>> 2014-03-10 16:01:49.507 9609 TRACE nova File
>> "/opt/stack/nova/nova/cmd/manage.py", line 1378, in main
>> 2014-03-10 16:01:49.507 9609 TRACE nova ret = fn(*fn_args,
>> **fn_kwargs)
>> 2014-03-10 16:01:49.507 9609 TRACE nova File
>> "/opt/stack/nova/nova/cmd/manage.py", line 658, in list
>> 2014-03-10 16:01:49.507 9609 TRACE nova context.get_admin_context(),
>> host)
>> 2014-03-10 16:01:49.507 9609 TRACE nova File
>> "/opt/stack/nova/nova/db/api.py", line 671, in instance_get_all_by_host
>> 2014-03-10 16:01:49.507 9609 TRACE nova return
>> IMPL.instance_get_all_by_host(context, host, columns_to_join)
>> 2014-03-10 16:01:49.507 9609 TRACE nova File
>> "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 112, in wrapper
>> 2014-03-10 16:01:49.507 9609 TRACE nova return f(*args, **kwargs)
>> 2014-03-10 16:01:49.507 9609 TRACE nova File
>> "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 2078, in
>> instance_get_all_by_host
>> 2014-03-10 16:01:49.507 9609 TRACE nova
>> use_slave=use_slave).filter_by(host=host).all(),
>> 2014-03-10 16:01:49.507 9609 TRACE nova File
>> "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 2066, in
>> _instance_get_all_query
>> 2014-03-10 16:01:49.507 9609 TRACE nova use_slave=use_slave)
>> 2014-03-10 16:01:49.507 9609 TRACE nova File
>> "/opt/stack/nova/nova/db/sqlalchemy/api.py", line 200, in model_query
>> 2014-03-10 16:01:49.507 9609 TRACE nova session =
>> kwargs.get('session') or get_session(slave_session=use_slave)
>> 2014-03-10 16:01:49.507 9609 TRACE nova File
>> "/opt/stack/nova/nova/openstack/common/db/sqlalchemy/session.py", line 423,
>> in get_session
>> 2014-03-10 16:01:49.507 9609 TRACE nova engine =
>> get_engine(sqlite_fk=sqlite_fk, slave_engine=slave_session)
>> 2014-03-10 16:01:49.507 9609 TRACE nova File
>> "/opt/stack/nova/nova/openstack/common/db/sqlalchemy/session.py", line 561,
>> in get_engine
>> 2014-03-10 16:01:49.507 9609 TRACE nova sqlite_fk=sqlite_fk)
>> 2014-03-10 16:01:49.507 9609 TRACE nova File
>> "/opt/stack/nova/nova/openstack/common/db/sqlalchemy/session.py", line 629,
>> in create_engine
>> 2014-03-10 16:01:49.507 9609 TRACE nova connection_dict =
>> sqlalchemy.engine.url.make_url(sql_connection)
>> 2014-03-10 16:01:49.507 9609 TRACE nova File
>> "/usr/lib/python2.7/site-packages/sqlalchemy/engine/url.py", line 178, in
>> make_url
>> 2014-03-10 16:01:49.507 9609 TRACE nova return
>> _parse_rfc1738_args(name_or_url)
>> 2014-03-10 16:01:49.507 9609 TRACE nova File
>> "/usr/lib/python2.7/site-packages/sqlalchemy/engine/url.py", line 219, in
>> _parse_rfc1738_args
>> 2014-03-10 16:01:49.507 9609 TRACE nova "Could not parse rfc1738 URL
>> from string '%s'" % name)
>> 2014-03-10 16:01:49.507 9609 TRACE nova ArgumentError: Could not parse
>> rfc1738 URL from string ''
>> 2014-03-10 16:01:49.507 9609 TRACE nova
>>
>>
>> Please help me regarding the above error.
>>
>> Thanks
>> Abhishek Jain
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20150417/e9e6e8b8/attachment.html>
More information about the OpenStack-dev
mailing list