Ask Your Question

davwalker's profile - activity

2014-09-11 00:29:58 -0600 received badge  Famous Question (source)
2014-07-08 14:25:42 -0600 received badge  Notable Question (source)
2014-06-23 05:58:24 -0600 received badge  Popular Question (source)
2014-06-23 05:58:06 -0600 answered a question Failed to load transport driver "rabbit" - ubuntu/icehouse

Update::

Upgraded python-amqp to 1.3.3-1ubuntu1 from trusty - which seems to solve this error.

2014-06-20 03:30:06 -0600 asked a question Failed to load transport driver "rabbit" - ubuntu/icehouse

anyone experiencing this problem when starting glance-api - Upgrading to Icehouse on ubuntu 12.04 - using packages from ubuntu cloud archive. I have rpc_backend=rabbit in the glance api config but get the following error in the logs.

2014-06-19 16:40:45.377 32168 TRACE glance Traceback (most recent call last):
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/bin/glance-api", line 10, in <module>
2014-06-19 16:40:45.377 32168 TRACE glance     sys.exit(main())
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/glance/cmd/api.py", line 63, in main
2014-06-19 16:40:45.377 32168 TRACE glance     server.start(config.load_paste_app('glance-api'), default_port=9292)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/glance/common/config.py", line 210, in load_paste_app
2014-06-19 16:40:45.377 32168 TRACE glance     app = deploy.loadapp("config:%s" % conf_file, name=app_name)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2014-06-19 16:40:45.377 32168 TRACE glance     return loadobj(APP, uri, name=name, **kw)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2014-06-19 16:40:45.377 32168 TRACE glance     return context.create()
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2014-06-19 16:40:45.377 32168 TRACE glance     return self.object_type.invoke(self)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 203, in invoke
2014-06-19 16:40:45.377 32168 TRACE glance     app = context.app_context.create()
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2014-06-19 16:40:45.377 32168 TRACE glance     return self.object_type.invoke(self)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2014-06-19 16:40:45.377 32168 TRACE glance     **context.local_conf)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 56, in fix_call
2014-06-19 16:40:45.377 32168 TRACE glance     val = callable(*args, **kw)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/glance/api/__init__.py", line 27, in root_app_factory
2014-06-19 16:40:45.377 32168 TRACE glance     return paste.urlmap.urlmap_factory(loader, global_conf, **local_conf)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 25, in urlmap_factory
2014-06-19 16:40:45.377 32168 TRACE glance     app = loader.get_app(app_name, global_conf=global_conf)
2014-06-19 16:40:45.377 32168 TRACE glance   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2014-06-19 16:40:45.377 32168 TRACE glance     name=name, global_conf=global_conf).create()
2014-06-19 ...
(more)
2013-08-31 04:23:02 -0600 received badge  Famous Question (source)
2013-08-06 09:01:20 -0600 received badge  Notable Question (source)
2013-08-02 08:16:50 -0600 answered a question nova block migration fail - ImageNotFound

Update,

Looking at the following bug report this seems to fall into the situation i am in:

https://lists.launchpad.net/yahoo-eng-team/msg03800.html

https://bugs.launchpad.net/nova/+bug/1185588

However after applying the diff from the link below: i now get a new error:

https://github.com/openstack/nova/commit/cf3cf3c8e5137e775eec9939e88aa1df339ba1bf

AttributeError: 'module' object has no attribute 'synchronized'

Full Trace:

