RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 672208 - [vdsm] When migrating multiple VMs some getting stuck in Paused status.
Summary: [vdsm] When migrating multiple VMs some getting stuck in Paused status.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: vdsm
Version: 6.1
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: rc
: 6.1
Assignee: Eduardo Warszawski
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-24 11:52 UTC by David Naori
Modified: 2016-04-18 06:37 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 07:04:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2011:1782 0 normal SHIPPED_LIVE new packages: vdsm 2011-12-06 11:55:51 UTC

Description David Naori 2011-01-24 11:52:38 UTC
Description of problem:

When migrating multiple VMs some getting stuck in Paused status on the source host. 

vdsm log:

Thread-612::ERROR::2011-01-24 13:05:41,728::vm::453::vds.vmlog.67cd8b9a-f684-46d2-b2a0-c7fa62b4fe3f::(run) Traceback (most recent call last):
  File "/usr/share/vdsm/vm.py", line 446, in run
    self._finishSuccessfully()
  File "/usr/share/vdsm/vm.py", line 373, in _finishSuccessfully
    self._vm.setDownStatus(NORMAL, "Migration succeeded")
  File "/usr/share/vdsm/vm.py", line 1743, in setDownStatus
    self.lastStatus = 'Down'
  File "/usr/share/vdsm/vm.py", line 576, in _set_lastStatus
    self.saveState()
  File "/usr/share/vdsm/libvirtvm.py", line 918, in saveState
    vm.Vm.saveState(self)
  File "/usr/share/vdsm/vm.py", line 1227, in saveState
    pickle.dump(toSave, f)
  File "/usr/lib64/python2.6/pickle.py", line 1362, in dump
    Pickler(file, protocol).dump(obj)
  File "/usr/lib64/python2.6/pickle.py", line 224, in dump
    self.save(obj)
  File "/usr/lib64/python2.6/pickle.py", line 286, in save
    f(self, obj) # Call unbound method with explicit self
  File "/usr/lib64/python2.6/pickle.py", line 649, in save_dict
    self._batch_setitems(obj.iteritems())
  File "/usr/lib64/python2.6/pickle.py", line 663, in _batch_setitems
    save(v)
  File "/usr/lib64/python2.6/pickle.py", line 286, in save
    f(self, obj) # Call unbound method with explicit self
  File "/usr/lib64/python2.6/pickle.py", line 600, in save_list
    self._batch_appends(iter(obj))
  File "/usr/lib64/python2.6/pickle.py", line 615, in _batch_appends
    save(x)
  File "/usr/lib64/python2.6/pickle.py", line 286, in save
    f(self, obj) # Call unbound method with explicit self
  File "/usr/lib64/python2.6/pickle.py", line 649, in save_dict
    self._batch_setitems(obj.iteritems())
  File "/usr/lib64/python2.6/pickle.py", line 661, in _batch_setitems
    for k, v in items:
RuntimeError: dictionary changed size during iteration

Versions:
-rhel 6.1 based hosts
-vdsm-4.9-43.1
-libvirt-0.8.7-3
-rhevm 2.3

repo steps:

1) Create 30 VMs from pool.
2) Migrate all of them together from one host to another.

Comment 2 Dan Kenigsberg 2011-02-10 08:23:49 UTC
this might be related to bug 660598

Comment 4 David Naori 2011-02-28 16:52:54 UTC
Verified on vdsm-4.9-51.el6.x86_64

Comment 5 errata-xmlrpc 2011-12-06 07:04:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2011-1782.html


Note You need to log in before you can comment on or make changes to this bug.