yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #12027
[Bug 1223090] Re: The fake compute driver dosen't support live migration
** Changed in: nova
Status: Triaged => Fix Released
** Changed in: nova
Assignee: (unassigned) => Jake Liu (jake-liu)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1223090
Title:
The fake compute driver dosen't support live migration
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
Currently, OpenStack supports fake virt driver for performance test
or POC, for more details please refer to below link:
https://review.openstack.org/#/c/31876/
I have installed & configured such an environment which is multi
compute nodes with fake virt driver, the main change is that update
compute driver to fake virt driver in nova.conf '[DEFAULT]' section
on compute node.
compute_driver = nova.virt.fake.FakeDriver
devstack@devstack:~/devstack$ nova service-list
+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+------------------+------------+----------+---------+-------+----------------------------+-----------------+
| nova-conductor | devstack | internal | enabled | up | 2013-09-10T00:12:43.000000 | None |
| nova-compute | devstack | nova | enabled | down | 2013-09-09T23:38:02.000000 | None |
| nova-cert | devstack | internal | enabled | up | 2013-09-10T00:12:41.000000 | None |
| nova-scheduler | devstack | internal | enabled | up | 2013-09-10T00:12:41.000000 | None |
| nova-network | devstack | internal | enabled | up | 2013-09-10T00:12:39.000000 | None |
| nova-consoleauth | devstack | internal | enabled | up | 2013-09-10T00:12:41.000000 | None |
| nova-compute | 1_xhu_node | nova | enabled | up | 2013-09-10T00:12:37.000000 | None | >>>> fake compute node
| nova-compute | 2_xhu_node | nova | enabled | up | 2013-09-10T00:12:36.000000 | None | >>>> fake compute node
+------------------+------------+----------+---------+-------+----------------------------+-----------------+
I tested some instance actions, such as boot, stop, start, delete,
resize, cold migrate,suspend and resume, all of them work well, but
the live migrate failed due to following error:
2013-09-10 08:16:49.084 TRACE nova.openstack.common.rpc.amqp network_info)
2013-09-10 08:16:49.084 TRACE nova.openstack.common.rpc.amqp File "/opt/stack/nova/nova/virt/fake.py", line 360, in ensure_filtering_rules_for_instance
2013-09-10 08:16:49.084 TRACE nova.openstack.common.rpc.amqp raise NotImplementedError('This method is supported only by libvirt.')
2013-09-10 08:16:49.084 TRACE nova.openstack.common.rpc.amqp NotImplementedError: This method is supported only by libvirt.
Go through the source code in fake.py, i see the function
"ensure_filtering_rules_for_instance" is not implemented, so i think
this is a issue here for live migration, the fake virt driver should
support live migrate action to match the hole instance life cycle
and this action also is an useful case for POC and performance test.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1223090/+subscriptions