03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk vol_name=dockerVol_xj7zF, datastore=sharedVmfs-0 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] getVMDK: file_exist=1 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk',) {} 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk',) {} 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk',) {} 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk',) {} 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk', 524291) {} 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk', 524291) {} 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [INFO ] executeRequest 'get' completed with ret={'attach-as': 'independent_persistent', 'status': 'detached', 'fstype': 'ext4', 'clone-from': 'None', 'diskformat': 'thin', 'created': 'Tue Mar 28 08:09:52 2017', 'capacity': {'size': '100MB', 'allocated': '13MB'}, 'access': 'read-write', 'created by VM': 'Photon-Dker-11', 'datastore': 'sharedVmfs-0'} 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:26 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 43, buffer 'b'{"cmd":"remove","details":{"Name":"dockerVol_xj7zF@sharedVmfs-0"}}'' 03/28/17 18:40:26 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:26 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:26 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:26 90967 [Thread-36713] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:26 90967 [Thread-36713] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:26 90967 [Thread-36713] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:26 90967 [Thread-36713] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:26 90967 [Thread-36713] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:26 90967 [Thread-36713] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:26 90967 [Thread-36713] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:26 90967 [Thread-36713] [DEBUG ] Authorize: cmd=remove 03/28/17 18:40:26 90967 [Thread-36713] [DEBUG ] Authorize: opt={} 03/28/17 18:40:26 90967 [Thread-36713] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:26 90967 [Thread-36713] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:26 90967 [Thread-36713] [DEBUG ] get_default_privileges 03/28/17 18:40:26 90967 [Thread-36713] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:26 90967 [Thread-36713] [DEBUG ] has_privilege: allow_create=1 03/28/17 18:40:26 90967 [Thread-36713] [INFO ] cmd remove with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:26 90967 [Thread-36713] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:26 90967 [Thread-36713] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:26 90967 [Thread-36713] [DEBUG ] vms=[] 03/28/17 18:40:26 90967 [Thread-36713] [DEBUG ] privileges=[] 03/28/17 18:40:26 90967 [Thread-36713] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:26 90967 [Thread-36713] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:26 90967 [Thread-36713] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk, 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [INFO ] *** removeVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk',) {} 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk',) {} 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [INFO ] *** cleanVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] remove volumes from volumes table(11111111-1111-1111-1111-111111111111 /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 dockerVol_xj7zF) 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [INFO ] executeRequest 'remove' completed with ret=None 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xj7zF.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:26 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 41, buffer 'b'{"cmd":"get","details":{"Name":"vsphere"}}'' 03/28/17 18:40:26 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:26 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:26 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:26 90967 [Thread-36714] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:26 90967 [Thread-36714] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:26 90967 [Thread-36714] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:26 90967 [Thread-36714] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:26 90967 [Thread-36714] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:26 90967 [Thread-36714] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:26 90967 [Thread-36714] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:26 90967 [Thread-36714] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:26 90967 [Thread-36714] [DEBUG ] Authorize: opt={} 03/28/17 18:40:26 90967 [Thread-36714] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:26 90967 [Thread-36714] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:26 90967 [Thread-36714] [DEBUG ] get_default_privileges 03/28/17 18:40:26 90967 [Thread-36714] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:26 90967 [Thread-36714] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:26 90967 [Thread-36714] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:26 90967 [Thread-36714] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:26 90967 [Thread-36714] [DEBUG ] vms=[] 03/28/17 18:40:26 90967 [Thread-36714] [DEBUG ] privileges=[] 03/28/17 18:40:26 90967 [Thread-36714] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:26 90967 [Thread-36714] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:26 90967 [Thread-36714] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk, 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk vol_name=vsphere, datastore=sharedVmfs-0 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: file_exist=0 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [INFO ] executeRequest 'get' completed with ret={'Error': 'Volume vsphere not found (file: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk)'} 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:26 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 43, buffer 'b'{"cmd":"get","details":{"Name":"dockerVol_xsSlH@sharedVmfs-0"}}'' 03/28/17 18:40:26 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:26 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:26 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:26 90967 [Thread-36715] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:26 90967 [Thread-36715] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:26 90967 [Thread-36715] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:26 90967 [Thread-36715] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:26 90967 [Thread-36715] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:26 90967 [Thread-36715] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:26 90967 [Thread-36715] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:26 90967 [Thread-36715] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:26 90967 [Thread-36715] [DEBUG ] Authorize: opt={} 03/28/17 18:40:26 90967 [Thread-36715] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:26 90967 [Thread-36715] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:26 90967 [Thread-36715] [DEBUG ] get_default_privileges 03/28/17 18:40:26 90967 [Thread-36715] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:26 90967 [Thread-36715] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:26 90967 [Thread-36715] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:26 90967 [Thread-36715] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:26 90967 [Thread-36715] [DEBUG ] vms=[] 03/28/17 18:40:26 90967 [Thread-36715] [DEBUG ] privileges=[] 03/28/17 18:40:26 90967 [Thread-36715] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:26 90967 [Thread-36715] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:26 90967 [Thread-36715] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk, 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk vol_name=dockerVol_xsSlH, datastore=sharedVmfs-0 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] getVMDK: file_exist=1 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk',) {} 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk',) {} 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk',) {} 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk',) {} 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk', 524291) {} 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk', 524291) {} 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [INFO ] executeRequest 'get' completed with ret={'attach-as': 'independent_persistent', 'status': 'detached', 'fstype': 'ext4', 'clone-from': 'None', 'diskformat': 'thin', 'created': 'Tue Mar 28 08:06:54 2017', 'capacity': {'size': '100MB', 'allocated': '13MB'}, 'access': 'read-write', 'created by VM': 'Photon-Dker-11', 'datastore': 'sharedVmfs-0'} 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:26 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 41, buffer 'b'{"cmd":"remove","details":{"Name":"dockerVol_xsSlH@sharedVmfs-0"}}'' 03/28/17 18:40:26 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:26 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:26 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:26 90967 [Thread-36716] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:26 90967 [Thread-36716] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:26 90967 [Thread-36716] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:26 90967 [Thread-36716] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:26 90967 [Thread-36716] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:26 90967 [Thread-36716] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:26 90967 [Thread-36716] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:26 90967 [Thread-36716] [DEBUG ] Authorize: cmd=remove 03/28/17 18:40:26 90967 [Thread-36716] [DEBUG ] Authorize: opt={} 03/28/17 18:40:26 90967 [Thread-36716] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:26 90967 [Thread-36716] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:26 90967 [Thread-36716] [DEBUG ] get_default_privileges 03/28/17 18:40:26 90967 [Thread-36716] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:26 90967 [Thread-36716] [DEBUG ] has_privilege: allow_create=1 03/28/17 18:40:26 90967 [Thread-36716] [INFO ] cmd remove with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:26 90967 [Thread-36716] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:26 90967 [Thread-36716] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:26 90967 [Thread-36716] [DEBUG ] vms=[] 03/28/17 18:40:26 90967 [Thread-36716] [DEBUG ] privileges=[] 03/28/17 18:40:26 90967 [Thread-36716] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:26 90967 [Thread-36716] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:26 90967 [Thread-36716] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk, 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [INFO ] *** removeVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk',) {} 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk',) {} 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [INFO ] *** cleanVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:26 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] remove volumes from volumes table(11111111-1111-1111-1111-111111111111 /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 dockerVol_xsSlH) 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [INFO ] executeRequest 'remove' completed with ret=None 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_xsSlH.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 43, buffer 'b'{"cmd":"get","details":{"Name":"vsphere"}}'' 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:27 90967 [Thread-36717] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:27 90967 [Thread-36717] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36717] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:27 90967 [Thread-36717] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:27 90967 [Thread-36717] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36717] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:27 90967 [Thread-36717] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36717] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:27 90967 [Thread-36717] [DEBUG ] Authorize: opt={} 03/28/17 18:40:27 90967 [Thread-36717] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:27 90967 [Thread-36717] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36717] [DEBUG ] get_default_privileges 03/28/17 18:40:27 90967 [Thread-36717] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:27 90967 [Thread-36717] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:27 90967 [Thread-36717] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:27 90967 [Thread-36717] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:27 90967 [Thread-36717] [DEBUG ] vms=[] 03/28/17 18:40:27 90967 [Thread-36717] [DEBUG ] privileges=[] 03/28/17 18:40:27 90967 [Thread-36717] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:27 90967 [Thread-36717] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:27 90967 [Thread-36717] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk, 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk vol_name=vsphere, datastore=sharedVmfs-0 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: file_exist=0 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [INFO ] executeRequest 'get' completed with ret={'Error': 'Volume vsphere not found (file: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk)'} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 41, buffer 'b'{"cmd":"get","details":{"Name":"dockerVol_yNNaU@sharedVmfs-0"}}'' 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:27 90967 [Thread-36718] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:27 90967 [Thread-36718] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36718] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:27 90967 [Thread-36718] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:27 90967 [Thread-36718] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36718] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:27 90967 [Thread-36718] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36718] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:27 90967 [Thread-36718] [DEBUG ] Authorize: opt={} 03/28/17 18:40:27 90967 [Thread-36718] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:27 90967 [Thread-36718] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36718] [DEBUG ] get_default_privileges 03/28/17 18:40:27 90967 [Thread-36718] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:27 90967 [Thread-36718] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:27 90967 [Thread-36718] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:27 90967 [Thread-36718] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:27 90967 [Thread-36718] [DEBUG ] vms=[] 03/28/17 18:40:27 90967 [Thread-36718] [DEBUG ] privileges=[] 03/28/17 18:40:27 90967 [Thread-36718] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:27 90967 [Thread-36718] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:27 90967 [Thread-36718] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk, 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk vol_name=dockerVol_yNNaU, datastore=sharedVmfs-0 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] getVMDK: file_exist=1 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk',) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk',) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk',) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk',) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk', 524291) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk', 524291) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [INFO ] executeRequest 'get' completed with ret={'attach-as': 'independent_persistent', 'status': 'detached', 'fstype': 'ext4', 'clone-from': 'None', 'diskformat': 'thin', 'created': 'Tue Mar 28 08:03:19 2017', 'capacity': {'size': '100MB', 'allocated': '13MB'}, 'access': 'read-write', 'created by VM': 'Photon-Dker-11', 'datastore': 'sharedVmfs-0'} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 43, buffer 'b'{"cmd":"remove","details":{"Name":"dockerVol_yNNaU@sharedVmfs-0"}}'' 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:27 90967 [Thread-36719] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:27 90967 [Thread-36719] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36719] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:27 90967 [Thread-36719] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:27 90967 [Thread-36719] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36719] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:27 90967 [Thread-36719] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36719] [DEBUG ] Authorize: cmd=remove 03/28/17 18:40:27 90967 [Thread-36719] [DEBUG ] Authorize: opt={} 03/28/17 18:40:27 90967 [Thread-36719] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:27 90967 [Thread-36719] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36719] [DEBUG ] get_default_privileges 03/28/17 18:40:27 90967 [Thread-36719] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:27 90967 [Thread-36719] [DEBUG ] has_privilege: allow_create=1 03/28/17 18:40:27 90967 [Thread-36719] [INFO ] cmd remove with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:27 90967 [Thread-36719] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:27 90967 [Thread-36719] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:27 90967 [Thread-36719] [DEBUG ] vms=[] 03/28/17 18:40:27 90967 [Thread-36719] [DEBUG ] privileges=[] 03/28/17 18:40:27 90967 [Thread-36719] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:27 90967 [Thread-36719] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:27 90967 [Thread-36719] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk, 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [INFO ] *** removeVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk',) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk',) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [INFO ] *** cleanVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] remove volumes from volumes table(11111111-1111-1111-1111-111111111111 /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 dockerVol_yNNaU) 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [INFO ] executeRequest 'remove' completed with ret=None 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yNNaU.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 41, buffer 'b'{"cmd":"get","details":{"Name":"vsphere"}}'' 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:27 90967 [Thread-36720] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:27 90967 [Thread-36720] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36720] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:27 90967 [Thread-36720] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:27 90967 [Thread-36720] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36720] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:27 90967 [Thread-36720] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36720] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:27 90967 [Thread-36720] [DEBUG ] Authorize: opt={} 03/28/17 18:40:27 90967 [Thread-36720] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:27 90967 [Thread-36720] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36720] [DEBUG ] get_default_privileges 03/28/17 18:40:27 90967 [Thread-36720] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:27 90967 [Thread-36720] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:27 90967 [Thread-36720] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:27 90967 [Thread-36720] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:27 90967 [Thread-36720] [DEBUG ] vms=[] 03/28/17 18:40:27 90967 [Thread-36720] [DEBUG ] privileges=[] 03/28/17 18:40:27 90967 [Thread-36720] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:27 90967 [Thread-36720] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:27 90967 [Thread-36720] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk, 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk vol_name=vsphere, datastore=sharedVmfs-0 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: file_exist=0 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [INFO ] executeRequest 'get' completed with ret={'Error': 'Volume vsphere not found (file: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk)'} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 43, buffer 'b'{"cmd":"get","details":{"Name":"dockerVol_yS4Ha@sharedVmfs-0"}}'' 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:27 90967 [Thread-36721] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:27 90967 [Thread-36721] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36721] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:27 90967 [Thread-36721] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:27 90967 [Thread-36721] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36721] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:27 90967 [Thread-36721] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36721] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:27 90967 [Thread-36721] [DEBUG ] Authorize: opt={} 03/28/17 18:40:27 90967 [Thread-36721] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:27 90967 [Thread-36721] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36721] [DEBUG ] get_default_privileges 03/28/17 18:40:27 90967 [Thread-36721] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:27 90967 [Thread-36721] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:27 90967 [Thread-36721] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:27 90967 [Thread-36721] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:27 90967 [Thread-36721] [DEBUG ] vms=[] 03/28/17 18:40:27 90967 [Thread-36721] [DEBUG ] privileges=[] 03/28/17 18:40:27 90967 [Thread-36721] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:27 90967 [Thread-36721] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:27 90967 [Thread-36721] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk, 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk vol_name=dockerVol_yS4Ha, datastore=sharedVmfs-0 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] getVMDK: file_exist=1 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk',) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk',) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk',) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk',) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk', 524291) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk', 524291) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [INFO ] executeRequest 'get' completed with ret={'attach-as': 'independent_persistent', 'status': 'detached', 'fstype': 'ext4', 'clone-from': 'None', 'diskformat': 'thin', 'created': 'Tue Mar 28 08:21:24 2017', 'capacity': {'size': '100MB', 'allocated': '13MB'}, 'access': 'read-write', 'created by VM': 'Photon-Dker-11', 'datastore': 'sharedVmfs-0'} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 41, buffer 'b'{"cmd":"remove","details":{"Name":"dockerVol_yS4Ha@sharedVmfs-0"}}'' 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:27 90967 [Thread-36722] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:27 90967 [Thread-36722] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36722] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:27 90967 [Thread-36722] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:27 90967 [Thread-36722] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36722] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:27 90967 [Thread-36722] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36722] [DEBUG ] Authorize: cmd=remove 03/28/17 18:40:27 90967 [Thread-36722] [DEBUG ] Authorize: opt={} 03/28/17 18:40:27 90967 [Thread-36722] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:27 90967 [Thread-36722] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36722] [DEBUG ] get_default_privileges 03/28/17 18:40:27 90967 [Thread-36722] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:27 90967 [Thread-36722] [DEBUG ] has_privilege: allow_create=1 03/28/17 18:40:27 90967 [Thread-36722] [INFO ] cmd remove with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:27 90967 [Thread-36722] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:27 90967 [Thread-36722] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:27 90967 [Thread-36722] [DEBUG ] vms=[] 03/28/17 18:40:27 90967 [Thread-36722] [DEBUG ] privileges=[] 03/28/17 18:40:27 90967 [Thread-36722] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:27 90967 [Thread-36722] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:27 90967 [Thread-36722] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk, 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [INFO ] *** removeVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk',) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk',) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [INFO ] *** cleanVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] remove volumes from volumes table(11111111-1111-1111-1111-111111111111 /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 dockerVol_yS4Ha) 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [INFO ] executeRequest 'remove' completed with ret=None 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yS4Ha.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 43, buffer 'b'{"cmd":"get","details":{"Name":"vsphere"}}'' 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:27 90967 [Thread-36723] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:27 90967 [Thread-36723] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36723] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:27 90967 [Thread-36723] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:27 90967 [Thread-36723] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36723] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:27 90967 [Thread-36723] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36723] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:27 90967 [Thread-36723] [DEBUG ] Authorize: opt={} 03/28/17 18:40:27 90967 [Thread-36723] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:27 90967 [Thread-36723] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36723] [DEBUG ] get_default_privileges 03/28/17 18:40:27 90967 [Thread-36723] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:27 90967 [Thread-36723] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:27 90967 [Thread-36723] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:27 90967 [Thread-36723] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:27 90967 [Thread-36723] [DEBUG ] vms=[] 03/28/17 18:40:27 90967 [Thread-36723] [DEBUG ] privileges=[] 03/28/17 18:40:27 90967 [Thread-36723] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:27 90967 [Thread-36723] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:27 90967 [Thread-36723] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk, 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk vol_name=vsphere, datastore=sharedVmfs-0 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: file_exist=0 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [INFO ] executeRequest 'get' completed with ret={'Error': 'Volume vsphere not found (file: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk)'} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 41, buffer 'b'{"cmd":"get","details":{"Name":"dockerVol_ygzio@sharedVmfs-0"}}'' 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:27 90967 [Thread-36724] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:27 90967 [Thread-36724] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36724] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:27 90967 [Thread-36724] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:27 90967 [Thread-36724] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36724] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:27 90967 [Thread-36724] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36724] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:27 90967 [Thread-36724] [DEBUG ] Authorize: opt={} 03/28/17 18:40:27 90967 [Thread-36724] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:27 90967 [Thread-36724] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36724] [DEBUG ] get_default_privileges 03/28/17 18:40:27 90967 [Thread-36724] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:27 90967 [Thread-36724] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:27 90967 [Thread-36724] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:27 90967 [Thread-36724] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:27 90967 [Thread-36724] [DEBUG ] vms=[] 03/28/17 18:40:27 90967 [Thread-36724] [DEBUG ] privileges=[] 03/28/17 18:40:27 90967 [Thread-36724] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:27 90967 [Thread-36724] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:27 90967 [Thread-36724] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk, 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk vol_name=dockerVol_ygzio, datastore=sharedVmfs-0 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] getVMDK: file_exist=1 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk',) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk',) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk',) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk',) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk', 524291) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk', 524291) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [INFO ] executeRequest 'get' completed with ret={'attach-as': 'independent_persistent', 'status': 'detached', 'fstype': 'ext4', 'clone-from': 'None', 'diskformat': 'thin', 'created': 'Tue Mar 28 08:14:57 2017', 'capacity': {'size': '100MB', 'allocated': '13MB'}, 'access': 'read-write', 'created by VM': 'Photon-Dker-11', 'datastore': 'sharedVmfs-0'} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 43, buffer 'b'{"cmd":"remove","details":{"Name":"dockerVol_ygzio@sharedVmfs-0"}}'' 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:27 90967 [Thread-36725] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:27 90967 [Thread-36725] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36725] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:27 90967 [Thread-36725] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:27 90967 [Thread-36725] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36725] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:27 90967 [Thread-36725] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36725] [DEBUG ] Authorize: cmd=remove 03/28/17 18:40:27 90967 [Thread-36725] [DEBUG ] Authorize: opt={} 03/28/17 18:40:27 90967 [Thread-36725] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:27 90967 [Thread-36725] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36725] [DEBUG ] get_default_privileges 03/28/17 18:40:27 90967 [Thread-36725] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:27 90967 [Thread-36725] [DEBUG ] has_privilege: allow_create=1 03/28/17 18:40:27 90967 [Thread-36725] [INFO ] cmd remove with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:27 90967 [Thread-36725] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:27 90967 [Thread-36725] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:27 90967 [Thread-36725] [DEBUG ] vms=[] 03/28/17 18:40:27 90967 [Thread-36725] [DEBUG ] privileges=[] 03/28/17 18:40:27 90967 [Thread-36725] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:27 90967 [Thread-36725] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:27 90967 [Thread-36725] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk, 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [INFO ] *** removeVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk',) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk',) {} 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [INFO ] *** cleanVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] remove volumes from volumes table(11111111-1111-1111-1111-111111111111 /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 dockerVol_ygzio) 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [INFO ] executeRequest 'remove' completed with ret=None 03/28/17 18:40:27 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ygzio.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 41, buffer 'b'{"cmd":"get","details":{"Name":"vsphere"}}'' 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:27 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:27 90967 [Thread-36726] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:27 90967 [Thread-36726] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36726] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:27 90967 [Thread-36726] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:27 90967 [Thread-36726] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36726] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:27 90967 [Thread-36726] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36726] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:27 90967 [Thread-36726] [DEBUG ] Authorize: opt={} 03/28/17 18:40:27 90967 [Thread-36726] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:27 90967 [Thread-36726] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:27 90967 [Thread-36726] [DEBUG ] get_default_privileges 03/28/17 18:40:27 90967 [Thread-36726] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:27 90967 [Thread-36726] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:27 90967 [Thread-36726] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:27 90967 [Thread-36726] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:27 90967 [Thread-36726] [DEBUG ] vms=[] 03/28/17 18:40:27 90967 [Thread-36726] [DEBUG ] privileges=[] 03/28/17 18:40:27 90967 [Thread-36726] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:27 90967 [Thread-36726] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:27 90967 [Thread-36726] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk, 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk vol_name=vsphere, datastore=sharedVmfs-0 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: file_exist=0 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [INFO ] executeRequest 'get' completed with ret={'Error': 'Volume vsphere not found (file: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk)'} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 43, buffer 'b'{"cmd":"get","details":{"Name":"dockerVol_ynhEy@sharedVmfs-0"}}'' 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:28 90967 [Thread-36727] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:28 90967 [Thread-36727] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36727] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:28 90967 [Thread-36727] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:28 90967 [Thread-36727] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36727] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:28 90967 [Thread-36727] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36727] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:28 90967 [Thread-36727] [DEBUG ] Authorize: opt={} 03/28/17 18:40:28 90967 [Thread-36727] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:28 90967 [Thread-36727] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36727] [DEBUG ] get_default_privileges 03/28/17 18:40:28 90967 [Thread-36727] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:28 90967 [Thread-36727] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:28 90967 [Thread-36727] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:28 90967 [Thread-36727] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:28 90967 [Thread-36727] [DEBUG ] vms=[] 03/28/17 18:40:28 90967 [Thread-36727] [DEBUG ] privileges=[] 03/28/17 18:40:28 90967 [Thread-36727] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:28 90967 [Thread-36727] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:28 90967 [Thread-36727] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk, 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk vol_name=dockerVol_ynhEy, datastore=sharedVmfs-0 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] getVMDK: file_exist=1 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk',) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk',) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk',) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk',) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk', 524291) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk', 524291) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [INFO ] executeRequest 'get' completed with ret={'attach-as': 'independent_persistent', 'status': 'detached', 'fstype': 'ext4', 'clone-from': 'None', 'diskformat': 'thin', 'created': 'Tue Mar 28 08:16:55 2017', 'capacity': {'size': '100MB', 'allocated': '13MB'}, 'access': 'read-write', 'created by VM': 'Photon-Dker-11', 'datastore': 'sharedVmfs-0'} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 41, buffer 'b'{"cmd":"remove","details":{"Name":"dockerVol_ynhEy@sharedVmfs-0"}}'' 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:28 90967 [Thread-36728] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:28 90967 [Thread-36728] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36728] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:28 90967 [Thread-36728] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:28 90967 [Thread-36728] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36728] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:28 90967 [Thread-36728] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36728] [DEBUG ] Authorize: cmd=remove 03/28/17 18:40:28 90967 [Thread-36728] [DEBUG ] Authorize: opt={} 03/28/17 18:40:28 90967 [Thread-36728] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:28 90967 [Thread-36728] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36728] [DEBUG ] get_default_privileges 03/28/17 18:40:28 90967 [Thread-36728] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:28 90967 [Thread-36728] [DEBUG ] has_privilege: allow_create=1 03/28/17 18:40:28 90967 [Thread-36728] [INFO ] cmd remove with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:28 90967 [Thread-36728] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:28 90967 [Thread-36728] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:28 90967 [Thread-36728] [DEBUG ] vms=[] 03/28/17 18:40:28 90967 [Thread-36728] [DEBUG ] privileges=[] 03/28/17 18:40:28 90967 [Thread-36728] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:28 90967 [Thread-36728] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:28 90967 [Thread-36728] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk, 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [INFO ] *** removeVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk',) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk',) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [INFO ] *** cleanVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] remove volumes from volumes table(11111111-1111-1111-1111-111111111111 /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 dockerVol_ynhEy) 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [INFO ] executeRequest 'remove' completed with ret=None 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_ynhEy.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 43, buffer 'b'{"cmd":"get","details":{"Name":"vsphere"}}'' 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:28 90967 [Thread-36729] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:28 90967 [Thread-36729] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36729] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:28 90967 [Thread-36729] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:28 90967 [Thread-36729] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36729] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:28 90967 [Thread-36729] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36729] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:28 90967 [Thread-36729] [DEBUG ] Authorize: opt={} 03/28/17 18:40:28 90967 [Thread-36729] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:28 90967 [Thread-36729] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36729] [DEBUG ] get_default_privileges 03/28/17 18:40:28 90967 [Thread-36729] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:28 90967 [Thread-36729] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:28 90967 [Thread-36729] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:28 90967 [Thread-36729] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:28 90967 [Thread-36729] [DEBUG ] vms=[] 03/28/17 18:40:28 90967 [Thread-36729] [DEBUG ] privileges=[] 03/28/17 18:40:28 90967 [Thread-36729] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:28 90967 [Thread-36729] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:28 90967 [Thread-36729] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk, 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk vol_name=vsphere, datastore=sharedVmfs-0 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: file_exist=0 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [INFO ] executeRequest 'get' completed with ret={'Error': 'Volume vsphere not found (file: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk)'} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 41, buffer 'b'{"cmd":"get","details":{"Name":"dockerVol_yz3eW@sharedVmfs-0"}}'' 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:28 90967 [Thread-36730] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:28 90967 [Thread-36730] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36730] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:28 90967 [Thread-36730] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:28 90967 [Thread-36730] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36730] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:28 90967 [Thread-36730] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36730] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:28 90967 [Thread-36730] [DEBUG ] Authorize: opt={} 03/28/17 18:40:28 90967 [Thread-36730] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:28 90967 [Thread-36730] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36730] [DEBUG ] get_default_privileges 03/28/17 18:40:28 90967 [Thread-36730] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:28 90967 [Thread-36730] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:28 90967 [Thread-36730] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:28 90967 [Thread-36730] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:28 90967 [Thread-36730] [DEBUG ] vms=[] 03/28/17 18:40:28 90967 [Thread-36730] [DEBUG ] privileges=[] 03/28/17 18:40:28 90967 [Thread-36730] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:28 90967 [Thread-36730] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:28 90967 [Thread-36730] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk, 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk vol_name=dockerVol_yz3eW, datastore=sharedVmfs-0 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] getVMDK: file_exist=1 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk',) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk',) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk',) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk',) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk', 524291) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk', 524291) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [INFO ] executeRequest 'get' completed with ret={'attach-as': 'independent_persistent', 'status': 'detached', 'fstype': 'ext4', 'clone-from': 'None', 'diskformat': 'thin', 'created': 'Tue Mar 28 08:04:34 2017', 'capacity': {'size': '100MB', 'allocated': '13MB'}, 'access': 'read-write', 'created by VM': 'Photon-Dker-11', 'datastore': 'sharedVmfs-0'} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 43, buffer 'b'{"cmd":"remove","details":{"Name":"dockerVol_yz3eW@sharedVmfs-0"}}'' 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:28 90967 [Thread-36731] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:28 90967 [Thread-36731] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36731] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:28 90967 [Thread-36731] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:28 90967 [Thread-36731] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36731] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:28 90967 [Thread-36731] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36731] [DEBUG ] Authorize: cmd=remove 03/28/17 18:40:28 90967 [Thread-36731] [DEBUG ] Authorize: opt={} 03/28/17 18:40:28 90967 [Thread-36731] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:28 90967 [Thread-36731] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36731] [DEBUG ] get_default_privileges 03/28/17 18:40:28 90967 [Thread-36731] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:28 90967 [Thread-36731] [DEBUG ] has_privilege: allow_create=1 03/28/17 18:40:28 90967 [Thread-36731] [INFO ] cmd remove with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:28 90967 [Thread-36731] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:28 90967 [Thread-36731] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:28 90967 [Thread-36731] [DEBUG ] vms=[] 03/28/17 18:40:28 90967 [Thread-36731] [DEBUG ] privileges=[] 03/28/17 18:40:28 90967 [Thread-36731] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:28 90967 [Thread-36731] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:28 90967 [Thread-36731] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk, 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [INFO ] *** removeVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk',) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk',) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [INFO ] *** cleanVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] remove volumes from volumes table(11111111-1111-1111-1111-111111111111 /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 dockerVol_yz3eW) 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [INFO ] executeRequest 'remove' completed with ret=None 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_yz3eW.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 41, buffer 'b'{"cmd":"get","details":{"Name":"vsphere"}}'' 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:28 90967 [Thread-36732] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:28 90967 [Thread-36732] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36732] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:28 90967 [Thread-36732] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:28 90967 [Thread-36732] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36732] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:28 90967 [Thread-36732] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36732] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:28 90967 [Thread-36732] [DEBUG ] Authorize: opt={} 03/28/17 18:40:28 90967 [Thread-36732] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:28 90967 [Thread-36732] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36732] [DEBUG ] get_default_privileges 03/28/17 18:40:28 90967 [Thread-36732] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:28 90967 [Thread-36732] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:28 90967 [Thread-36732] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:28 90967 [Thread-36732] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:28 90967 [Thread-36732] [DEBUG ] vms=[] 03/28/17 18:40:28 90967 [Thread-36732] [DEBUG ] privileges=[] 03/28/17 18:40:28 90967 [Thread-36732] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:28 90967 [Thread-36732] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:28 90967 [Thread-36732] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk, 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk vol_name=vsphere, datastore=sharedVmfs-0 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: file_exist=0 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [INFO ] executeRequest 'get' completed with ret={'Error': 'Volume vsphere not found (file: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk)'} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 43, buffer 'b'{"cmd":"get","details":{"Name":"dockerVol_zBh5r@sharedVmfs-0"}}'' 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:28 90967 [Thread-36733] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:28 90967 [Thread-36733] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36733] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:28 90967 [Thread-36733] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:28 90967 [Thread-36733] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36733] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:28 90967 [Thread-36733] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36733] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:28 90967 [Thread-36733] [DEBUG ] Authorize: opt={} 03/28/17 18:40:28 90967 [Thread-36733] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:28 90967 [Thread-36733] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36733] [DEBUG ] get_default_privileges 03/28/17 18:40:28 90967 [Thread-36733] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:28 90967 [Thread-36733] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:28 90967 [Thread-36733] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:28 90967 [Thread-36733] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:28 90967 [Thread-36733] [DEBUG ] vms=[] 03/28/17 18:40:28 90967 [Thread-36733] [DEBUG ] privileges=[] 03/28/17 18:40:28 90967 [Thread-36733] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:28 90967 [Thread-36733] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:28 90967 [Thread-36733] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk, 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk vol_name=dockerVol_zBh5r, datastore=sharedVmfs-0 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] getVMDK: file_exist=1 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk',) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk',) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk',) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk',) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk', 524291) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk', 524291) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [INFO ] executeRequest 'get' completed with ret={'attach-as': 'independent_persistent', 'status': 'detached', 'fstype': 'ext4', 'clone-from': 'None', 'diskformat': 'thin', 'created': 'Tue Mar 28 08:08:19 2017', 'capacity': {'size': '100MB', 'allocated': '13MB'}, 'access': 'read-write', 'created by VM': 'Photon-Dker-11', 'datastore': 'sharedVmfs-0'} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 41, buffer 'b'{"cmd":"remove","details":{"Name":"dockerVol_zBh5r@sharedVmfs-0"}}'' 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:28 90967 [Thread-36734] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:28 90967 [Thread-36734] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36734] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:28 90967 [Thread-36734] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:28 90967 [Thread-36734] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36734] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:28 90967 [Thread-36734] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36734] [DEBUG ] Authorize: cmd=remove 03/28/17 18:40:28 90967 [Thread-36734] [DEBUG ] Authorize: opt={} 03/28/17 18:40:28 90967 [Thread-36734] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:28 90967 [Thread-36734] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36734] [DEBUG ] get_default_privileges 03/28/17 18:40:28 90967 [Thread-36734] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:28 90967 [Thread-36734] [DEBUG ] has_privilege: allow_create=1 03/28/17 18:40:28 90967 [Thread-36734] [INFO ] cmd remove with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:28 90967 [Thread-36734] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:28 90967 [Thread-36734] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:28 90967 [Thread-36734] [DEBUG ] vms=[] 03/28/17 18:40:28 90967 [Thread-36734] [DEBUG ] privileges=[] 03/28/17 18:40:28 90967 [Thread-36734] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:28 90967 [Thread-36734] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:28 90967 [Thread-36734] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk, 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [INFO ] *** removeVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk',) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk',) {} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [INFO ] *** cleanVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] remove volumes from volumes table(11111111-1111-1111-1111-111111111111 /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 dockerVol_zBh5r) 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [INFO ] executeRequest 'remove' completed with ret=None 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zBh5r.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 43, buffer 'b'{"cmd":"get","details":{"Name":"vsphere"}}'' 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:28 90967 [Thread-36735] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:28 90967 [Thread-36735] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36735] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:28 90967 [Thread-36735] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:28 90967 [Thread-36735] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36735] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:28 90967 [Thread-36735] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36735] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:28 90967 [Thread-36735] [DEBUG ] Authorize: opt={} 03/28/17 18:40:28 90967 [Thread-36735] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:28 90967 [Thread-36735] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:28 90967 [Thread-36735] [DEBUG ] get_default_privileges 03/28/17 18:40:28 90967 [Thread-36735] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:28 90967 [Thread-36735] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:28 90967 [Thread-36735] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:28 90967 [Thread-36735] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:28 90967 [Thread-36735] [DEBUG ] vms=[] 03/28/17 18:40:28 90967 [Thread-36735] [DEBUG ] privileges=[] 03/28/17 18:40:28 90967 [Thread-36735] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:28 90967 [Thread-36735] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:28 90967 [Thread-36735] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk, 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk vol_name=vsphere, datastore=sharedVmfs-0 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: file_exist=0 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [INFO ] executeRequest 'get' completed with ret={'Error': 'Volume vsphere not found (file: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk)'} 03/28/17 18:40:28 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 41, buffer 'b'{"cmd":"get","details":{"Name":"dockerVol_zHl86@sharedVmfs-0"}}'' 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:28 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:28 90967 [Thread-36736] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:28 90967 [Thread-36736] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36736] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:29 90967 [Thread-36736] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:29 90967 [Thread-36736] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36736] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:29 90967 [Thread-36736] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36736] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:29 90967 [Thread-36736] [DEBUG ] Authorize: opt={} 03/28/17 18:40:29 90967 [Thread-36736] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:29 90967 [Thread-36736] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36736] [DEBUG ] get_default_privileges 03/28/17 18:40:29 90967 [Thread-36736] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:29 90967 [Thread-36736] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:29 90967 [Thread-36736] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:29 90967 [Thread-36736] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:29 90967 [Thread-36736] [DEBUG ] vms=[] 03/28/17 18:40:29 90967 [Thread-36736] [DEBUG ] privileges=[] 03/28/17 18:40:29 90967 [Thread-36736] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:29 90967 [Thread-36736] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:29 90967 [Thread-36736] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk, 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk vol_name=dockerVol_zHl86, datastore=sharedVmfs-0 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] getVMDK: file_exist=1 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk',) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk',) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk',) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk',) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk', 524291) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk', 524291) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [INFO ] executeRequest 'get' completed with ret={'attach-as': 'independent_persistent', 'status': 'detached', 'fstype': 'ext4', 'clone-from': 'None', 'diskformat': 'thin', 'created': 'Tue Mar 28 08:15:36 2017', 'capacity': {'size': '100MB', 'allocated': '13MB'}, 'access': 'read-write', 'created by VM': 'Photon-Dker-11', 'datastore': 'sharedVmfs-0'} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 43, buffer 'b'{"cmd":"remove","details":{"Name":"dockerVol_zHl86@sharedVmfs-0"}}'' 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:29 90967 [Thread-36737] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:29 90967 [Thread-36737] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36737] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:29 90967 [Thread-36737] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:29 90967 [Thread-36737] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36737] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:29 90967 [Thread-36737] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36737] [DEBUG ] Authorize: cmd=remove 03/28/17 18:40:29 90967 [Thread-36737] [DEBUG ] Authorize: opt={} 03/28/17 18:40:29 90967 [Thread-36737] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:29 90967 [Thread-36737] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36737] [DEBUG ] get_default_privileges 03/28/17 18:40:29 90967 [Thread-36737] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:29 90967 [Thread-36737] [DEBUG ] has_privilege: allow_create=1 03/28/17 18:40:29 90967 [Thread-36737] [INFO ] cmd remove with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:29 90967 [Thread-36737] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:29 90967 [Thread-36737] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:29 90967 [Thread-36737] [DEBUG ] vms=[] 03/28/17 18:40:29 90967 [Thread-36737] [DEBUG ] privileges=[] 03/28/17 18:40:29 90967 [Thread-36737] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:29 90967 [Thread-36737] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:29 90967 [Thread-36737] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk, 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [INFO ] *** removeVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk',) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk',) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [INFO ] *** cleanVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] remove volumes from volumes table(11111111-1111-1111-1111-111111111111 /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 dockerVol_zHl86) 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [INFO ] executeRequest 'remove' completed with ret=None 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zHl86.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 41, buffer 'b'{"cmd":"get","details":{"Name":"vsphere"}}'' 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:29 90967 [Thread-36738] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:29 90967 [Thread-36738] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36738] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:29 90967 [Thread-36738] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:29 90967 [Thread-36738] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36738] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:29 90967 [Thread-36738] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36738] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:29 90967 [Thread-36738] [DEBUG ] Authorize: opt={} 03/28/17 18:40:29 90967 [Thread-36738] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:29 90967 [Thread-36738] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36738] [DEBUG ] get_default_privileges 03/28/17 18:40:29 90967 [Thread-36738] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:29 90967 [Thread-36738] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:29 90967 [Thread-36738] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:29 90967 [Thread-36738] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:29 90967 [Thread-36738] [DEBUG ] vms=[] 03/28/17 18:40:29 90967 [Thread-36738] [DEBUG ] privileges=[] 03/28/17 18:40:29 90967 [Thread-36738] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:29 90967 [Thread-36738] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:29 90967 [Thread-36738] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk, 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk vol_name=vsphere, datastore=sharedVmfs-0 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: file_exist=0 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [INFO ] executeRequest 'get' completed with ret={'Error': 'Volume vsphere not found (file: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk)'} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 43, buffer 'b'{"cmd":"get","details":{"Name":"dockerVol_zXMfi@sharedVmfs-0"}}'' 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:29 90967 [Thread-36739] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:29 90967 [Thread-36739] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36739] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:29 90967 [Thread-36739] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:29 90967 [Thread-36739] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36739] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:29 90967 [Thread-36739] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36739] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:29 90967 [Thread-36739] [DEBUG ] Authorize: opt={} 03/28/17 18:40:29 90967 [Thread-36739] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:29 90967 [Thread-36739] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36739] [DEBUG ] get_default_privileges 03/28/17 18:40:29 90967 [Thread-36739] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:29 90967 [Thread-36739] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:29 90967 [Thread-36739] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:29 90967 [Thread-36739] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:29 90967 [Thread-36739] [DEBUG ] vms=[] 03/28/17 18:40:29 90967 [Thread-36739] [DEBUG ] privileges=[] 03/28/17 18:40:29 90967 [Thread-36739] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:29 90967 [Thread-36739] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:29 90967 [Thread-36739] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk, 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk vol_name=dockerVol_zXMfi, datastore=sharedVmfs-0 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] getVMDK: file_exist=1 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk',) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk',) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk',) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk',) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk', 524291) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk', 524291) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [INFO ] executeRequest 'get' completed with ret={'attach-as': 'independent_persistent', 'status': 'detached', 'fstype': 'ext4', 'clone-from': 'None', 'diskformat': 'thin', 'created': 'Tue Mar 28 07:59:12 2017', 'capacity': {'size': '100MB', 'allocated': '13MB'}, 'access': 'read-write', 'created by VM': 'Photon-Dker-11', 'datastore': 'sharedVmfs-0'} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 41, buffer 'b'{"cmd":"remove","details":{"Name":"dockerVol_zXMfi@sharedVmfs-0"}}'' 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:29 90967 [Thread-36740] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:29 90967 [Thread-36740] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36740] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:29 90967 [Thread-36740] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:29 90967 [Thread-36740] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36740] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:29 90967 [Thread-36740] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36740] [DEBUG ] Authorize: cmd=remove 03/28/17 18:40:29 90967 [Thread-36740] [DEBUG ] Authorize: opt={} 03/28/17 18:40:29 90967 [Thread-36740] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:29 90967 [Thread-36740] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36740] [DEBUG ] get_default_privileges 03/28/17 18:40:29 90967 [Thread-36740] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:29 90967 [Thread-36740] [DEBUG ] has_privilege: allow_create=1 03/28/17 18:40:29 90967 [Thread-36740] [INFO ] cmd remove with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:29 90967 [Thread-36740] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:29 90967 [Thread-36740] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:29 90967 [Thread-36740] [DEBUG ] vms=[] 03/28/17 18:40:29 90967 [Thread-36740] [DEBUG ] privileges=[] 03/28/17 18:40:29 90967 [Thread-36740] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:29 90967 [Thread-36740] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:29 90967 [Thread-36740] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk, 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [INFO ] *** removeVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk',) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk',) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [INFO ] *** cleanVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] remove volumes from volumes table(11111111-1111-1111-1111-111111111111 /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 dockerVol_zXMfi) 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [INFO ] executeRequest 'remove' completed with ret=None 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zXMfi.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 43, buffer 'b'{"cmd":"get","details":{"Name":"vsphere"}}'' 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:29 90967 [Thread-36741] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:29 90967 [Thread-36741] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36741] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:29 90967 [Thread-36741] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:29 90967 [Thread-36741] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36741] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:29 90967 [Thread-36741] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36741] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:29 90967 [Thread-36741] [DEBUG ] Authorize: opt={} 03/28/17 18:40:29 90967 [Thread-36741] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:29 90967 [Thread-36741] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36741] [DEBUG ] get_default_privileges 03/28/17 18:40:29 90967 [Thread-36741] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:29 90967 [Thread-36741] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:29 90967 [Thread-36741] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:29 90967 [Thread-36741] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:29 90967 [Thread-36741] [DEBUG ] vms=[] 03/28/17 18:40:29 90967 [Thread-36741] [DEBUG ] privileges=[] 03/28/17 18:40:29 90967 [Thread-36741] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:29 90967 [Thread-36741] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:29 90967 [Thread-36741] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk, 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk vol_name=vsphere, datastore=sharedVmfs-0 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: file_exist=0 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [INFO ] executeRequest 'get' completed with ret={'Error': 'Volume vsphere not found (file: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk)'} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 41, buffer 'b'{"cmd":"get","details":{"Name":"dockerVol_zZ1Vj@sharedVmfs-0"}}'' 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:29 90967 [Thread-36742] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:29 90967 [Thread-36742] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36742] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:29 90967 [Thread-36742] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:29 90967 [Thread-36742] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36742] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:29 90967 [Thread-36742] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36742] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:29 90967 [Thread-36742] [DEBUG ] Authorize: opt={} 03/28/17 18:40:29 90967 [Thread-36742] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:29 90967 [Thread-36742] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36742] [DEBUG ] get_default_privileges 03/28/17 18:40:29 90967 [Thread-36742] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:29 90967 [Thread-36742] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:29 90967 [Thread-36742] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:29 90967 [Thread-36742] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:29 90967 [Thread-36742] [DEBUG ] vms=[] 03/28/17 18:40:29 90967 [Thread-36742] [DEBUG ] privileges=[] 03/28/17 18:40:29 90967 [Thread-36742] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:29 90967 [Thread-36742] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:29 90967 [Thread-36742] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk, 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk vol_name=dockerVol_zZ1Vj, datastore=sharedVmfs-0 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] getVMDK: file_exist=1 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk',) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk',) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk',) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk',) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk', 524291) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk', 524291) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [INFO ] executeRequest 'get' completed with ret={'attach-as': 'independent_persistent', 'status': 'detached', 'fstype': 'ext4', 'clone-from': 'None', 'diskformat': 'thin', 'created': 'Tue Mar 28 08:08:51 2017', 'capacity': {'size': '100MB', 'allocated': '13MB'}, 'access': 'read-write', 'created by VM': 'Photon-Dker-11', 'datastore': 'sharedVmfs-0'} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 43, buffer 'b'{"cmd":"remove","details":{"Name":"dockerVol_zZ1Vj@sharedVmfs-0"}}'' 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:29 90967 [Thread-36743] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:29 90967 [Thread-36743] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36743] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:29 90967 [Thread-36743] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:29 90967 [Thread-36743] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36743] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:29 90967 [Thread-36743] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36743] [DEBUG ] Authorize: cmd=remove 03/28/17 18:40:29 90967 [Thread-36743] [DEBUG ] Authorize: opt={} 03/28/17 18:40:29 90967 [Thread-36743] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:29 90967 [Thread-36743] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36743] [DEBUG ] get_default_privileges 03/28/17 18:40:29 90967 [Thread-36743] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:29 90967 [Thread-36743] [DEBUG ] has_privilege: allow_create=1 03/28/17 18:40:29 90967 [Thread-36743] [INFO ] cmd remove with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:29 90967 [Thread-36743] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:29 90967 [Thread-36743] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:29 90967 [Thread-36743] [DEBUG ] vms=[] 03/28/17 18:40:29 90967 [Thread-36743] [DEBUG ] privileges=[] 03/28/17 18:40:29 90967 [Thread-36743] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:29 90967 [Thread-36743] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:29 90967 [Thread-36743] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk, 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [INFO ] *** removeVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk',) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk',) {} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [INFO ] *** cleanVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] remove volumes from volumes table(11111111-1111-1111-1111-111111111111 /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 dockerVol_zZ1Vj) 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [INFO ] executeRequest 'remove' completed with ret=None 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zZ1Vj.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 41, buffer 'b'{"cmd":"get","details":{"Name":"vsphere"}}'' 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:29 90967 [Thread-36744] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:29 90967 [Thread-36744] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36744] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:29 90967 [Thread-36744] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:29 90967 [Thread-36744] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36744] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:29 90967 [Thread-36744] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36744] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:29 90967 [Thread-36744] [DEBUG ] Authorize: opt={} 03/28/17 18:40:29 90967 [Thread-36744] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:29 90967 [Thread-36744] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36744] [DEBUG ] get_default_privileges 03/28/17 18:40:29 90967 [Thread-36744] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:29 90967 [Thread-36744] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:29 90967 [Thread-36744] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:29 90967 [Thread-36744] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:29 90967 [Thread-36744] [DEBUG ] vms=[] 03/28/17 18:40:29 90967 [Thread-36744] [DEBUG ] privileges=[] 03/28/17 18:40:29 90967 [Thread-36744] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:29 90967 [Thread-36744] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:29 90967 [Thread-36744] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk, 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk vol_name=vsphere, datastore=sharedVmfs-0 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: file_exist=0 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [INFO ] executeRequest 'get' completed with ret={'Error': 'Volume vsphere not found (file: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk)'} 03/28/17 18:40:29 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 43, buffer 'b'{"cmd":"get","details":{"Name":"dockerVol_zakpY@sharedVmfs-0"}}'' 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:29 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:29 90967 [Thread-36745] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:29 90967 [Thread-36745] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:29 90967 [Thread-36745] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:30 90967 [Thread-36745] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:30 90967 [Thread-36745] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36745] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:30 90967 [Thread-36745] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36745] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:30 90967 [Thread-36745] [DEBUG ] Authorize: opt={} 03/28/17 18:40:30 90967 [Thread-36745] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:30 90967 [Thread-36745] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36745] [DEBUG ] get_default_privileges 03/28/17 18:40:30 90967 [Thread-36745] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:30 90967 [Thread-36745] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:30 90967 [Thread-36745] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:30 90967 [Thread-36745] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:30 90967 [Thread-36745] [DEBUG ] vms=[] 03/28/17 18:40:30 90967 [Thread-36745] [DEBUG ] privileges=[] 03/28/17 18:40:30 90967 [Thread-36745] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:30 90967 [Thread-36745] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:30 90967 [Thread-36745] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk, 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk vol_name=dockerVol_zakpY, datastore=sharedVmfs-0 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] getVMDK: file_exist=1 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk',) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk',) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk',) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk',) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk', 524291) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk', 524291) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [INFO ] executeRequest 'get' completed with ret={'attach-as': 'independent_persistent', 'status': 'detached', 'fstype': 'ext4', 'clone-from': 'None', 'diskformat': 'thin', 'created': 'Tue Mar 28 08:26:06 2017', 'capacity': {'size': '100MB', 'allocated': '13MB'}, 'access': 'read-write', 'created by VM': 'Photon-Dker-11', 'datastore': 'sharedVmfs-0'} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 41, buffer 'b'{"cmd":"remove","details":{"Name":"dockerVol_zakpY@sharedVmfs-0"}}'' 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:30 90967 [Thread-36746] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:30 90967 [Thread-36746] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36746] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:30 90967 [Thread-36746] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:30 90967 [Thread-36746] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36746] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:30 90967 [Thread-36746] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36746] [DEBUG ] Authorize: cmd=remove 03/28/17 18:40:30 90967 [Thread-36746] [DEBUG ] Authorize: opt={} 03/28/17 18:40:30 90967 [Thread-36746] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:30 90967 [Thread-36746] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36746] [DEBUG ] get_default_privileges 03/28/17 18:40:30 90967 [Thread-36746] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:30 90967 [Thread-36746] [DEBUG ] has_privilege: allow_create=1 03/28/17 18:40:30 90967 [Thread-36746] [INFO ] cmd remove with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:30 90967 [Thread-36746] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:30 90967 [Thread-36746] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:30 90967 [Thread-36746] [DEBUG ] vms=[] 03/28/17 18:40:30 90967 [Thread-36746] [DEBUG ] privileges=[] 03/28/17 18:40:30 90967 [Thread-36746] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:30 90967 [Thread-36746] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:30 90967 [Thread-36746] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk, 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [INFO ] *** removeVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk',) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk',) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [INFO ] *** cleanVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] remove volumes from volumes table(11111111-1111-1111-1111-111111111111 /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 dockerVol_zakpY) 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [INFO ] executeRequest 'remove' completed with ret=None 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zakpY.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 43, buffer 'b'{"cmd":"get","details":{"Name":"vsphere"}}'' 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:30 90967 [Thread-36747] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:30 90967 [Thread-36747] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36747] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:30 90967 [Thread-36747] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:30 90967 [Thread-36747] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36747] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:30 90967 [Thread-36747] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36747] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:30 90967 [Thread-36747] [DEBUG ] Authorize: opt={} 03/28/17 18:40:30 90967 [Thread-36747] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:30 90967 [Thread-36747] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36747] [DEBUG ] get_default_privileges 03/28/17 18:40:30 90967 [Thread-36747] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:30 90967 [Thread-36747] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:30 90967 [Thread-36747] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:30 90967 [Thread-36747] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:30 90967 [Thread-36747] [DEBUG ] vms=[] 03/28/17 18:40:30 90967 [Thread-36747] [DEBUG ] privileges=[] 03/28/17 18:40:30 90967 [Thread-36747] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:30 90967 [Thread-36747] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:30 90967 [Thread-36747] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk, 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk vol_name=vsphere, datastore=sharedVmfs-0 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: file_exist=0 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [INFO ] executeRequest 'get' completed with ret={'Error': 'Volume vsphere not found (file: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk)'} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 41, buffer 'b'{"cmd":"get","details":{"Name":"dockerVol_zfwva@sharedVmfs-0"}}'' 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:30 90967 [Thread-36748] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:30 90967 [Thread-36748] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36748] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:30 90967 [Thread-36748] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:30 90967 [Thread-36748] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36748] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:30 90967 [Thread-36748] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36748] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:30 90967 [Thread-36748] [DEBUG ] Authorize: opt={} 03/28/17 18:40:30 90967 [Thread-36748] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:30 90967 [Thread-36748] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36748] [DEBUG ] get_default_privileges 03/28/17 18:40:30 90967 [Thread-36748] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:30 90967 [Thread-36748] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:30 90967 [Thread-36748] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:30 90967 [Thread-36748] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:30 90967 [Thread-36748] [DEBUG ] vms=[] 03/28/17 18:40:30 90967 [Thread-36748] [DEBUG ] privileges=[] 03/28/17 18:40:30 90967 [Thread-36748] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:30 90967 [Thread-36748] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:30 90967 [Thread-36748] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk, 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk vol_name=dockerVol_zfwva, datastore=sharedVmfs-0 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] getVMDK: file_exist=1 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk',) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk',) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk',) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk',) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk', 524291) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk', 524291) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [INFO ] executeRequest 'get' completed with ret={'attach-as': 'independent_persistent', 'status': 'detached', 'fstype': 'ext4', 'clone-from': 'None', 'diskformat': 'thin', 'created': 'Tue Mar 28 08:10:12 2017', 'capacity': {'size': '100MB', 'allocated': '13MB'}, 'access': 'read-write', 'created by VM': 'Photon-Dker-11', 'datastore': 'sharedVmfs-0'} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 43, buffer 'b'{"cmd":"remove","details":{"Name":"dockerVol_zfwva@sharedVmfs-0"}}'' 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:30 90967 [Thread-36749] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:30 90967 [Thread-36749] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36749] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:30 90967 [Thread-36749] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:30 90967 [Thread-36749] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36749] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:30 90967 [Thread-36749] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36749] [DEBUG ] Authorize: cmd=remove 03/28/17 18:40:30 90967 [Thread-36749] [DEBUG ] Authorize: opt={} 03/28/17 18:40:30 90967 [Thread-36749] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:30 90967 [Thread-36749] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36749] [DEBUG ] get_default_privileges 03/28/17 18:40:30 90967 [Thread-36749] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:30 90967 [Thread-36749] [DEBUG ] has_privilege: allow_create=1 03/28/17 18:40:30 90967 [Thread-36749] [INFO ] cmd remove with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:30 90967 [Thread-36749] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:30 90967 [Thread-36749] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:30 90967 [Thread-36749] [DEBUG ] vms=[] 03/28/17 18:40:30 90967 [Thread-36749] [DEBUG ] privileges=[] 03/28/17 18:40:30 90967 [Thread-36749] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:30 90967 [Thread-36749] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:30 90967 [Thread-36749] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk, 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [INFO ] *** removeVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk',) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk',) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [INFO ] *** cleanVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] remove volumes from volumes table(11111111-1111-1111-1111-111111111111 /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 dockerVol_zfwva) 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [INFO ] executeRequest 'remove' completed with ret=None 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zfwva.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 41, buffer 'b'{"cmd":"get","details":{"Name":"vsphere"}}'' 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:30 90967 [Thread-36750] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:30 90967 [Thread-36750] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36750] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:30 90967 [Thread-36750] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:30 90967 [Thread-36750] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36750] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:30 90967 [Thread-36750] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36750] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:30 90967 [Thread-36750] [DEBUG ] Authorize: opt={} 03/28/17 18:40:30 90967 [Thread-36750] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:30 90967 [Thread-36750] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36750] [DEBUG ] get_default_privileges 03/28/17 18:40:30 90967 [Thread-36750] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:30 90967 [Thread-36750] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:30 90967 [Thread-36750] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:30 90967 [Thread-36750] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:30 90967 [Thread-36750] [DEBUG ] vms=[] 03/28/17 18:40:30 90967 [Thread-36750] [DEBUG ] privileges=[] 03/28/17 18:40:30 90967 [Thread-36750] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:30 90967 [Thread-36750] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:30 90967 [Thread-36750] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk, 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk vol_name=vsphere, datastore=sharedVmfs-0 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: file_exist=0 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [INFO ] executeRequest 'get' completed with ret={'Error': 'Volume vsphere not found (file: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk)'} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 43, buffer 'b'{"cmd":"get","details":{"Name":"dockerVol_zjSZu@sharedVmfs-0"}}'' 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:30 90967 [Thread-36751] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:30 90967 [Thread-36751] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36751] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:30 90967 [Thread-36751] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:30 90967 [Thread-36751] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36751] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:30 90967 [Thread-36751] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36751] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:30 90967 [Thread-36751] [DEBUG ] Authorize: opt={} 03/28/17 18:40:30 90967 [Thread-36751] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:30 90967 [Thread-36751] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36751] [DEBUG ] get_default_privileges 03/28/17 18:40:30 90967 [Thread-36751] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:30 90967 [Thread-36751] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:30 90967 [Thread-36751] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:30 90967 [Thread-36751] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:30 90967 [Thread-36751] [DEBUG ] vms=[] 03/28/17 18:40:30 90967 [Thread-36751] [DEBUG ] privileges=[] 03/28/17 18:40:30 90967 [Thread-36751] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:30 90967 [Thread-36751] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:30 90967 [Thread-36751] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk, 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk vol_name=dockerVol_zjSZu, datastore=sharedVmfs-0 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] getVMDK: file_exist=1 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk',) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk',) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk',) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk',) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk', 524291) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk', 524291) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [INFO ] executeRequest 'get' completed with ret={'attach-as': 'independent_persistent', 'status': 'detached', 'fstype': 'ext4', 'clone-from': 'None', 'diskformat': 'thin', 'created': 'Tue Mar 28 08:22:17 2017', 'capacity': {'size': '100MB', 'allocated': '13MB'}, 'access': 'read-write', 'created by VM': 'Photon-Dker-11', 'datastore': 'sharedVmfs-0'} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 41, buffer 'b'{"cmd":"remove","details":{"Name":"dockerVol_zjSZu@sharedVmfs-0"}}'' 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:30 90967 [Thread-36752] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:30 90967 [Thread-36752] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36752] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:30 90967 [Thread-36752] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:30 90967 [Thread-36752] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36752] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:30 90967 [Thread-36752] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36752] [DEBUG ] Authorize: cmd=remove 03/28/17 18:40:30 90967 [Thread-36752] [DEBUG ] Authorize: opt={} 03/28/17 18:40:30 90967 [Thread-36752] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:30 90967 [Thread-36752] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:30 90967 [Thread-36752] [DEBUG ] get_default_privileges 03/28/17 18:40:30 90967 [Thread-36752] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:30 90967 [Thread-36752] [DEBUG ] has_privilege: allow_create=1 03/28/17 18:40:30 90967 [Thread-36752] [INFO ] cmd remove with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:30 90967 [Thread-36752] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:30 90967 [Thread-36752] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:30 90967 [Thread-36752] [DEBUG ] vms=[] 03/28/17 18:40:30 90967 [Thread-36752] [DEBUG ] privileges=[] 03/28/17 18:40:30 90967 [Thread-36752] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:30 90967 [Thread-36752] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:30 90967 [Thread-36752] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk, 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [INFO ] *** removeVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk',) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk',) {} 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [INFO ] *** cleanVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] remove volumes from volumes table(11111111-1111-1111-1111-111111111111 /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 dockerVol_zjSZu) 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [INFO ] executeRequest 'remove' completed with ret=None 03/28/17 18:40:30 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zjSZu.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 43, buffer 'b'{"cmd":"get","details":{"Name":"vsphere"}}'' 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:30 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:30 90967 [Thread-36753] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:30 90967 [Thread-36753] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:31 90967 [Thread-36753] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:31 90967 [Thread-36753] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:31 90967 [Thread-36753] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:31 90967 [Thread-36753] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:31 90967 [Thread-36753] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:31 90967 [Thread-36753] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:31 90967 [Thread-36753] [DEBUG ] Authorize: opt={} 03/28/17 18:40:31 90967 [Thread-36753] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:31 90967 [Thread-36753] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:31 90967 [Thread-36753] [DEBUG ] get_default_privileges 03/28/17 18:40:31 90967 [Thread-36753] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:31 90967 [Thread-36753] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:31 90967 [Thread-36753] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:31 90967 [Thread-36753] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:31 90967 [Thread-36753] [DEBUG ] vms=[] 03/28/17 18:40:31 90967 [Thread-36753] [DEBUG ] privileges=[] 03/28/17 18:40:31 90967 [Thread-36753] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:31 90967 [Thread-36753] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:31 90967 [Thread-36753] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk, 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk vol_name=vsphere, datastore=sharedVmfs-0 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] getVMDK: file_exist=0 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [INFO ] executeRequest 'get' completed with ret={'Error': 'Volume vsphere not found (file: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk)'} 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/vsphere.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:31 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 41, buffer 'b'{"cmd":"get","details":{"Name":"dockerVol_zoLKE@sharedVmfs-0"}}'' 03/28/17 18:40:31 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:31 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:31 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:31 90967 [Thread-36754] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:31 90967 [Thread-36754] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:31 90967 [Thread-36754] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:31 90967 [Thread-36754] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:31 90967 [Thread-36754] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:31 90967 [Thread-36754] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:31 90967 [Thread-36754] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:31 90967 [Thread-36754] [DEBUG ] Authorize: cmd=get 03/28/17 18:40:31 90967 [Thread-36754] [DEBUG ] Authorize: opt={} 03/28/17 18:40:31 90967 [Thread-36754] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:31 90967 [Thread-36754] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:31 90967 [Thread-36754] [DEBUG ] get_default_privileges 03/28/17 18:40:31 90967 [Thread-36754] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:31 90967 [Thread-36754] [INFO ] cmd get with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:31 90967 [Thread-36754] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:31 90967 [Thread-36754] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:31 90967 [Thread-36754] [DEBUG ] vms=[] 03/28/17 18:40:31 90967 [Thread-36754] [DEBUG ] privileges=[] 03/28/17 18:40:31 90967 [Thread-36754] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:31 90967 [Thread-36754] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:31 90967 [Thread-36754] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk, 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] getVMDK: vmdk_path=/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk vol_name=dockerVol_zoLKE, datastore=sharedVmfs-0 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] getVMDK: file_exist=1 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk',) {} 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk',) {} 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk',) {} 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: get_info, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk',) {} 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk', 524291) {} 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: vol_open_path, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk', 524291) {} 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [INFO ] executeRequest 'get' completed with ret={'attach-as': 'independent_persistent', 'status': 'detached', 'fstype': 'ext4', 'clone-from': 'None', 'diskformat': 'thin', 'created': 'Tue Mar 28 08:11:29 2017', 'capacity': {'size': '100MB', 'allocated': '13MB'}, 'access': 'read-write', 'created by VM': 'Photon-Dker-11', 'datastore': 'sharedVmfs-0'} 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:40:31 90967 [MainThread] [DEBUG ] lib.vmci_get_one_op returns 45, buffer 'b'{"cmd":"remove","details":{"Name":"dockerVol_zoLKE@sharedVmfs-0"}}'' 03/28/17 18:40:31 90967 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:31 90967 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:31 90967 [MainThread] [DEBUG ] Currently active threads: [<_MainThread(MainThread, started 418189011744)>, ] 03/28/17 18:40:31 90967 [Thread-36755] [DEBUG ] config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx 03/28/17 18:40:31 90967 [Thread-36755] [DEBUG ] get_datastore_url_from_config_path: config_path=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5/Photon-Dker-11_1/Photon-Dker-11_1.vmx config_ds_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:31 90967 [Thread-36755] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:40:31 90967 [Thread-36755] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:31 90967 [Thread-36755] [DEBUG ] executeRequest: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c, vm_name=Photon-Dker-11, tenant_name=11111111-1111-1111-1111-111111111111, tenant_uuid=_DEFAULT, default_datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:31 90967 [Thread-36755] [DEBUG ] Authorize: vm_uuid=564d4c6a-524c-ff4c-3a87-04f48fcb354c 03/28/17 18:40:31 90967 [Thread-36755] [DEBUG ] Authorize: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:31 90967 [Thread-36755] [DEBUG ] Authorize: cmd=remove 03/28/17 18:40:31 90967 [Thread-36755] [DEBUG ] Authorize: opt={} 03/28/17 18:40:31 90967 [Thread-36755] [DEBUG ] Found DEFAULT tenant, tenant_uuid 11111111-1111-1111-1111-111111111111, tenant_name _DEFAULT 03/28/17 18:40:31 90967 [Thread-36755] [DEBUG ] get_privileges tenant_uuid=11111111-1111-1111-1111-111111111111 datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 03/28/17 18:40:31 90967 [Thread-36755] [DEBUG ] get_default_privileges 03/28/17 18:40:31 90967 [Thread-36755] [DEBUG ] authorize: tenant_uuid=11111111-1111-1111-1111-111111111111, datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5, privileges= 03/28/17 18:40:31 90967 [Thread-36755] [DEBUG ] has_privilege: allow_create=1 03/28/17 18:40:31 90967 [Thread-36755] [INFO ] cmd remove with opts {} on tenant_uuid 11111111-1111-1111-1111-111111111111 datastore_url /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 is allowed to execute 03/28/17 18:40:31 90967 [Thread-36755] [DEBUG ] get_tenant: tenant_name=_DEFAULT 03/28/17 18:40:31 90967 [Thread-36755] [DEBUG ] id=11111111-1111-1111-1111-111111111111 name=_DEFAULT description=This is a default vm-group default_datastore_url= 03/28/17 18:40:31 90967 [Thread-36755] [DEBUG ] vms=[] 03/28/17 18:40:31 90967 [Thread-36755] [DEBUG ] privileges=[] 03/28/17 18:40:31 90967 [Thread-36755] [DEBUG ] ds_access_privileges=[] 03/28/17 18:40:31 90967 [Thread-36755] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111, returning 03/28/17 18:40:31 90967 [Thread-36755] [DEBUG ] executeRequest for tenant _DEFAULT with path /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] Trying to acquire lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] LockManager.get_lock: new lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk, 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] Acquired lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [INFO ] *** removeVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] Trying to acquire lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk',) {} 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] Acquired lock: @ 0x6162e26cf0, caller: load, args: ('/vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk',) {} 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [INFO ] *** cleanVMDK: /vmfs/volumes/sharedVmfs-0/dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] LockManager existing locks in store: 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] remove volumes from volumes table(11111111-1111-1111-1111-111111111111 /vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 dockerVol_zoLKE) 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] Released lock: [sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [INFO ] executeRequest 'remove' completed with ret=None 03/28/17 18:40:31 90967 [Photon-Dker-11-[sharedVmfs-0] dockvols/11111111-1111-1111-1111-111111111111/dockerVol_zoLKE.vmdk] [DEBUG ] lib.vmci_reply: VMCI replied with errcode 0 03/28/17 18:44:22 206354 [MainThread] [DEBUG ] Trying to acquire lock: @ 0x9467eccb40, caller: disk_lib_init, args: () {} 03/28/17 18:44:22 206354 [MainThread] [DEBUG ] Acquired lock: @ 0x9467eccb40, caller: disk_lib_init, args: () {} 03/28/17 18:44:22 206354 [MainThread] [DEBUG ] Trying to acquire lock: @ 0x9467eccb40, caller: load_disk_lib, args: ('/lib64/libvmsnapshot.so',) {} 03/28/17 18:44:22 206354 [MainThread] [DEBUG ] Acquired lock: @ 0x9467eccb40, caller: load_disk_lib, args: ('/lib64/libvmsnapshot.so',) {} 03/28/17 18:44:22 206354 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:44:22 206354 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:44:22 206354 [MainThread] [INFO ] Connecting to the local Service Instance as 'dcui' 03/28/17 18:44:22 206354 [MainThread] [DEBUG ] _tenant_create: name=user_tenant2 description= vm_list=None privileges=[] 03/28/17 18:44:22 206354 [MainThread] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:44:22 206354 [MainThread] [DEBUG ] get_tenant: tenant_name=user_tenant2 03/28/17 18:44:22 206354 [MainThread] [DEBUG ] create_tenant name=user_tenant2 03/28/17 18:44:49 206361 [MainThread] [DEBUG ] Trying to acquire lock: @ 0xda99cf8b40, caller: disk_lib_init, args: () {} 03/28/17 18:44:49 206361 [MainThread] [DEBUG ] Acquired lock: @ 0xda99cf8b40, caller: disk_lib_init, args: () {} 03/28/17 18:44:49 206361 [MainThread] [DEBUG ] Trying to acquire lock: @ 0xda99cf8b40, caller: load_disk_lib, args: ('/lib64/libvmsnapshot.so',) {} 03/28/17 18:44:49 206361 [MainThread] [DEBUG ] Acquired lock: @ 0xda99cf8b40, caller: load_disk_lib, args: ('/lib64/libvmsnapshot.so',) {} 03/28/17 18:44:49 206361 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:44:49 206361 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:44:49 206361 [MainThread] [INFO ] Connecting to the local Service Instance as 'dcui' 03/28/17 18:44:49 206361 [MainThread] [DEBUG ] _tenant_ls: name=None 03/28/17 18:44:49 206361 [MainThread] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:44:49 206361 [MainThread] [DEBUG ] privileges=[] 03/28/17 18:44:49 206361 [MainThread] [DEBUG ] ds_access_privileges=[] 03/28/17 18:44:49 206361 [MainThread] [DEBUG ] privileges=[] 03/28/17 18:44:49 206361 [MainThread] [DEBUG ] ds_access_privileges=[] 03/28/17 18:44:49 206361 [MainThread] [DEBUG ] privileges=[] 03/28/17 18:44:49 206361 [MainThread] [DEBUG ] ds_access_privileges=[] 03/28/17 18:49:31 206386 [MainThread] [DEBUG ] Trying to acquire lock: @ 0x15749b7b40, caller: disk_lib_init, args: () {} 03/28/17 18:49:31 206386 [MainThread] [DEBUG ] Acquired lock: @ 0x15749b7b40, caller: disk_lib_init, args: () {} 03/28/17 18:49:31 206386 [MainThread] [DEBUG ] Trying to acquire lock: @ 0x15749b7b40, caller: load_disk_lib, args: ('/lib64/libvmsnapshot.so',) {} 03/28/17 18:49:31 206386 [MainThread] [DEBUG ] Acquired lock: @ 0x15749b7b40, caller: load_disk_lib, args: ('/lib64/libvmsnapshot.so',) {} 03/28/17 18:49:31 206386 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:49:31 206386 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:49:31 206386 [MainThread] [INFO ] Connecting to the local Service Instance as 'dcui' 03/28/17 18:50:10 206407 [MainThread] [DEBUG ] Trying to acquire lock: @ 0xd42b9e4b40, caller: disk_lib_init, args: () {} 03/28/17 18:50:10 206407 [MainThread] [DEBUG ] Acquired lock: @ 0xd42b9e4b40, caller: disk_lib_init, args: () {} 03/28/17 18:50:10 206407 [MainThread] [DEBUG ] Trying to acquire lock: @ 0xd42b9e4b40, caller: load_disk_lib, args: ('/lib64/libvmsnapshot.so',) {} 03/28/17 18:50:10 206407 [MainThread] [DEBUG ] Acquired lock: @ 0xd42b9e4b40, caller: load_disk_lib, args: ('/lib64/libvmsnapshot.so',) {} 03/28/17 18:50:10 206407 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:50:10 206407 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:50:10 206407 [MainThread] [INFO ] Connecting to the local Service Instance as 'dcui' 03/28/17 18:50:10 206407 [MainThread] [DEBUG ] _tenant_vm_add: name=user_tenant2 vm_list=['Photon-Dker-'] 03/28/17 18:50:10 206407 [MainThread] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:50:10 206407 [MainThread] [DEBUG ] get_tenant: tenant_name=user_tenant2 03/28/17 18:50:10 206407 [MainThread] [DEBUG ] id=adf5466c-28aa-44fe-864c-2ce7e52190f5 name=user_tenant2 description= default_datastore_url= 03/28/17 18:50:10 206407 [MainThread] [DEBUG ] vms=[] 03/28/17 18:50:10 206407 [MainThread] [DEBUG ] privileges=[] 03/28/17 18:50:10 206407 [MainThread] [DEBUG ] ds_access_privileges=[] 03/28/17 18:50:10 206407 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:50:10 206407 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:50:19 206407 [MainThread] [DEBUG ] _tenant_vm_ls: name=user_tenant2 03/28/17 18:50:19 206407 [MainThread] [DEBUG ] get_tenant: tenant_name=user_tenant2 03/28/17 18:50:19 206407 [MainThread] [DEBUG ] id=adf5466c-28aa-44fe-864c-2ce7e52190f5 name=user_tenant2 description= default_datastore_url= 03/28/17 18:50:19 206407 [MainThread] [DEBUG ] vms=[] 03/28/17 18:50:19 206407 [MainThread] [DEBUG ] privileges=[] 03/28/17 18:50:19 206407 [MainThread] [DEBUG ] ds_access_privileges=[] 03/28/17 18:50:19 206407 [MainThread] [DEBUG ] privileges=[] 03/28/17 18:50:19 206407 [MainThread] [DEBUG ] ds_access_privileges=[] 03/28/17 18:50:19 206407 [MainThread] [DEBUG ] privileges=[] 03/28/17 18:50:19 206407 [MainThread] [DEBUG ] ds_access_privileges=[] 03/28/17 18:50:19 206407 [MainThread] [DEBUG ] privileges=[] 03/28/17 18:50:19 206407 [MainThread] [DEBUG ] ds_access_privileges=[] 03/28/17 18:50:19 206407 [MainThread] [DEBUG ] _tenant_vm_add: vms=[('564d6b73-387a-5e37-5504-5671b55105bf', 'Photon-Dker-')] 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] Trying to acquire lock: @ 0x9b9db54b40, caller: disk_lib_init, args: () {} 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] Acquired lock: @ 0x9b9db54b40, caller: disk_lib_init, args: () {} 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] Trying to acquire lock: @ 0x9b9db54b40, caller: load_disk_lib, args: ('/lib64/libvmsnapshot.so',) {} 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] Acquired lock: @ 0x9b9db54b40, caller: load_disk_lib, args: ('/lib64/libvmsnapshot.so',) {} 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:55:12 206431 [MainThread] [INFO ] Connecting to the local Service Instance as 'dcui' 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] _tenant_access_add: name=user_tenant2 datastore=null, allow_create=True volume_maxsize_in_MB=None volume_totalsize_in_MB=None 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] get_tenant: tenant_name=user_tenant2 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] id=adf5466c-28aa-44fe-864c-2ce7e52190f5 name=user_tenant2 description= default_datastore_url= 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] vms=[] 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] privileges=[] 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] ds_access_privileges=[] 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] init_datastoreCache: None 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols, returning 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] Found /vmfs/volumes/sharedVmfs-1/dockvols, returning 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] Found /vmfs/volumes/sharedVmfs-2/dockvols, returning 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] Found /vmfs/volumes/sharedVmfs-3/dockvols, returning 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] Running cmd /usr/lib/vmware/osfs/bin/osfs-mkdir -n /vmfs/volumes/local-0 (11)/dockvols 03/28/17 18:55:12 206431 [MainThread] [WARNING] dockvols creation failed - No such file or directory on datastore local-0 (11) 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] Running cmd /usr/lib/vmware/osfs/bin/osfs-mkdir -n /vmfs/volumes/local-1 (11)/dockvols 03/28/17 18:55:12 206431 [MainThread] [WARNING] dockvols creation failed - No such file or directory on datastore local-1 (11) 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] init_datastoreCache: [('sharedVmfs-0', '/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5', '/vmfs/volumes/sharedVmfs-0/dockvols'), ('sharedVmfs-1', '/vmfs/volumes/58d1fda1-5c4b81b4-166f-0200088228d5', '/vmfs/volumes/sharedVmfs-1/dockvols'), ('sharedVmfs-2', '/vmfs/volumes/58d1fda2-855b56a7-2209-0200088228d5', '/vmfs/volumes/sharedVmfs-2/dockvols'), ('sharedVmfs-3', '/vmfs/volumes/58d1fda4-95ba1b6e-b83b-0200088228d5', '/vmfs/volumes/sharedVmfs-3/dockvols')] 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols, returning 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] Found /vmfs/volumes/sharedVmfs-1/dockvols, returning 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] Found /vmfs/volumes/sharedVmfs-2/dockvols, returning 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] Found /vmfs/volumes/sharedVmfs-3/dockvols, returning 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] Running cmd /usr/lib/vmware/osfs/bin/osfs-mkdir -n /vmfs/volumes/local-0 (11)/dockvols 03/28/17 18:55:12 206431 [MainThread] [WARNING] dockvols creation failed - No such file or directory on datastore local-0 (11) 03/28/17 18:55:12 206431 [MainThread] [DEBUG ] Running cmd /usr/lib/vmware/osfs/bin/osfs-mkdir -n /vmfs/volumes/local-1 (11)/dockvols 03/28/17 18:55:12 206431 [MainThread] [WARNING] dockvols creation failed - No such file or directory on datastore local-1 (11) 03/28/17 18:57:51 206444 [MainThread] [DEBUG ] Trying to acquire lock: @ 0x84073f6b40, caller: disk_lib_init, args: () {} 03/28/17 18:57:51 206444 [MainThread] [DEBUG ] Acquired lock: @ 0x84073f6b40, caller: disk_lib_init, args: () {} 03/28/17 18:57:51 206444 [MainThread] [DEBUG ] Trying to acquire lock: @ 0x84073f6b40, caller: load_disk_lib, args: ('/lib64/libvmsnapshot.so',) {} 03/28/17 18:57:51 206444 [MainThread] [DEBUG ] Acquired lock: @ 0x84073f6b40, caller: load_disk_lib, args: ('/lib64/libvmsnapshot.so',) {} 03/28/17 18:57:51 206444 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:57:51 206444 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:57:51 206444 [MainThread] [INFO ] Connecting to the local Service Instance as 'dcui' 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] _tenant_access_add: name=user_tenant2 datastore=sharedVmfs-0, allow_create=True volume_maxsize_in_MB=None volume_totalsize_in_MB=None 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] get_db_version: major_ver=1 minor_ver=1 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] get_tenant: tenant_name=user_tenant2 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] id=adf5466c-28aa-44fe-864c-2ce7e52190f5 name=user_tenant2 description= default_datastore_url= 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] vms=[] 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] privileges=[] 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] ds_access_privileges=[] 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] init_datastoreCache: None 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] LockManager.get_lock: new lock: siLock, 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] LockManager existing locks in store: 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] Found /vmfs/volumes/sharedVmfs-0/dockvols, returning 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] Found /vmfs/volumes/sharedVmfs-1/dockvols, returning 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] Found /vmfs/volumes/sharedVmfs-2/dockvols, returning 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] Found /vmfs/volumes/sharedVmfs-3/dockvols, returning 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] Running cmd /usr/lib/vmware/osfs/bin/osfs-mkdir -n /vmfs/volumes/local-0 (11)/dockvols 03/28/17 18:57:52 206444 [MainThread] [WARNING] dockvols creation failed - No such file or directory on datastore local-0 (11) 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] Running cmd /usr/lib/vmware/osfs/bin/osfs-mkdir -n /vmfs/volumes/local-1 (11)/dockvols 03/28/17 18:57:52 206444 [MainThread] [WARNING] dockvols creation failed - No such file or directory on datastore local-1 (11) 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] _tenant_access_ls: name=user_tenant2 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] get_tenant: tenant_name=user_tenant2 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] id=adf5466c-28aa-44fe-864c-2ce7e52190f5 name=user_tenant2 description= default_datastore_url= 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] vms=[] 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] privileges=[] 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] ds_access_privileges=[] 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] generate_privileges: datastore_url=/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5 allow_create=Truevolume_maxsize_in_MB=None volume_totalsize_in_MB=None 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] set_privileges: allow_create=True, privileges={'datastore_url': '/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5', 'datastore': '', 'max_volume_size': 0, 'allow_create': 0, 'usage_quota': 0}, value=1 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] generate_privileges: privileges={'datastore_url': '/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5', 'datastore': '', 'max_volume_size': 0, 'allow_create': 1, 'usage_quota': 0} 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] _tenant_access_add: privileges={'datastore_url': '/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5', 'datastore': '', 'max_volume_size': 0, 'allow_create': 1, 'usage_quota': 0} 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] set_datastore_access_privileges: update_list ['adf5466c-28aa-44fe-864c-2ce7e52190f5', '/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5', 1, 0, 0, 'adf5466c-28aa-44fe-864c-2ce7e52190f5', '/vmfs/volumes/58d1fd9f-208947b1-c80d-0200088228d5'] 03/28/17 18:57:52 206444 [MainThread] [DEBUG ] _tenant_access_add: get_row_from_privileges_table for tenant id=adf5466c-28aa-44fe-864c-2ce7e52190f5 return []