2013-07-31 17:13:20.830 ERROR nova.compute.manager [req-97ce5f07-65f5-476e-ab30-e549c31edd01 743f937c6e2c484ca4713a593220934c b3367689728341f987c7883b410cc098] [instance: fa67c9d4-1092-472e-9f88-873c06ed43a6] Pre live migration failed at  ops-hypervisor1.ldc1
2013-07-31 17:13:20.830 15304 TRACE nova.compute.manager [instance: fa67c9d4-1092-472e-9f88-873c06ed43a6] Traceback (most recent call last):
2013-07-31 17:13:20.830 15304 TRACE nova.compute.manager [instance: fa67c9d4-1092-472e-9f88-873c06ed43a6]   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3149, in live_migration
2013-07-31 17:13:20.830 15304 TRACE nova.compute.manager [instance: fa67c9d4-1092-472e-9f88-873c06ed43a6]     block_migration, disk, dest, migrate_data)
2013-07-31 17:13:20.830 15304 TRACE nova.compute.manager [instance: fa67c9d4-1092-472e-9f88-873c06ed43a6]   File "/usr/lib/python2.7/dist-packages/nova/compute/rpcapi.py", line 408, in pre_live_migration
2013-07-31 17:13:20.830 15304 TRACE nova.compute.manager [instance: fa67c9d4-1092-472e-9f88-873c06ed43a6]     version='2.21')
2013-07-31 17:13:20.830 15304 TRACE nova.compute.manager [instance: fa67c9d4-1092-472e-9f88-873c06ed43a6]   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/proxy.py", line 80, in call
2013-07-31 17:13:20.830 15304 TRACE nova.compute.manager [instance: fa67c9d4-1092-472e-9f88-873c06ed43a6]     return rpc.call(context, self._get_topic(topic), msg, timeout)
2013-07-31 17:13:20.830 15304 TRACE nova.compute.manager [instance: fa67c9d4-1092-472e-9f88-873c06ed43a6]   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/__init__.py", line 140, in call
2013-07-31 17:13:20.830 15304 TRACE nova.compute.manager [instance: fa67c9d4-1092-472e-9f88-873c06ed43a6]     return _get_impl().call(CONF, context, topic, msg, timeout)
2013-07-31 17:13:20.830 15304 TRACE nova.compute.manager [instance: fa67c9d4-1092-472e-9f88-873c06ed43a6]   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/impl_kombu.py", line 798, in call
2013-07-31 17:13:20.830 15304 TRACE nova.compute.manager [instance: fa67c9d4-1092-472e-9f88-873c06ed43a6]     rpc_amqp.get_connection_pool(conf, Connection))
2013-07-31 17:13:20.830 15304 TRACE nova.compute.manager [instance: fa67c9d4-1092-472e-9f88-873c06ed43a6]   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 612, in call
2013-07-31 17:13:20.830 15304 TRACE nova.compute.manager [instance: fa67c9d4-1092-472e-9f88-873c06ed43a6]     rv = list(rv)
2013-07-31 17:13:20.830 15304 TRACE nova.compute.manager [instance: fa67c9d4-1092-472e-9f88-873c06ed43a6]   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 561, in __iter__
2013-07-31 17:13:20.830 15304 TRACE nova.compute.manager [instance: fa67c9d4-1092-472e-9f88-873c06ed43a6]     raise result
2013-07-31 17:13:20.830 15304 TRACE nova.compute.manager [instance: fa67c9d4-1092-472e-9f88-873c06ed43a6] AttributeError: 'module' object has no attribute 'synchronized'
2013-07-31 17:13:20.830 15304 TRACE nova.compute.manager [instance: fa67c9d4-1092-472e-9f88-873c06ed43a6] Traceback (most recent call last):
2013-07-31 17:13:20.830 15304 TRACE nova.compute.manager [instance: fa67c9d4-1092-472e-9f88-873c06ed43a6] 
2013-07-31 17:13:20.830 15304 TRACE nova.compute.manager [instance: fa67c9d4-1092-472e-9f88-873c06ed43a6]   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 430, in _process_data
2013-07-31 17:13:20.830 15304 TRACE nova.compute.manager [instance: fa67c9d4-1092-472e-9f88-873c06ed43a6]     rval = self.proxy ...
(more)
2013-08-01 09:22:49 -0600 received badge  Popular Question (source)
2013-07-29 17:04:02 -0600 received badge  Student (source)
2013-07-29 08:57:59 -0600 asked a question nova block migration fail - ImageNotFound

Hi,

I am trying to migrate 1 vm from one compute node to another using block migration. I have followed all the setup instructions for this however when i come to start the migration i get the following error in the nova-compute log:

nova live-migration --block_migrate fa67c9d4-1092-472e-9f88-873c06ed43a6 server01

Error:

2013-07-29 14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp ImageNotFound: Image dbc3a434-5acf-4a4a-b0a7-4e7ecedfe2dc could not be found.

The id above is available to glance and i can create new vm's without any problems using this image

glance image-list
+--------------------------------------+----------------------+-------------+------------------+------------+--------+
| ID                                   | Name                 | Disk Format | Container Format | Size       | Status |
+--------------------------------------+----------------------+-------------+------------------+------------+--------+
| 8905c7b0-7550-4f38-b16e-d3a70f49651e | kernel               | aki         | aki              | 4119328    | active |
| dbc3a434-5acf-4a4a-b0a7-4e7ecedfe2dc | Ubuntu 12.04.2 amd64 | qcow2       | bare             | 252051456  | active |

Im running Grizzly from the ubuntu cloud repo.

Any help with this would be great.

Full trace back below:

2013-07-29 14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp Traceback (most recent call last):
2013-07-29 14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/amqp.py", line 430, in _process_data
2013-07-29 14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp     rval = self.proxy.dispatch(ctxt, version, method, **args)
2013-07-29 14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/dispatcher.py", line 133, in dispatch
2013-07-29 14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp     return getattr(proxyobj, method)(ctxt, **kwargs)
2013-07-29 14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 3129, in pre_live_migration
2013-07-29 14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp     self.driver.pre_block_migration(context, instance, disk)
2013-07-29 14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3223, in pre_block_migration
2013-07-29 14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp     self._create_images_and_backing(ctxt, instance, disk_info_json)
2013-07-29 14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/driver.py", line 3261, in _create_images_and_backing
2013-07-29 14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp     size=info['virt_disk_size'])
2013-07-29 14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 158, in cache
2013-07-29 14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp     *args, **kwargs)
2013-07-29 14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/imagebackend.py", line 258, in create_image
2013-07-29 14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp     prepare_template(target=base, *args, **kwargs)
2013-07-29 14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/openstack/common/lockutils.py", line 228, in inner
2013-07-29 14:32:49.096 11506 TRACE nova.openstack.common.rpc.amqp     retval = f ...
(more)