Bug 949189 - [PythonSDK] [Scalability] get error DefaultCookiePolicy instance has no attribute '_now' , during delete 400 VM's
Summary: [PythonSDK] [Scalability] get error DefaultCookiePolicy instance has no attri...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-sdk
Version: 3.2.0
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: 3.2.0
Assignee: Michael Pasternak
QA Contact: vvyazmin@redhat.com
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-06 22:31 UTC by vvyazmin@redhat.com
Modified: 2016-02-10 19:31 UTC (History)
10 users (show)

Fixed In Version: sf14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
## Logs (584.11 KB, application/x-gzip)
2013-04-06 22:31 UTC, vvyazmin@redhat.com
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 13894 0 None None None Never
oVirt gerrit 14025 0 None None None Never

Description vvyazmin@redhat.com 2013-04-06 22:31:20 UTC
Created attachment 732209 [details]
## Logs

Description of problem: Get error DefaultCookiePolicy instance has no attribute '_now'
, during delete 400 VM's

Version-Release number of selected component (if applicable):
RHEVM 3.2 - SF12 environment:

RHEVM: rhevm-3.2.0-10.17.master.el6ev.noarch
VDSM: vdsm-4.10.2-13.0.el6ev.x86_64
LIBVIRT: libvirt-0.10.2-18.el6_4.2.x86_64
QEMU & KVM: qemu-kvm-rhev-0.12.1.2-2.355.el6_4.2.x86_64
SANLOCK: sanlock-2.6-2.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Delete 400 VM's 
  
Actual results:
Session disconnected and I get error DefaultCookiePolicy instance has no attribute '_now'
 
This happens during mass (more then 100) delete on VM's, mass creating a new VM's

Expected results:
Session continue till end running script

Additional info:

Traceback (most recent call last):
  File "scale-sprint-2.py", line 450, in <module>
    runMultithreadingOperations(turboRemoveVM, len(vmListObjectsContainer), 50, {"vmObject": vmListObjectsContainer})
  File "/home/vvyazmin/ART/art/tests/scale/unittests/function_scale.py", line 32, in inner
    result = func(*args, **kwargs)
  File "/home/vvyazmin/ART/art/tests/scale/unittests/function_scale.py", line 670, in runMultithreadingOperations
    raise ex
AttributeError: DefaultCookiePolicy instance has no attribute '_now'

/var/log/ovirt-engine/engine.log

/var/log/vdsm/vdsm.log

Comment 3 Michael Pasternak 2013-04-07 09:33:14 UTC
looking at the code, i can't really see how DefaultCookiePolicy race
can be generated other than accessing SDK proxy instance before it got
initiated.

Comment 6 vvyazmin@redhat.com 2013-05-08 08:58:45 UTC
No issues are found

Verified on RHEVM 3.2 - SF15 environment:

RHEVM: rhevm-3.2.0-10.21.master.el6ev.noarch
VDSM: vdsm-4.10.2-17.0.el6ev.x86_64
LIBVIRT: libvirt-0.10.2-18.el6_4.4.x86_64
QEMU & KVM: qemu-kvm-rhev-0.12.1.2-2.355.el6_4.3.x86_64
SANLOCK: sanlock-2.6-2.el6.x86_64


Tested on environment with 400 VM's run on 4 hosts
Tested with delete and create VM's

Comment 7 Itamar Heim 2013-06-11 09:20:47 UTC
3.2 has been released

Comment 8 Itamar Heim 2013-06-11 09:43:40 UTC
3.2 has been released


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