2026-10-27 14:52:23,818 - DEBUG - Parsing Test data successful
2026-10-27 14:52:23,818 - DEBUG - Payload: {'account': 'admin', 'command': 'listUsers', 'response': 'json'}
2026-10-27 14:52:23,818 - DEBUG - ========Sending GET Cmd : listUsers=======
2026-10-27 14:52:23,834 - DEBUG - Response : [{id : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', username : 'admin', firstname : 'admin', lastname : 'cloud', created : '2026-10-27T12:05:51+0000', state : 'enabled', account : 'admin', accounttype : 1, usersource : 'native', roleid : '87d83eed-d1fe-11f1-81aa-1e0044000301', roletype : 'Admin', rolename : 'Root Admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', apikey : 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', iscallerchilddomain : False, isdefault : True, is2faenabled : False, is2famandated : False, apikeyaccess : 'INHERIT'}]
2026-10-27 14:52:23,834 - DEBUG - Payload: {'id': 'c1166b9d-d1fe-11f1-81aa-1e0044000301', 'command': 'getUserKeys', 'response': 'json'}
2026-10-27 14:52:23,834 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-27 14:52:23,854 - DEBUG - Response : {apikey : 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', secretkey : 'R6QPwRUz09TVXBjXNwZk7grTjcPtsFRphH6xhN1oPvnc12YUk296t4KHytg8zRLczDA0X5NsLVi4d8rfMMx3yg', apikeyaccess : True}
2026-10-27 14:52:23,854 - DEBUG - ==== Test Client Creation Successful ====
2026-10-27 14:52:23,866 - DEBUG - ::::::::::::STARTED : TC: test_add_account_to_project_with_project_role :::::::::::
2026-10-27 14:52:23,867 - DEBUG - Payload: {'command': 'listCapabilities', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'AVSz+2elvktJpTINZka8QKi8StQ='}
2026-10-27 14:52:23,867 - DEBUG - ========Sending GET Cmd : listCapabilities=======
2026-10-27 14:52:23,923 - DEBUG - Response : {securitygroupsenabled : False, dynamicrolesenabled : True, cloudstackversion : '24.0.0-shapeblue20748', userpublictemplateenabled : True, supportELB : 'false', projectinviterequired : False, allowusercreateprojects : True, customdiskofferingminsize : 1, customdiskofferingmaxsize : 1024, regionsecondaryenabled : False, kvmsnapshotenabled : True, snapshotshowchainsize : False, allowuserviewdestroyedvm : True, allowuserexpungerecovervm : True, allowuserexpungerecovervolume : True, allowuserviewalldomainaccounts : False, allowuserforcestopvm : True, kubernetesserviceenabled : True, kubernetesclusterexperimentalfeaturesenabled : False, customhypervisordisplayname : 'Custom', defaultuipagesize : 20, instancesstatsretentiontime : 720, instancesstatsuseronly : False, instancesdisksstatsretentionenabled : False, instancesdisksstatsretentiontime : 720, sharedfsvmmincpucount : 2, sharedfsvmminramsize : 1024, instanceleaseenabled : False, extensionspath : '/usr/share/cloudstack-management/extensions', dynamicscalingenabled : True, additionalconfigenabled : True}
2026-10-27 14:52:23,924 - DEBUG - Payload: {'displaytext': 'Test project', 'name': 'Test Project-63YKBZ', 'command': 'createProject', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'G8tSuDhkcmbh3jMCOTXUitNdq9s='}
2026-10-27 14:52:23,924 - DEBUG - ========Sending GET Cmd : createProject=======
2026-10-27 14:52:24,038 - DEBUG - === Jobid: 91824472-7a99-4ef4-8acb-cef53f317e35 Started ===
2026-10-27 14:52:24,038 - DEBUG - Payload: {'jobid': '91824472-7a99-4ef4-8acb-cef53f317e35', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'hHjFiwD5G2o+BGRZG3N7d/a3814='}
2026-10-27 14:52:24,038 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:24,070 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.project.CreateProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'None', managementserverid : 'cdce5814-bb52-42f8-9ce6-85d2cdb65e27', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-27T14:52:24+0000', jobid : '91824472-7a99-4ef4-8acb-cef53f317e35', jobstatus : 0}
2026-10-27 14:52:25,072 - DEBUG - === JobId:91824472-7a99-4ef4-8acb-cef53f317e35 is Still Processing, Will TimeOut in:3599 ====
2026-10-27 14:52:25,072 - DEBUG - Payload: {'jobid': '91824472-7a99-4ef4-8acb-cef53f317e35', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'hHjFiwD5G2o+BGRZG3N7d/a3814='}
2026-10-27 14:52:25,073 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:25,111 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.project.CreateProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {id : 'ff6a9f64-b431-49a3-a5cb-ec25be7bf5bd', name : 'Test Project-63YKBZ', displaytext : 'Test project', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', owner : [{account : 'admin'}], projectaccountname : 'PrjAcct-Test Project-63YKBZ-1', state : 'Active', tags : [], networklimit : '20', networktotal : 0, networkavailable : '20', vpclimit : '20', vpctotal : 0, vpcavailable : '20', cpulimit : '40', cputotal : 0, cpuavailable : '40', memorylimit : '40960', memorytotal : 0, memoryavailable : '40960', gpulimit : '20', gputotal : 0, gpuavailable : '20', primarystoragelimit : '200', primarystoragetotal : 0, primarystorageavailable : '200', secondarystoragelimit : '400', secondarystoragetotal : 0.0, secondarystorageavailable : '400.0', bucketlimit : '20', buckettotal : 0, bucketavailable : '20', objectstoragelimit : '400', objectstoragetotal : 0, objectstorageavailable : '400', vmlimit : '20', vmtotal : 0, vmavailable : '20', iplimit : '20', iptotal : 0, ipavailable : '18', volumelimit : '20', volumetotal : 0, volumeavailable : '20', snapshotlimit : '20', snapshottotal : 0, snapshotavailable : '20', backuplimit : '20', backuptotal : 0, backupavailable : '20', backupstoragelimit : '400', backupstoragetotal : 0, backupstorageavailable : '400', templatelimit : '20', templatetotal : 0, templateavailable : '20', vmstopped : 0, vmrunning : 0, created : '2026-10-27T14:52:24+0000'}, jobinstancetype : 'None', created : '2026-10-27T14:52:24+0000', completed : '2026-10-27T14:52:24+0000', jobid : '91824472-7a99-4ef4-8acb-cef53f317e35', jobstatus : 1}
2026-10-27 14:52:25,111 - DEBUG - ===Jobid:91824472-7a99-4ef4-8acb-cef53f317e35 ; StartTime:Tue Oct 27 14:52:24 2026 ; EndTime:Tue Oct 27 14:52:25 2026 ; TotalTime:-1===
2026-10-27 14:52:25,112 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.project.CreateProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {id : 'ff6a9f64-b431-49a3-a5cb-ec25be7bf5bd', name : 'Test Project-63YKBZ', displaytext : 'Test project', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', owner : [{account : 'admin'}], projectaccountname : 'PrjAcct-Test Project-63YKBZ-1', state : 'Active', tags : [], networklimit : '20', networktotal : 0, networkavailable : '20', vpclimit : '20', vpctotal : 0, vpcavailable : '20', cpulimit : '40', cputotal : 0, cpuavailable : '40', memorylimit : '40960', memorytotal : 0, memoryavailable : '40960', gpulimit : '20', gputotal : 0, gpuavailable : '20', primarystoragelimit : '200', primarystoragetotal : 0, primarystorageavailable : '200', secondarystoragelimit : '400', secondarystoragetotal : 0.0, secondarystorageavailable : '400.0', bucketlimit : '20', buckettotal : 0, bucketavailable : '20', objectstoragelimit : '400', objectstoragetotal : 0, objectstorageavailable : '400', vmlimit : '20', vmtotal : 0, vmavailable : '20', iplimit : '20', iptotal : 0, ipavailable : '18', volumelimit : '20', volumetotal : 0, volumeavailable : '20', snapshotlimit : '20', snapshottotal : 0, snapshotavailable : '20', backuplimit : '20', backuptotal : 0, backupavailable : '20', backupstoragelimit : '400', backupstoragetotal : 0, backupstorageavailable : '400', templatelimit : '20', templatetotal : 0, templateavailable : '20', vmstopped : 0, vmrunning : 0, created : '2026-10-27T14:52:24+0000'}, jobinstancetype : 'None', created : '2026-10-27T14:52:24+0000', completed : '2026-10-27T14:52:24+0000', jobid : '91824472-7a99-4ef4-8acb-cef53f317e35', jobstatus : 1}
2026-10-27 14:52:25,112 - DEBUG - Payload: {'description': 'Fake project Role created by Marvin test', 'name': 'MarvinFake project Role qmywor1cbx', 'projectid': 'ff6a9f64-b431-49a3-a5cb-ec25be7bf5bd', 'command': 'createProjectRole', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'f9obP+CzYPKyiSAPEn0FAHDnnmQ='}
2026-10-27 14:52:25,112 - DEBUG - ========Sending GET Cmd : createProjectRole=======
2026-10-27 14:52:25,181 - DEBUG - Response : {projectid : 'ff6a9f64-b431-49a3-a5cb-ec25be7bf5bd', id : 'a2741cae-02e4-4475-bb1a-74b7e23693af', name : 'MarvinFake project Role qmywor1cbx', description : 'Fake project Role created by Marvin test', ispublic : True}
2026-10-27 14:52:25,182 - DEBUG - Payload: {'description': 'Fake role permission created by Marvin test', 'permission': 'deny', 'projectid': 'ff6a9f64-b431-49a3-a5cb-ec25be7bf5bd', 'projectroleid': 'a2741cae-02e4-4475-bb1a-74b7e23693af', 'rule': 'listPublicIpAddresses', 'command': 'createProjectRolePermission', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'GDcHPA2vPpz6fved3LjCMrGK64w='}
2026-10-27 14:52:25,182 - DEBUG - ========Sending GET Cmd : createProjectRolePermission=======
2026-10-27 14:52:25,238 - DEBUG - Response : {id : '43787128-56ab-4d16-808b-5f977d11cbbc', projectroleid : 'a2741cae-02e4-4475-bb1a-74b7e23693af', projectid : 'ff6a9f64-b431-49a3-a5cb-ec25be7bf5bd', rule : 'listPublicIpAddresses', permission : 'deny', description : 'Fake role permission created by Marvin test'}
2026-10-27 14:52:25,238 - DEBUG - Payload: {'accounttype': 0, 'email': 'user@test.com', 'firstname': 'User', 'lastname': 'User', 'password': 'password', 'roleid': 4, 'username': 'user-TestRoleBasedUsersInProjects-test_add_account_to_project_with_project_role-PVT1DH', 'command': 'createAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'0Soh3aX/AHRWLS3qyeIT8ta/CII='}
2026-10-27 14:52:25,238 - DEBUG - ========Sending GET Cmd : createAccount=======
2026-10-27 14:52:28,000 - DEBUG - Response : {id : 'd0815678-d6e4-4ed1-bf5d-04686c3ed12f', name : 'user-TestRoleBasedUsersInProjects-test_add_account_to_project_with_project_role-PVT1DH', accounttype : 0, roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', domainpath : 'ROOT', vmlimit : '20', vmtotal : 0, vmavailable : '20', iplimit : '20', iptotal : 0, ipavailable : '18', volumelimit : '20', volumetotal : 0, volumeavailable : '20', snapshotlimit : '20', snapshottotal : 0, snapshotavailable : '20', backuplimit : '20', backuptotal : 0, backupavailable : '20', backupstoragelimit : '400', backupstoragetotal : 0, backupstorageavailable : '400', templatelimit : '20', templatetotal : 0, templateavailable : '20', vmstopped : 0, vmrunning : 0, projectlimit : '10', projecttotal : 0, projectavailable : '10', networklimit : '20', networktotal : 0, networkavailable : '20', vpclimit : '20', vpctotal : 0, vpcavailable : '20', cpulimit : '40', cputotal : 0, cpuavailable : '40', memorylimit : '40960', memorytotal : 0, memoryavailable : '40960', gpulimit : '20', gputotal : 0, gpuavailable : '20', primarystoragelimit : '200', primarystoragetotal : 0, primarystorageavailable : '200', secondarystoragelimit : '400', secondarystoragetotal : 0.0, secondarystorageavailable : '400.0', bucketlimit : '20', buckettotal : 0, bucketavailable : '20', objectstoragelimit : '400', objectstoragetotal : 0, objectstorageavailable : '400', state : 'enabled', created : '2026-10-27T14:52:28+0000', user : [{id : '1f5d74ce-b25e-47e7-b3bb-5e983d3654da', username : 'user-TestRoleBasedUsersInProjects-test_add_account_to_project_with_project_role-PVT1DH', firstname : 'User', lastname : 'User', email : 'user@test.com', created : '2026-10-27T14:52:28+0000', state : 'enabled', account : 'user-TestRoleBasedUsersInProjects-test_add_account_to_project_with_project_role-PVT1DH', accounttype : 0, usersource : 'native', roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', accountid : 'd0815678-d6e4-4ed1-bf5d-04686c3ed12f', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : False}], isdefault : False, groups : [], apikeyaccess : 'INHERIT'}
2026-10-27 14:52:28,001 - DEBUG - Payload: {'account': 'user-TestRoleBasedUsersInProjects-test_add_account_to_project_with_project_role-PVT1DH', 'projectid': 'ff6a9f64-b431-49a3-a5cb-ec25be7bf5bd', 'projectroleid': 'a2741cae-02e4-4475-bb1a-74b7e23693af', 'command': 'addAccountToProject', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'WoxgE3QS9XPEyhT+CUOb8i3K3tQ='}
2026-10-27 14:52:28,001 - DEBUG - ========Sending GET Cmd : addAccountToProject=======
2026-10-27 14:52:28,059 - DEBUG - === Jobid: 4dadaced-2668-4939-826f-598f1428acae Started ===
2026-10-27 14:52:28,060 - DEBUG - Payload: {'jobid': '4dadaced-2668-4939-826f-598f1428acae', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'h1DVyVsETYZ/+XiPvrKIGMQBx2E='}
2026-10-27 14:52:28,060 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:28,100 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.account.AddAccountToProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Project', managementserverid : 'cdce5814-bb52-42f8-9ce6-85d2cdb65e27', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-27T14:52:28+0000', jobid : '4dadaced-2668-4939-826f-598f1428acae', jobstatus : 0}
2026-10-27 14:52:29,102 - DEBUG - === JobId:4dadaced-2668-4939-826f-598f1428acae is Still Processing, Will TimeOut in:3599 ====
2026-10-27 14:52:29,102 - DEBUG - Payload: {'jobid': '4dadaced-2668-4939-826f-598f1428acae', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'h1DVyVsETYZ/+XiPvrKIGMQBx2E='}
2026-10-27 14:52:29,102 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:29,127 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.account.AddAccountToProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Project', created : '2026-10-27T14:52:28+0000', completed : '2026-10-27T14:52:28+0000', jobid : '4dadaced-2668-4939-826f-598f1428acae', jobstatus : 1}
2026-10-27 14:52:29,127 - DEBUG - ===Jobid:4dadaced-2668-4939-826f-598f1428acae ; StartTime:Tue Oct 27 14:52:28 2026 ; EndTime:Tue Oct 27 14:52:29 2026 ; TotalTime:-1===
2026-10-27 14:52:29,127 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.account.AddAccountToProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Project', created : '2026-10-27T14:52:28+0000', completed : '2026-10-27T14:52:28+0000', jobid : '4dadaced-2668-4939-826f-598f1428acae', jobstatus : 1}
2026-10-27 14:52:29,128 - DEBUG - Payload: {'name': 'ROOT', 'command': 'listDomains', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'FUkLFPJq0p6AOaVYSkY//WIQFBk='}
2026-10-27 14:52:29,128 - DEBUG - ========Sending GET Cmd : listDomains=======
2026-10-27 14:52:29,182 - DEBUG - Response : [{id : '54e5326a-d1fe-11f1-81aa-1e0044000301', name : 'ROOT', level : 0, haschild : False, path : 'ROOT', state : 'Active', vmlimit : 'Unlimited', vmtotal : 0, vmavailable : 'Unlimited', iplimit : 'Unlimited', iptotal : 0, ipavailable : 'Unlimited', volumelimit : 'Unlimited', volumetotal : 2, volumeavailable : 'Unlimited', snapshotlimit : 'Unlimited', snapshottotal : 0, snapshotavailable : 'Unlimited', backuplimit : 'Unlimited', backuptotal : 0, backupavailable : 'Unlimited', backupstoragelimit : 'Unlimited', backupstoragetotal : 0, backupstorageavailable : 'Unlimited', templatelimit : 'Unlimited', templatetotal : 13, templateavailable : 'Unlimited', projectlimit : 'Unlimited', projecttotal : 1, projectavailable : 'Unlimited', networklimit : 'Unlimited', networktotal : 0, networkavailable : 'Unlimited', vpclimit : 'Unlimited', vpctotal : 0, vpcavailable : 'Unlimited', cpulimit : 'Unlimited', cputotal : 0, cpuavailable : 'Unlimited', memorylimit : 'Unlimited', memorytotal : 0, memoryavailable : 'Unlimited', gpulimit : 'Unlimited', gputotal : 0, gpuavailable : 'Unlimited', primarystoragelimit : 'Unlimited', primarystoragetotal : 9, primarystorageavailable : 'Unlimited', secondarystoragelimit : 'Unlimited', secondarystoragetotal : 13.067401, secondarystorageavailable : 'Unlimited', bucketlimit : 'Unlimited', buckettotal : 0, bucketavailable : 'Unlimited', objectstoragelimit : 'Unlimited', objectstoragetotal : 0, objectstorageavailable : 'Unlimited', domaindetails : {vmsnapshot.expire.interval : '19'}, hasannotations : False}]
2026-10-27 14:52:29,182 - DEBUG - Payload: {'listall': True, 'name': 'ROOT', 'command': 'listDomains', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'MTo4M/OsRVaY9H/KZqvgm9hNmEQ='}
2026-10-27 14:52:29,183 - DEBUG - ========Sending GET Cmd : listDomains=======
2026-10-27 14:52:30,233 - DEBUG - Response : [{id : '54e5326a-d1fe-11f1-81aa-1e0044000301', name : 'ROOT', level : 0, haschild : False, path : 'ROOT', state : 'Active', vmlimit : 'Unlimited', vmtotal : 0, vmavailable : 'Unlimited', iplimit : 'Unlimited', iptotal : 0, ipavailable : 'Unlimited', volumelimit : 'Unlimited', volumetotal : 2, volumeavailable : 'Unlimited', snapshotlimit : 'Unlimited', snapshottotal : 0, snapshotavailable : 'Unlimited', backuplimit : 'Unlimited', backuptotal : 0, backupavailable : 'Unlimited', backupstoragelimit : 'Unlimited', backupstoragetotal : 0, backupstorageavailable : 'Unlimited', templatelimit : 'Unlimited', templatetotal : 13, templateavailable : 'Unlimited', projectlimit : 'Unlimited', projecttotal : 1, projectavailable : 'Unlimited', networklimit : 'Unlimited', networktotal : 0, networkavailable : 'Unlimited', vpclimit : 'Unlimited', vpctotal : 0, vpcavailable : 'Unlimited', cpulimit : 'Unlimited', cputotal : 0, cpuavailable : 'Unlimited', memorylimit : 'Unlimited', memorytotal : 0, memoryavailable : 'Unlimited', gpulimit : 'Unlimited', gputotal : 0, gpuavailable : 'Unlimited', primarystoragelimit : 'Unlimited', primarystoragetotal : 9, primarystorageavailable : 'Unlimited', secondarystoragelimit : 'Unlimited', secondarystoragetotal : 13.067401, secondarystorageavailable : 'Unlimited', bucketlimit : 'Unlimited', buckettotal : 0, bucketavailable : 'Unlimited', objectstoragelimit : 'Unlimited', objectstoragetotal : 0, objectstorageavailable : 'Unlimited', domaindetails : {vmsnapshot.expire.interval : '19'}, hasannotations : False}]
2026-10-27 14:52:30,234 - DEBUG - Payload: {'domainid': '54e5326a-d1fe-11f1-81aa-1e0044000301', 'listall': True, 'name': 'user-TestRoleBasedUsersInProjects-test_add_account_to_project_with_project_role-PVT1DH', 'command': 'listAccounts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'JjTqqMtXjCaOXlexxEYyCPzJ/0A='}
2026-10-27 14:52:30,234 - DEBUG - ========Sending GET Cmd : listAccounts=======
2026-10-27 14:52:30,276 - DEBUG - Response : [{id : 'd0815678-d6e4-4ed1-bf5d-04686c3ed12f', name : 'user-TestRoleBasedUsersInProjects-test_add_account_to_project_with_project_role-PVT1DH', accounttype : 0, roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', domainpath : 'ROOT', vmlimit : '20', vmtotal : 0, vmavailable : '20', iplimit : '20', iptotal : 0, ipavailable : '18', volumelimit : '20', volumetotal : 0, volumeavailable : '20', snapshotlimit : '20', snapshottotal : 0, snapshotavailable : '20', backuplimit : '20', backuptotal : 0, backupavailable : '20', backupstoragelimit : '400', backupstoragetotal : 0, backupstorageavailable : '400', templatelimit : '20', templatetotal : 0, templateavailable : '20', vmstopped : 0, vmrunning : 0, projectlimit : '10', projecttotal : 0, projectavailable : '10', networklimit : '20', networktotal : 0, networkavailable : '20', vpclimit : '20', vpctotal : 0, vpcavailable : '20', cpulimit : '40', cputotal : 0, cpuavailable : '40', memorylimit : '40960', memorytotal : 0, memoryavailable : '40960', gpulimit : '20', gputotal : 0, gpuavailable : '20', primarystoragelimit : '200', primarystoragetotal : 0, primarystorageavailable : '200', secondarystoragelimit : '400', secondarystoragetotal : 0.0, secondarystorageavailable : '400.0', bucketlimit : '20', buckettotal : 0, bucketavailable : '20', objectstoragelimit : '400', objectstoragetotal : 0, objectstorageavailable : '400', state : 'enabled', created : '2026-10-27T14:52:28+0000', user : [{id : '1f5d74ce-b25e-47e7-b3bb-5e983d3654da', username : 'user-TestRoleBasedUsersInProjects-test_add_account_to_project_with_project_role-PVT1DH', firstname : 'User', lastname : 'User', email : 'user@test.com', created : '2026-10-27T14:52:28+0000', state : 'enabled', account : 'user-TestRoleBasedUsersInProjects-test_add_account_to_project_with_project_role-PVT1DH', accounttype : 0, usersource : 'native', roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', accountid : 'd0815678-d6e4-4ed1-bf5d-04686c3ed12f', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : False}], isdefault : False, groups : [], apikeyaccess : 'INHERIT'}]
2026-10-27 14:52:30,277 - DEBUG - Payload: {'domainid': '54e5326a-d1fe-11f1-81aa-1e0044000301', 'listall': True, 'username': 'user-TestRoleBasedUsersInProjects-test_add_account_to_project_with_project_role-PVT1DH', 'command': 'listUsers', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'ICvFrW+sdA/KUEKHvSgK55xHum4='}
2026-10-27 14:52:30,277 - DEBUG - ========Sending GET Cmd : listUsers=======
2026-10-27 14:52:30,301 - DEBUG - Response : [{id : '1f5d74ce-b25e-47e7-b3bb-5e983d3654da', username : 'user-TestRoleBasedUsersInProjects-test_add_account_to_project_with_project_role-PVT1DH', firstname : 'User', lastname : 'User', email : 'user@test.com', created : '2026-10-27T14:52:28+0000', state : 'enabled', account : 'user-TestRoleBasedUsersInProjects-test_add_account_to_project_with_project_role-PVT1DH', accounttype : 0, usersource : 'native', roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', accountid : 'd0815678-d6e4-4ed1-bf5d-04686c3ed12f', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : False, apikeyaccess : 'INHERIT'}]
2026-10-27 14:52:30,301 - DEBUG - Payload: {'id': '1f5d74ce-b25e-47e7-b3bb-5e983d3654da', 'command': 'getUserKeys', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'mU1s/uC+w2FVGVBxC75MT48p5sw='}
2026-10-27 14:52:30,301 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-27 14:52:30,318 - DEBUG - Response : {apikeyaccess : True}
2026-10-27 14:52:30,318 - ERROR - __createApiClient: API Client Creation Failed
2026-10-27 14:52:30,319 - DEBUG - Payload: {'id': '1f5d74ce-b25e-47e7-b3bb-5e983d3654da', 'name': 'keypair-1f5d74ce-b25e-47e7-b3bb-5e983d3654da', 'command': 'registerUserKeys', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'fKzImTedWlOvPH8gjVVGQzsYlxY='}
2026-10-27 14:52:30,319 - DEBUG - ========Sending GET Cmd : registerUserKeys=======
2026-10-27 14:52:31,584 - DEBUG - Response : {name : 'keypair-1f5d74ce-b25e-47e7-b3bb-5e983d3654da', apikey : 'lucoiXB-bc-vGSaenF_DkOmHN1fo5_o2ze-oi0uRT5Xi7478C46KjLSdE8HOyRc7yxGabySeRlOCKn1Zq4rqOw', secretkey : 'UklAoBGsPNM8hWSuJqxuPN0fQSf4CTyNllXPfxUJKb1nRFZ6ZnLC4LrF-BTeEvHZJvd1-kUMGOthROjpsIRNOA', userid : '1f5d74ce-b25e-47e7-b3bb-5e983d3654da', username : 'user-TestRoleBasedUsersInProjects-test_add_account_to_project_with_project_role-PVT1DH', id : '55583df1-93cd-40f0-a79c-de0e9e211933', created : '2026-10-27T14:52:31+0000', accounttype : 'NORMAL', accountid : 'd0815678-d6e4-4ed1-bf5d-04686c3ed12f', accountname : 'user-TestRoleBasedUsersInProjects-test_add_account_to_project_with_project_role-PVT1DH', roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', domainpath : 'ROOT', state : 'ENABLED'}
2026-10-27 14:52:31,585 - DEBUG - Payload: {'id': '1f5d74ce-b25e-47e7-b3bb-5e983d3654da', 'command': 'getUserKeys', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'mU1s/uC+w2FVGVBxC75MT48p5sw='}
2026-10-27 14:52:31,585 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-27 14:52:31,909 - DEBUG - Response : {apikey : 'lucoiXB-bc-vGSaenF_DkOmHN1fo5_o2ze-oi0uRT5Xi7478C46KjLSdE8HOyRc7yxGabySeRlOCKn1Zq4rqOw', secretkey : 'UklAoBGsPNM8hWSuJqxuPN0fQSf4CTyNllXPfxUJKb1nRFZ6ZnLC4LrF-BTeEvHZJvd1-kUMGOthROjpsIRNOA', apikeyaccess : True}
2026-10-27 14:52:31,909 - DEBUG - Payload: {'projectid': 'ff6a9f64-b431-49a3-a5cb-ec25be7bf5bd', 'command': 'listPublicIpAddresses', 'response': 'json', 'apiKey': 'lucoiXB-bc-vGSaenF_DkOmHN1fo5_o2ze-oi0uRT5Xi7478C46KjLSdE8HOyRc7yxGabySeRlOCKn1Zq4rqOw', 'signature': b'BF11QaNJiXiMn2bs6GXd7t9hw8g='}
2026-10-27 14:52:31,910 - DEBUG - ========Sending GET Cmd : listPublicIpAddresses=======
2026-10-27 14:52:31,936 - ERROR - Exception:['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', "marvin.cloudstackException.CloudstackAPIException: Execute cmd: listpublicipaddresses failed, due to: errorCode: 401, errorText:The given command 'listPublicIpAddresses' either does not exist, is not available for user.\n"]
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: listpublicipaddresses failed, due to: errorCode: 401, errorText:The given command 'listPublicIpAddresses' either does not exist, is not available for user.
2026-10-27 14:52:31,937 - ERROR - marvinRequest : CmdName: <marvin.cloudstackAPI.listPublicIpAddresses.listPublicIpAddressesCmd object at 0x7ff516414520> Exception: ['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest\n    raise self.__lastError\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', "marvin.cloudstackException.CloudstackAPIException: Execute cmd: listpublicipaddresses failed, due to: errorCode: 401, errorText:The given command 'listPublicIpAddresses' either does not exist, is not available for user.\n"]
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest
    raise self.__lastError
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: listpublicipaddresses failed, due to: errorCode: 401, errorText:The given command 'listPublicIpAddresses' either does not exist, is not available for user.
2026-10-27 14:52:31,937 - DEBUG - Payload: {'cleanup': True, 'id': 'ff6a9f64-b431-49a3-a5cb-ec25be7bf5bd', 'command': 'deleteProject', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'zk0qSGz+20l8TNjeYqaABl9vzU4='}
2026-10-27 14:52:31,937 - DEBUG - ========Sending GET Cmd : deleteProject=======
2026-10-27 14:52:32,052 - DEBUG - === Jobid: 05df1b7b-3075-480b-bd15-1ee0b941daf3 Started ===
2026-10-27 14:52:32,053 - DEBUG - Payload: {'jobid': '05df1b7b-3075-480b-bd15-1ee0b941daf3', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'ccGSqyVmEGS7zmH11Z4DTlFupyk='}
2026-10-27 14:52:32,053 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:32,212 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.project.DeleteProjectCmd', jobprocstatus : 0, jobresultcode : 0, managementserverid : 'cdce5814-bb52-42f8-9ce6-85d2cdb65e27', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-27T14:52:32+0000', jobid : '05df1b7b-3075-480b-bd15-1ee0b941daf3', jobstatus : 0}
2026-10-27 14:52:33,213 - DEBUG - === JobId:05df1b7b-3075-480b-bd15-1ee0b941daf3 is Still Processing, Will TimeOut in:3599 ====
2026-10-27 14:52:33,214 - DEBUG - Payload: {'jobid': '05df1b7b-3075-480b-bd15-1ee0b941daf3', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'ccGSqyVmEGS7zmH11Z4DTlFupyk='}
2026-10-27 14:52:33,214 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:33,236 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.project.DeleteProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, created : '2026-10-27T14:52:32+0000', completed : '2026-10-27T14:52:32+0000', jobid : '05df1b7b-3075-480b-bd15-1ee0b941daf3', jobstatus : 1}
2026-10-27 14:52:33,237 - DEBUG - ===Jobid:05df1b7b-3075-480b-bd15-1ee0b941daf3 ; StartTime:Tue Oct 27 14:52:32 2026 ; EndTime:Tue Oct 27 14:52:33 2026 ; TotalTime:-1===
2026-10-27 14:52:33,237 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.project.DeleteProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, created : '2026-10-27T14:52:32+0000', completed : '2026-10-27T14:52:32+0000', jobid : '05df1b7b-3075-480b-bd15-1ee0b941daf3', jobstatus : 1}
2026-10-27 14:52:33,237 - DEBUG - Payload: {'id': 'd0815678-d6e4-4ed1-bf5d-04686c3ed12f', 'command': 'deleteAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'wsSvtMiXIZtckNdecfNTy0h3Ugw='}
2026-10-27 14:52:33,237 - DEBUG - ========Sending GET Cmd : deleteAccount=======
2026-10-27 14:52:33,265 - DEBUG - === Jobid: 2857e4e6-7e6a-4685-8fd9-03ea3eec912f Started ===
2026-10-27 14:52:33,266 - DEBUG - Payload: {'jobid': '2857e4e6-7e6a-4685-8fd9-03ea3eec912f', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'g/oyw6hP9FI/I/YH7zNLgJWKqkk='}
2026-10-27 14:52:33,266 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:33,295 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Account', jobinstanceid : 'd0815678-d6e4-4ed1-bf5d-04686c3ed12f', managementserverid : 'cdce5814-bb52-42f8-9ce6-85d2cdb65e27', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-27T14:52:33+0000', jobid : '2857e4e6-7e6a-4685-8fd9-03ea3eec912f', jobstatus : 0}
2026-10-27 14:52:34,297 - DEBUG - === JobId:2857e4e6-7e6a-4685-8fd9-03ea3eec912f is Still Processing, Will TimeOut in:3599 ====
2026-10-27 14:52:34,297 - DEBUG - Payload: {'jobid': '2857e4e6-7e6a-4685-8fd9-03ea3eec912f', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'g/oyw6hP9FI/I/YH7zNLgJWKqkk='}
2026-10-27 14:52:34,297 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:34,363 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Account', jobinstanceid : 'd0815678-d6e4-4ed1-bf5d-04686c3ed12f', created : '2026-10-27T14:52:33+0000', completed : '2026-10-27T14:52:33+0000', jobid : '2857e4e6-7e6a-4685-8fd9-03ea3eec912f', jobstatus : 1}
2026-10-27 14:52:34,364 - DEBUG - ===Jobid:2857e4e6-7e6a-4685-8fd9-03ea3eec912f ; StartTime:Tue Oct 27 14:52:33 2026 ; EndTime:Tue Oct 27 14:52:34 2026 ; TotalTime:-1===
2026-10-27 14:52:34,364 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Account', jobinstanceid : 'd0815678-d6e4-4ed1-bf5d-04686c3ed12f', created : '2026-10-27T14:52:33+0000', completed : '2026-10-27T14:52:33+0000', jobid : '2857e4e6-7e6a-4685-8fd9-03ea3eec912f', jobstatus : 1}
2026-10-27 14:52:34,365 - DEBUG - TestCaseName: test_add_account_to_project_with_project_role; Time Taken: 10 Seconds; StartTime: Tue Oct 27 14:52:23 2026; EndTime: Tue Oct 27 14:52:34 2026; Result: SUCCESS
2026-10-27 14:52:34,365 - DEBUG - ::::::::::::STARTED : TC: test_add_multiple_admins_in_project :::::::::::
2026-10-27 14:52:34,365 - DEBUG - Payload: {'command': 'listCapabilities', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'AVSz+2elvktJpTINZka8QKi8StQ='}
2026-10-27 14:52:34,365 - DEBUG - ========Sending GET Cmd : listCapabilities=======
2026-10-27 14:52:34,400 - DEBUG - Response : {securitygroupsenabled : False, dynamicrolesenabled : True, cloudstackversion : '24.0.0-shapeblue20748', userpublictemplateenabled : True, supportELB : 'false', projectinviterequired : False, allowusercreateprojects : True, customdiskofferingminsize : 1, customdiskofferingmaxsize : 1024, regionsecondaryenabled : False, kvmsnapshotenabled : True, snapshotshowchainsize : False, allowuserviewdestroyedvm : True, allowuserexpungerecovervm : True, allowuserexpungerecovervolume : True, allowuserviewalldomainaccounts : False, allowuserforcestopvm : True, kubernetesserviceenabled : True, kubernetesclusterexperimentalfeaturesenabled : False, customhypervisordisplayname : 'Custom', defaultuipagesize : 20, instancesstatsretentiontime : 720, instancesstatsuseronly : False, instancesdisksstatsretentionenabled : False, instancesdisksstatsretentiontime : 720, sharedfsvmmincpucount : 2, sharedfsvmminramsize : 1024, instanceleaseenabled : False, extensionspath : '/usr/share/cloudstack-management/extensions', dynamicscalingenabled : True, additionalconfigenabled : True}
2026-10-27 14:52:34,400 - DEBUG - Payload: {'displaytext': 'Test project', 'name': 'Test Project-H0XJ8Q', 'command': 'createProject', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'/5juGAOMVNcZ8+wvndNIcDnJ43Y='}
2026-10-27 14:52:34,400 - DEBUG - ========Sending GET Cmd : createProject=======
2026-10-27 14:52:34,499 - DEBUG - === Jobid: c2816f12-8734-42fe-91b9-9b9267b1f6d1 Started ===
2026-10-27 14:52:34,499 - DEBUG - Payload: {'jobid': 'c2816f12-8734-42fe-91b9-9b9267b1f6d1', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'/e0Iy0IHCFaE0/C2N73oUV/5o2U='}
2026-10-27 14:52:34,499 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:34,532 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.project.CreateProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'None', managementserverid : 'cdce5814-bb52-42f8-9ce6-85d2cdb65e27', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-27T14:52:34+0000', jobid : 'c2816f12-8734-42fe-91b9-9b9267b1f6d1', jobstatus : 0}
2026-10-27 14:52:35,533 - DEBUG - === JobId:c2816f12-8734-42fe-91b9-9b9267b1f6d1 is Still Processing, Will TimeOut in:3599 ====
2026-10-27 14:52:35,534 - DEBUG - Payload: {'jobid': 'c2816f12-8734-42fe-91b9-9b9267b1f6d1', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'/e0Iy0IHCFaE0/C2N73oUV/5o2U='}
2026-10-27 14:52:35,534 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:35,565 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.project.CreateProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {id : 'a6ba13f9-4aa2-4bb4-a11a-03e0c00c427a', name : 'Test Project-H0XJ8Q', displaytext : 'Test project', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', owner : [{account : 'admin'}], projectaccountname : 'PrjAcct-Test Project-H0XJ8Q-1', state : 'Active', tags : [], networklimit : '20', networktotal : 0, networkavailable : '20', vpclimit : '20', vpctotal : 0, vpcavailable : '20', cpulimit : '40', cputotal : 0, cpuavailable : '40', memorylimit : '40960', memorytotal : 0, memoryavailable : '40960', gpulimit : '20', gputotal : 0, gpuavailable : '20', primarystoragelimit : '200', primarystoragetotal : 0, primarystorageavailable : '200', secondarystoragelimit : '400', secondarystoragetotal : 0.0, secondarystorageavailable : '400.0', bucketlimit : '20', buckettotal : 0, bucketavailable : '20', objectstoragelimit : '400', objectstoragetotal : 0, objectstorageavailable : '400', vmlimit : '20', vmtotal : 0, vmavailable : '20', iplimit : '20', iptotal : 0, ipavailable : '18', volumelimit : '20', volumetotal : 0, volumeavailable : '20', snapshotlimit : '20', snapshottotal : 0, snapshotavailable : '20', backuplimit : '20', backuptotal : 0, backupavailable : '20', backupstoragelimit : '400', backupstoragetotal : 0, backupstorageavailable : '400', templatelimit : '20', templatetotal : 0, templateavailable : '20', vmstopped : 0, vmrunning : 0, created : '2026-10-27T14:52:34+0000'}, jobinstancetype : 'None', created : '2026-10-27T14:52:34+0000', completed : '2026-10-27T14:52:35+0000', jobid : 'c2816f12-8734-42fe-91b9-9b9267b1f6d1', jobstatus : 1}
2026-10-27 14:52:35,566 - DEBUG - ===Jobid:c2816f12-8734-42fe-91b9-9b9267b1f6d1 ; StartTime:Tue Oct 27 14:52:34 2026 ; EndTime:Tue Oct 27 14:52:35 2026 ; TotalTime:-1===
2026-10-27 14:52:35,566 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.project.CreateProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {id : 'a6ba13f9-4aa2-4bb4-a11a-03e0c00c427a', name : 'Test Project-H0XJ8Q', displaytext : 'Test project', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', owner : [{account : 'admin'}], projectaccountname : 'PrjAcct-Test Project-H0XJ8Q-1', state : 'Active', tags : [], networklimit : '20', networktotal : 0, networkavailable : '20', vpclimit : '20', vpctotal : 0, vpcavailable : '20', cpulimit : '40', cputotal : 0, cpuavailable : '40', memorylimit : '40960', memorytotal : 0, memoryavailable : '40960', gpulimit : '20', gputotal : 0, gpuavailable : '20', primarystoragelimit : '200', primarystoragetotal : 0, primarystorageavailable : '200', secondarystoragelimit : '400', secondarystoragetotal : 0.0, secondarystorageavailable : '400.0', bucketlimit : '20', buckettotal : 0, bucketavailable : '20', objectstoragelimit : '400', objectstoragetotal : 0, objectstorageavailable : '400', vmlimit : '20', vmtotal : 0, vmavailable : '20', iplimit : '20', iptotal : 0, ipavailable : '18', volumelimit : '20', volumetotal : 0, volumeavailable : '20', snapshotlimit : '20', snapshottotal : 0, snapshotavailable : '20', backuplimit : '20', backuptotal : 0, backupavailable : '20', backupstoragelimit : '400', backupstoragetotal : 0, backupstorageavailable : '400', templatelimit : '20', templatetotal : 0, templateavailable : '20', vmstopped : 0, vmrunning : 0, created : '2026-10-27T14:52:34+0000'}, jobinstancetype : 'None', created : '2026-10-27T14:52:34+0000', completed : '2026-10-27T14:52:35+0000', jobid : 'c2816f12-8734-42fe-91b9-9b9267b1f6d1', jobstatus : 1}
2026-10-27 14:52:35,567 - DEBUG - Payload: {'description': 'Fake project Role created by Marvin test', 'name': 'MarvinFake project Role p5qmmueqp6', 'projectid': 'a6ba13f9-4aa2-4bb4-a11a-03e0c00c427a', 'command': 'createProjectRole', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'6Jsc9Jc1ZBs18r2rP0C/TmR0Cic='}
2026-10-27 14:52:35,567 - DEBUG - ========Sending GET Cmd : createProjectRole=======
2026-10-27 14:52:35,606 - DEBUG - Response : {projectid : 'a6ba13f9-4aa2-4bb4-a11a-03e0c00c427a', id : 'd424b688-2545-4d12-9744-0c37cc490600', name : 'MarvinFake project Role p5qmmueqp6', description : 'Fake project Role created by Marvin test', ispublic : True}
2026-10-27 14:52:35,606 - DEBUG - Payload: {'description': 'Fake role permission created by Marvin test', 'permission': 'deny', 'projectid': 'a6ba13f9-4aa2-4bb4-a11a-03e0c00c427a', 'projectroleid': 'd424b688-2545-4d12-9744-0c37cc490600', 'rule': 'listPublicIpAddresses', 'command': 'createProjectRolePermission', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'ywGSXdrCFQdYmyTxqYvBbL3oVkA='}
2026-10-27 14:52:35,606 - DEBUG - ========Sending GET Cmd : createProjectRolePermission=======
2026-10-27 14:52:35,672 - DEBUG - Response : {id : '4a97fc09-984c-47e9-96f5-c48451e9942e', projectroleid : 'd424b688-2545-4d12-9744-0c37cc490600', projectid : 'a6ba13f9-4aa2-4bb4-a11a-03e0c00c427a', rule : 'listPublicIpAddresses', permission : 'deny', description : 'Fake role permission created by Marvin test'}
2026-10-27 14:52:35,673 - DEBUG - Payload: {'accounttype': 0, 'email': 'user@test.com', 'firstname': 'User', 'lastname': 'User', 'password': 'password', 'roleid': 4, 'username': 'user-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-FSC7T0', 'command': 'createAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'YtAvEtlpbOKzOhdKerfEt1qdY3k='}
2026-10-27 14:52:35,673 - DEBUG - ========Sending GET Cmd : createAccount=======
2026-10-27 14:52:38,473 - DEBUG - Response : {id : '59277203-790f-45fa-a0cb-e7726b587905', name : 'user-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-FSC7T0', accounttype : 0, roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', domainpath : 'ROOT', vmlimit : '20', vmtotal : 0, vmavailable : '20', iplimit : '20', iptotal : 0, ipavailable : '18', volumelimit : '20', volumetotal : 0, volumeavailable : '20', snapshotlimit : '20', snapshottotal : 0, snapshotavailable : '20', backuplimit : '20', backuptotal : 0, backupavailable : '20', backupstoragelimit : '400', backupstoragetotal : 0, backupstorageavailable : '400', templatelimit : '20', templatetotal : 0, templateavailable : '20', vmstopped : 0, vmrunning : 0, projectlimit : '10', projecttotal : 0, projectavailable : '10', networklimit : '20', networktotal : 0, networkavailable : '20', vpclimit : '20', vpctotal : 0, vpcavailable : '20', cpulimit : '40', cputotal : 0, cpuavailable : '40', memorylimit : '40960', memorytotal : 0, memoryavailable : '40960', gpulimit : '20', gputotal : 0, gpuavailable : '20', primarystoragelimit : '200', primarystoragetotal : 0, primarystorageavailable : '200', secondarystoragelimit : '400', secondarystoragetotal : 0.0, secondarystorageavailable : '400.0', bucketlimit : '20', buckettotal : 0, bucketavailable : '20', objectstoragelimit : '400', objectstoragetotal : 0, objectstorageavailable : '400', state : 'enabled', created : '2026-10-27T14:52:38+0000', user : [{id : '4ae42ddc-844a-4c88-b58f-a321a2c6f8e7', username : 'user-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-FSC7T0', firstname : 'User', lastname : 'User', email : 'user@test.com', created : '2026-10-27T14:52:38+0000', state : 'enabled', account : 'user-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-FSC7T0', accounttype : 0, usersource : 'native', roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', accountid : '59277203-790f-45fa-a0cb-e7726b587905', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : False}], isdefault : False, groups : [], apikeyaccess : 'INHERIT'}
2026-10-27 14:52:38,474 - DEBUG - Payload: {'accounttype': 0, 'email': 'user1@test.com', 'firstname': 'User', 'lastname': 'User', 'password': 'fr3sca', 'roleid': 4, 'username': 'user1-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-O93A46', 'command': 'createAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'4S+HQ7vHo7MAXBB9hlmW9TZuzuQ='}
2026-10-27 14:52:38,474 - DEBUG - ========Sending GET Cmd : createAccount=======
2026-10-27 14:52:41,034 - DEBUG - Response : {id : 'a81a4873-3e79-4f25-8249-403f4b254c12', name : 'user1-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-O93A46', accounttype : 0, roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', domainpath : 'ROOT', vmlimit : '20', vmtotal : 0, vmavailable : '20', iplimit : '20', iptotal : 0, ipavailable : '18', volumelimit : '20', volumetotal : 0, volumeavailable : '20', snapshotlimit : '20', snapshottotal : 0, snapshotavailable : '20', backuplimit : '20', backuptotal : 0, backupavailable : '20', backupstoragelimit : '400', backupstoragetotal : 0, backupstorageavailable : '400', templatelimit : '20', templatetotal : 0, templateavailable : '20', vmstopped : 0, vmrunning : 0, projectlimit : '10', projecttotal : 0, projectavailable : '10', networklimit : '20', networktotal : 0, networkavailable : '20', vpclimit : '20', vpctotal : 0, vpcavailable : '20', cpulimit : '40', cputotal : 0, cpuavailable : '40', memorylimit : '40960', memorytotal : 0, memoryavailable : '40960', gpulimit : '20', gputotal : 0, gpuavailable : '20', primarystoragelimit : '200', primarystoragetotal : 0, primarystorageavailable : '200', secondarystoragelimit : '400', secondarystoragetotal : 0.0, secondarystorageavailable : '400.0', bucketlimit : '20', buckettotal : 0, bucketavailable : '20', objectstoragelimit : '400', objectstoragetotal : 0, objectstorageavailable : '400', state : 'enabled', created : '2026-10-27T14:52:41+0000', user : [{id : 'dc1e29fa-a464-4a82-bce8-39e3876d65c3', username : 'user1-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-O93A46', firstname : 'User', lastname : 'User', email : 'user1@test.com', created : '2026-10-27T14:52:41+0000', state : 'enabled', account : 'user1-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-O93A46', accounttype : 0, usersource : 'native', roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', accountid : 'a81a4873-3e79-4f25-8249-403f4b254c12', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : False}], isdefault : False, groups : [], apikeyaccess : 'INHERIT'}
2026-10-27 14:52:41,034 - DEBUG - Payload: {'account': 'user-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-FSC7T0', 'projectid': 'a6ba13f9-4aa2-4bb4-a11a-03e0c00c427a', 'projectroleid': 'd424b688-2545-4d12-9744-0c37cc490600', 'roletype': 'Admin', 'command': 'addAccountToProject', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'10Q3U9F+z1WIOEqWMkCrhVL/dfQ='}
2026-10-27 14:52:41,034 - DEBUG - ========Sending GET Cmd : addAccountToProject=======
2026-10-27 14:52:41,075 - DEBUG - === Jobid: 3cf35033-7e44-491b-b276-3b3c4217b2b4 Started ===
2026-10-27 14:52:41,075 - DEBUG - Payload: {'jobid': '3cf35033-7e44-491b-b276-3b3c4217b2b4', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'qGdZOCYkEvYhMStsZWP9EiElZy8='}
2026-10-27 14:52:41,075 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:41,101 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.account.AddAccountToProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Project', managementserverid : 'cdce5814-bb52-42f8-9ce6-85d2cdb65e27', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-27T14:52:41+0000', jobid : '3cf35033-7e44-491b-b276-3b3c4217b2b4', jobstatus : 0}
2026-10-27 14:52:42,102 - DEBUG - === JobId:3cf35033-7e44-491b-b276-3b3c4217b2b4 is Still Processing, Will TimeOut in:3599 ====
2026-10-27 14:52:42,103 - DEBUG - Payload: {'jobid': '3cf35033-7e44-491b-b276-3b3c4217b2b4', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'qGdZOCYkEvYhMStsZWP9EiElZy8='}
2026-10-27 14:52:42,103 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:42,159 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.account.AddAccountToProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Project', created : '2026-10-27T14:52:41+0000', completed : '2026-10-27T14:52:41+0000', jobid : '3cf35033-7e44-491b-b276-3b3c4217b2b4', jobstatus : 1}
2026-10-27 14:52:42,159 - DEBUG - ===Jobid:3cf35033-7e44-491b-b276-3b3c4217b2b4 ; StartTime:Tue Oct 27 14:52:41 2026 ; EndTime:Tue Oct 27 14:52:42 2026 ; TotalTime:-1===
2026-10-27 14:52:42,159 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.account.AddAccountToProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Project', created : '2026-10-27T14:52:41+0000', completed : '2026-10-27T14:52:41+0000', jobid : '3cf35033-7e44-491b-b276-3b3c4217b2b4', jobstatus : 1}
2026-10-27 14:52:42,160 - DEBUG - Payload: {'account': 'user1-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-O93A46', 'projectid': 'a6ba13f9-4aa2-4bb4-a11a-03e0c00c427a', 'projectroleid': 'd424b688-2545-4d12-9744-0c37cc490600', 'command': 'addAccountToProject', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'C9ixNx1oqn00XjbeDGeOhlCPQnw='}
2026-10-27 14:52:42,160 - DEBUG - ========Sending GET Cmd : addAccountToProject=======
2026-10-27 14:52:42,230 - DEBUG - === Jobid: f9c8a8d3-bee0-4b53-9b73-8f34718ce3e8 Started ===
2026-10-27 14:52:42,231 - DEBUG - Payload: {'jobid': 'f9c8a8d3-bee0-4b53-9b73-8f34718ce3e8', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'VourHSU848ZTt+dsmhf9msOl/SQ='}
2026-10-27 14:52:42,231 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:43,335 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.account.AddAccountToProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Project', created : '2026-10-27T14:52:42+0000', completed : '2026-10-27T14:52:42+0000', jobid : 'f9c8a8d3-bee0-4b53-9b73-8f34718ce3e8', jobstatus : 1}
2026-10-27 14:52:43,336 - DEBUG - ===Jobid:f9c8a8d3-bee0-4b53-9b73-8f34718ce3e8 ; StartTime:Tue Oct 27 14:52:42 2026 ; EndTime:Tue Oct 27 14:52:43 2026 ; TotalTime:-1===
2026-10-27 14:52:43,336 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.account.AddAccountToProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Project', created : '2026-10-27T14:52:42+0000', completed : '2026-10-27T14:52:42+0000', jobid : 'f9c8a8d3-bee0-4b53-9b73-8f34718ce3e8', jobstatus : 1}
2026-10-27 14:52:43,336 - DEBUG - Payload: {'projectid': 'a6ba13f9-4aa2-4bb4-a11a-03e0c00c427a', 'role': 'Admin', 'command': 'listProjectAccounts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'mBilku5twYsIlQQ+jIqKl/4p1j8='}
2026-10-27 14:52:43,337 - DEBUG - ========Sending GET Cmd : listProjectAccounts=======
2026-10-27 14:52:43,376 - DEBUG - Response : [{projectid : 'a6ba13f9-4aa2-4bb4-a11a-03e0c00c427a', project : 'Test Project-H0XJ8Q', accountid : '59277203-790f-45fa-a0cb-e7726b587905', account : 'user-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-FSC7T0', accounttype : 0, projectroleid : 'd424b688-2545-4d12-9744-0c37cc490600', role : 'Admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', domainpath : 'ROOT', user : [{id : '4ae42ddc-844a-4c88-b58f-a321a2c6f8e7', username : 'user-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-FSC7T0', firstname : 'User', lastname : 'User', email : 'user@test.com', created : '2026-10-27T14:52:38+0000', state : 'enabled', account : 'user-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-FSC7T0', accounttype : 0, usersource : 'native', roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', accountid : '59277203-790f-45fa-a0cb-e7726b587905', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : False}]}, {projectid : 'a6ba13f9-4aa2-4bb4-a11a-03e0c00c427a', project : 'Test Project-H0XJ8Q', accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', accounttype : 1, role : 'Admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', domainpath : 'ROOT', user : [{id : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', username : 'admin', firstname : 'admin', lastname : 'cloud', created : '2026-10-27T12:05:51+0000', state : 'enabled', account : 'admin', accounttype : 1, usersource : 'native', roleid : '87d83eed-d1fe-11f1-81aa-1e0044000301', roletype : 'Admin', rolename : 'Root Admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', apikey : 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', iscallerchilddomain : False, isdefault : True, is2faenabled : False, is2famandated : False}]}]
2026-10-27 14:52:43,376 - DEBUG - Payload: {'name': 'ROOT', 'command': 'listDomains', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'FUkLFPJq0p6AOaVYSkY//WIQFBk='}
2026-10-27 14:52:43,377 - DEBUG - ========Sending GET Cmd : listDomains=======
2026-10-27 14:52:43,406 - DEBUG - Response : [{id : '54e5326a-d1fe-11f1-81aa-1e0044000301', name : 'ROOT', level : 0, haschild : False, path : 'ROOT', state : 'Active', vmlimit : 'Unlimited', vmtotal : 0, vmavailable : 'Unlimited', iplimit : 'Unlimited', iptotal : 0, ipavailable : 'Unlimited', volumelimit : 'Unlimited', volumetotal : 2, volumeavailable : 'Unlimited', snapshotlimit : 'Unlimited', snapshottotal : 0, snapshotavailable : 'Unlimited', backuplimit : 'Unlimited', backuptotal : 0, backupavailable : 'Unlimited', backupstoragelimit : 'Unlimited', backupstoragetotal : 0, backupstorageavailable : 'Unlimited', templatelimit : 'Unlimited', templatetotal : 13, templateavailable : 'Unlimited', projectlimit : 'Unlimited', projecttotal : 2, projectavailable : 'Unlimited', networklimit : 'Unlimited', networktotal : 0, networkavailable : 'Unlimited', vpclimit : 'Unlimited', vpctotal : 0, vpcavailable : 'Unlimited', cpulimit : 'Unlimited', cputotal : 0, cpuavailable : 'Unlimited', memorylimit : 'Unlimited', memorytotal : 0, memoryavailable : 'Unlimited', gpulimit : 'Unlimited', gputotal : 0, gpuavailable : 'Unlimited', primarystoragelimit : 'Unlimited', primarystoragetotal : 9, primarystorageavailable : 'Unlimited', secondarystoragelimit : 'Unlimited', secondarystoragetotal : 13.067401, secondarystorageavailable : 'Unlimited', bucketlimit : 'Unlimited', buckettotal : 0, bucketavailable : 'Unlimited', objectstoragelimit : 'Unlimited', objectstoragetotal : 0, objectstorageavailable : 'Unlimited', domaindetails : {vmsnapshot.expire.interval : '19'}, hasannotations : False}]
2026-10-27 14:52:43,407 - DEBUG - Payload: {'listall': True, 'name': 'ROOT', 'command': 'listDomains', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'MTo4M/OsRVaY9H/KZqvgm9hNmEQ='}
2026-10-27 14:52:43,407 - DEBUG - ========Sending GET Cmd : listDomains=======
2026-10-27 14:52:43,441 - DEBUG - Response : [{id : '54e5326a-d1fe-11f1-81aa-1e0044000301', name : 'ROOT', level : 0, haschild : False, path : 'ROOT', state : 'Active', vmlimit : 'Unlimited', vmtotal : 0, vmavailable : 'Unlimited', iplimit : 'Unlimited', iptotal : 0, ipavailable : 'Unlimited', volumelimit : 'Unlimited', volumetotal : 2, volumeavailable : 'Unlimited', snapshotlimit : 'Unlimited', snapshottotal : 0, snapshotavailable : 'Unlimited', backuplimit : 'Unlimited', backuptotal : 0, backupavailable : 'Unlimited', backupstoragelimit : 'Unlimited', backupstoragetotal : 0, backupstorageavailable : 'Unlimited', templatelimit : 'Unlimited', templatetotal : 13, templateavailable : 'Unlimited', projectlimit : 'Unlimited', projecttotal : 2, projectavailable : 'Unlimited', networklimit : 'Unlimited', networktotal : 0, networkavailable : 'Unlimited', vpclimit : 'Unlimited', vpctotal : 0, vpcavailable : 'Unlimited', cpulimit : 'Unlimited', cputotal : 0, cpuavailable : 'Unlimited', memorylimit : 'Unlimited', memorytotal : 0, memoryavailable : 'Unlimited', gpulimit : 'Unlimited', gputotal : 0, gpuavailable : 'Unlimited', primarystoragelimit : 'Unlimited', primarystoragetotal : 9, primarystorageavailable : 'Unlimited', secondarystoragelimit : 'Unlimited', secondarystoragetotal : 13.067401, secondarystorageavailable : 'Unlimited', bucketlimit : 'Unlimited', buckettotal : 0, bucketavailable : 'Unlimited', objectstoragelimit : 'Unlimited', objectstoragetotal : 0, objectstorageavailable : 'Unlimited', domaindetails : {vmsnapshot.expire.interval : '19'}, hasannotations : False}]
2026-10-27 14:52:43,441 - DEBUG - Payload: {'domainid': '54e5326a-d1fe-11f1-81aa-1e0044000301', 'listall': True, 'name': 'user-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-FSC7T0', 'command': 'listAccounts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'GERW7aA5cTInUu6gfJBz3x7rxyg='}
2026-10-27 14:52:43,442 - DEBUG - ========Sending GET Cmd : listAccounts=======
2026-10-27 14:52:43,484 - DEBUG - Response : [{id : '59277203-790f-45fa-a0cb-e7726b587905', name : 'user-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-FSC7T0', accounttype : 0, roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', domainpath : 'ROOT', vmlimit : '20', vmtotal : 0, vmavailable : '20', iplimit : '20', iptotal : 0, ipavailable : '18', volumelimit : '20', volumetotal : 0, volumeavailable : '20', snapshotlimit : '20', snapshottotal : 0, snapshotavailable : '20', backuplimit : '20', backuptotal : 0, backupavailable : '20', backupstoragelimit : '400', backupstoragetotal : 0, backupstorageavailable : '400', templatelimit : '20', templatetotal : 0, templateavailable : '20', vmstopped : 0, vmrunning : 0, projectlimit : '10', projecttotal : 1, projectavailable : '9', networklimit : '20', networktotal : 0, networkavailable : '20', vpclimit : '20', vpctotal : 0, vpcavailable : '20', cpulimit : '40', cputotal : 0, cpuavailable : '40', memorylimit : '40960', memorytotal : 0, memoryavailable : '40960', gpulimit : '20', gputotal : 0, gpuavailable : '20', primarystoragelimit : '200', primarystoragetotal : 0, primarystorageavailable : '200', secondarystoragelimit : '400', secondarystoragetotal : 0.0, secondarystorageavailable : '400.0', bucketlimit : '20', buckettotal : 0, bucketavailable : '20', objectstoragelimit : '400', objectstoragetotal : 0, objectstorageavailable : '400', state : 'enabled', created : '2026-10-27T14:52:38+0000', user : [{id : '4ae42ddc-844a-4c88-b58f-a321a2c6f8e7', username : 'user-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-FSC7T0', firstname : 'User', lastname : 'User', email : 'user@test.com', created : '2026-10-27T14:52:38+0000', state : 'enabled', account : 'user-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-FSC7T0', accounttype : 0, usersource : 'native', roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', accountid : '59277203-790f-45fa-a0cb-e7726b587905', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : False}], isdefault : False, groups : [], apikeyaccess : 'INHERIT'}]
2026-10-27 14:52:43,485 - DEBUG - Payload: {'domainid': '54e5326a-d1fe-11f1-81aa-1e0044000301', 'listall': True, 'username': 'user-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-FSC7T0', 'command': 'listUsers', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'YRnESgsC68IJumB/JlETolSrKhk='}
2026-10-27 14:52:43,485 - DEBUG - ========Sending GET Cmd : listUsers=======
2026-10-27 14:52:43,510 - DEBUG - Response : [{id : '4ae42ddc-844a-4c88-b58f-a321a2c6f8e7', username : 'user-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-FSC7T0', firstname : 'User', lastname : 'User', email : 'user@test.com', created : '2026-10-27T14:52:38+0000', state : 'enabled', account : 'user-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-FSC7T0', accounttype : 0, usersource : 'native', roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', accountid : '59277203-790f-45fa-a0cb-e7726b587905', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : False, apikeyaccess : 'INHERIT'}]
2026-10-27 14:52:43,511 - DEBUG - Payload: {'id': '4ae42ddc-844a-4c88-b58f-a321a2c6f8e7', 'command': 'getUserKeys', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'W6sPyiFF22gpAetK9l7OmUOIrr8='}
2026-10-27 14:52:43,512 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-27 14:52:43,594 - DEBUG - Response : {apikeyaccess : True}
2026-10-27 14:52:43,594 - ERROR - __createApiClient: API Client Creation Failed
2026-10-27 14:52:43,595 - DEBUG - Payload: {'id': '4ae42ddc-844a-4c88-b58f-a321a2c6f8e7', 'name': 'keypair-4ae42ddc-844a-4c88-b58f-a321a2c6f8e7', 'command': 'registerUserKeys', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'jXix8WjLGGaWDRWs+Q587ZV7Fok='}
2026-10-27 14:52:43,595 - DEBUG - ========Sending GET Cmd : registerUserKeys=======
2026-10-27 14:52:44,776 - DEBUG - Response : {name : 'keypair-4ae42ddc-844a-4c88-b58f-a321a2c6f8e7', apikey : 'D24batkRrnOAFC3fVKjxBbw9XZHEPZT_hAWDJxK3zOTkhBwPrdaVzTpFd1nzPLDqT5AHyLQANzsgIqYXrSh6Dg', secretkey : 'huD9x7msmQqCZX9r2hOqOgxZqVWIr9OHQEzuv1kougfeOXGoQ60V_hgqMC17PuQla4UTEahX7YZ6D2TeWLMkKQ', userid : '4ae42ddc-844a-4c88-b58f-a321a2c6f8e7', username : 'user-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-FSC7T0', id : 'ea08d44c-0104-4b44-84fa-82c7063e37db', created : '2026-10-27T14:52:45+0000', accounttype : 'NORMAL', accountid : '59277203-790f-45fa-a0cb-e7726b587905', accountname : 'user-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-FSC7T0', roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', domainpath : 'ROOT', state : 'ENABLED'}
2026-10-27 14:52:44,778 - DEBUG - Payload: {'id': '4ae42ddc-844a-4c88-b58f-a321a2c6f8e7', 'command': 'getUserKeys', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'W6sPyiFF22gpAetK9l7OmUOIrr8='}
2026-10-27 14:52:44,778 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-27 14:52:45,146 - DEBUG - Response : {apikey : 'D24batkRrnOAFC3fVKjxBbw9XZHEPZT_hAWDJxK3zOTkhBwPrdaVzTpFd1nzPLDqT5AHyLQANzsgIqYXrSh6Dg', secretkey : 'huD9x7msmQqCZX9r2hOqOgxZqVWIr9OHQEzuv1kougfeOXGoQ60V_hgqMC17PuQla4UTEahX7YZ6D2TeWLMkKQ', apikeyaccess : True}
2026-10-27 14:52:45,147 - DEBUG - Payload: {'name': 'ROOT', 'command': 'listDomains', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'FUkLFPJq0p6AOaVYSkY//WIQFBk='}
2026-10-27 14:52:45,147 - DEBUG - ========Sending GET Cmd : listDomains=======
2026-10-27 14:52:45,207 - DEBUG - Response : [{id : '54e5326a-d1fe-11f1-81aa-1e0044000301', name : 'ROOT', level : 0, haschild : False, path : 'ROOT', state : 'Active', vmlimit : 'Unlimited', vmtotal : 0, vmavailable : 'Unlimited', iplimit : 'Unlimited', iptotal : 0, ipavailable : 'Unlimited', volumelimit : 'Unlimited', volumetotal : 2, volumeavailable : 'Unlimited', snapshotlimit : 'Unlimited', snapshottotal : 0, snapshotavailable : 'Unlimited', backuplimit : 'Unlimited', backuptotal : 0, backupavailable : 'Unlimited', backupstoragelimit : 'Unlimited', backupstoragetotal : 0, backupstorageavailable : 'Unlimited', templatelimit : 'Unlimited', templatetotal : 13, templateavailable : 'Unlimited', projectlimit : 'Unlimited', projecttotal : 2, projectavailable : 'Unlimited', networklimit : 'Unlimited', networktotal : 0, networkavailable : 'Unlimited', vpclimit : 'Unlimited', vpctotal : 0, vpcavailable : 'Unlimited', cpulimit : 'Unlimited', cputotal : 0, cpuavailable : 'Unlimited', memorylimit : 'Unlimited', memorytotal : 0, memoryavailable : 'Unlimited', gpulimit : 'Unlimited', gputotal : 0, gpuavailable : 'Unlimited', primarystoragelimit : 'Unlimited', primarystoragetotal : 9, primarystorageavailable : 'Unlimited', secondarystoragelimit : 'Unlimited', secondarystoragetotal : 13.067401, secondarystorageavailable : 'Unlimited', bucketlimit : 'Unlimited', buckettotal : 0, bucketavailable : 'Unlimited', objectstoragelimit : 'Unlimited', objectstoragetotal : 0, objectstorageavailable : 'Unlimited', domaindetails : {vmsnapshot.expire.interval : '19'}, hasannotations : False}]
2026-10-27 14:52:45,208 - DEBUG - Payload: {'listall': True, 'name': 'ROOT', 'command': 'listDomains', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'MTo4M/OsRVaY9H/KZqvgm9hNmEQ='}
2026-10-27 14:52:45,208 - DEBUG - ========Sending GET Cmd : listDomains=======
2026-10-27 14:52:45,235 - DEBUG - Response : [{id : '54e5326a-d1fe-11f1-81aa-1e0044000301', name : 'ROOT', level : 0, haschild : False, path : 'ROOT', state : 'Active', vmlimit : 'Unlimited', vmtotal : 0, vmavailable : 'Unlimited', iplimit : 'Unlimited', iptotal : 0, ipavailable : 'Unlimited', volumelimit : 'Unlimited', volumetotal : 2, volumeavailable : 'Unlimited', snapshotlimit : 'Unlimited', snapshottotal : 0, snapshotavailable : 'Unlimited', backuplimit : 'Unlimited', backuptotal : 0, backupavailable : 'Unlimited', backupstoragelimit : 'Unlimited', backupstoragetotal : 0, backupstorageavailable : 'Unlimited', templatelimit : 'Unlimited', templatetotal : 13, templateavailable : 'Unlimited', projectlimit : 'Unlimited', projecttotal : 2, projectavailable : 'Unlimited', networklimit : 'Unlimited', networktotal : 0, networkavailable : 'Unlimited', vpclimit : 'Unlimited', vpctotal : 0, vpcavailable : 'Unlimited', cpulimit : 'Unlimited', cputotal : 0, cpuavailable : 'Unlimited', memorylimit : 'Unlimited', memorytotal : 0, memoryavailable : 'Unlimited', gpulimit : 'Unlimited', gputotal : 0, gpuavailable : 'Unlimited', primarystoragelimit : 'Unlimited', primarystoragetotal : 9, primarystorageavailable : 'Unlimited', secondarystoragelimit : 'Unlimited', secondarystoragetotal : 13.067401, secondarystorageavailable : 'Unlimited', bucketlimit : 'Unlimited', buckettotal : 0, bucketavailable : 'Unlimited', objectstoragelimit : 'Unlimited', objectstoragetotal : 0, objectstorageavailable : 'Unlimited', domaindetails : {vmsnapshot.expire.interval : '19'}, hasannotations : False}]
2026-10-27 14:52:45,235 - DEBUG - Payload: {'domainid': '54e5326a-d1fe-11f1-81aa-1e0044000301', 'listall': True, 'name': 'user1-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-O93A46', 'command': 'listAccounts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'a+Rkrh4EpeFFZQwU27IgLnZRgSc='}
2026-10-27 14:52:45,235 - DEBUG - ========Sending GET Cmd : listAccounts=======
2026-10-27 14:52:45,272 - DEBUG - Response : [{id : 'a81a4873-3e79-4f25-8249-403f4b254c12', name : 'user1-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-O93A46', accounttype : 0, roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', domainpath : 'ROOT', vmlimit : '20', vmtotal : 0, vmavailable : '20', iplimit : '20', iptotal : 0, ipavailable : '18', volumelimit : '20', volumetotal : 0, volumeavailable : '20', snapshotlimit : '20', snapshottotal : 0, snapshotavailable : '20', backuplimit : '20', backuptotal : 0, backupavailable : '20', backupstoragelimit : '400', backupstoragetotal : 0, backupstorageavailable : '400', templatelimit : '20', templatetotal : 0, templateavailable : '20', vmstopped : 0, vmrunning : 0, projectlimit : '10', projecttotal : 0, projectavailable : '10', networklimit : '20', networktotal : 0, networkavailable : '20', vpclimit : '20', vpctotal : 0, vpcavailable : '20', cpulimit : '40', cputotal : 0, cpuavailable : '40', memorylimit : '40960', memorytotal : 0, memoryavailable : '40960', gpulimit : '20', gputotal : 0, gpuavailable : '20', primarystoragelimit : '200', primarystoragetotal : 0, primarystorageavailable : '200', secondarystoragelimit : '400', secondarystoragetotal : 0.0, secondarystorageavailable : '400.0', bucketlimit : '20', buckettotal : 0, bucketavailable : '20', objectstoragelimit : '400', objectstoragetotal : 0, objectstorageavailable : '400', state : 'enabled', created : '2026-10-27T14:52:41+0000', user : [{id : 'dc1e29fa-a464-4a82-bce8-39e3876d65c3', username : 'user1-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-O93A46', firstname : 'User', lastname : 'User', email : 'user1@test.com', created : '2026-10-27T14:52:41+0000', state : 'enabled', account : 'user1-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-O93A46', accounttype : 0, usersource : 'native', roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', accountid : 'a81a4873-3e79-4f25-8249-403f4b254c12', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : False}], isdefault : False, groups : [], apikeyaccess : 'INHERIT'}]
2026-10-27 14:52:45,273 - DEBUG - Payload: {'domainid': '54e5326a-d1fe-11f1-81aa-1e0044000301', 'listall': True, 'username': 'user1-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-O93A46', 'command': 'listUsers', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'+HVbeTe+QuqPDz5aAFV0ljgtkhE='}
2026-10-27 14:52:45,274 - DEBUG - ========Sending GET Cmd : listUsers=======
2026-10-27 14:52:45,290 - DEBUG - Response : [{id : 'dc1e29fa-a464-4a82-bce8-39e3876d65c3', username : 'user1-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-O93A46', firstname : 'User', lastname : 'User', email : 'user1@test.com', created : '2026-10-27T14:52:41+0000', state : 'enabled', account : 'user1-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-O93A46', accounttype : 0, usersource : 'native', roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', accountid : 'a81a4873-3e79-4f25-8249-403f4b254c12', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : False, apikeyaccess : 'INHERIT'}]
2026-10-27 14:52:45,291 - DEBUG - Payload: {'id': 'dc1e29fa-a464-4a82-bce8-39e3876d65c3', 'command': 'getUserKeys', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'qpe3ieyGELvWKVdakvRu+bTazg8='}
2026-10-27 14:52:45,291 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-27 14:52:45,310 - DEBUG - Response : {apikeyaccess : True}
2026-10-27 14:52:45,311 - ERROR - __createApiClient: API Client Creation Failed
2026-10-27 14:52:45,311 - DEBUG - Payload: {'id': 'dc1e29fa-a464-4a82-bce8-39e3876d65c3', 'name': 'keypair-dc1e29fa-a464-4a82-bce8-39e3876d65c3', 'command': 'registerUserKeys', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'xFR9sdG6Q0YP34Z56jIJa975S2k='}
2026-10-27 14:52:45,311 - DEBUG - ========Sending GET Cmd : registerUserKeys=======
2026-10-27 14:52:46,531 - DEBUG - Response : {name : 'keypair-dc1e29fa-a464-4a82-bce8-39e3876d65c3', apikey : 'vMzHVu8iEwEFt7r0a-wTkukX6b-Wyr5kTfVOlgN6wQn4BHM7D_Br9EFCRpVEqQa3f2CFg7E-JFigsWuhV57KDg', secretkey : 'HOzP1wdOCP3NFoCdb2dHHxQvA2r1WIP819TY3spR_wvR8VBHKqzUUWWuhxeHHpX8s8hCCdDoC_3S2UxGJEOeFw', userid : 'dc1e29fa-a464-4a82-bce8-39e3876d65c3', username : 'user1-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-O93A46', id : 'd6e8e542-644f-4652-93e6-e3330b05d53a', created : '2026-10-27T14:52:46+0000', accounttype : 'NORMAL', accountid : 'a81a4873-3e79-4f25-8249-403f4b254c12', accountname : 'user1-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-O93A46', roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', domainpath : 'ROOT', state : 'ENABLED'}
2026-10-27 14:52:46,532 - DEBUG - Payload: {'id': 'dc1e29fa-a464-4a82-bce8-39e3876d65c3', 'command': 'getUserKeys', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'qpe3ieyGELvWKVdakvRu+bTazg8='}
2026-10-27 14:52:46,532 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-27 14:52:46,898 - DEBUG - Response : {apikey : 'vMzHVu8iEwEFt7r0a-wTkukX6b-Wyr5kTfVOlgN6wQn4BHM7D_Br9EFCRpVEqQa3f2CFg7E-JFigsWuhV57KDg', secretkey : 'HOzP1wdOCP3NFoCdb2dHHxQvA2r1WIP819TY3spR_wvR8VBHKqzUUWWuhxeHHpX8s8hCCdDoC_3S2UxGJEOeFw', apikeyaccess : True}
2026-10-27 14:52:46,899 - DEBUG - Payload: {'projectid': 'a6ba13f9-4aa2-4bb4-a11a-03e0c00c427a', 'command': 'listPublicIpAddresses', 'response': 'json', 'apiKey': 'D24batkRrnOAFC3fVKjxBbw9XZHEPZT_hAWDJxK3zOTkhBwPrdaVzTpFd1nzPLDqT5AHyLQANzsgIqYXrSh6Dg', 'signature': b'rwEg4W/sdwcPWN3NbHDSDS/wYek='}
2026-10-27 14:52:46,899 - DEBUG - ========Sending GET Cmd : listPublicIpAddresses=======
2026-10-27 14:52:47,004 - DEBUG - Response : None
2026-10-27 14:52:47,005 - DEBUG - User added to the project could execute the listPublicIpAddresses API despite the project role as it is the Admin
2026-10-27 14:52:47,005 - DEBUG - Payload: {'id': 'a6ba13f9-4aa2-4bb4-a11a-03e0c00c427a', 'command': 'suspendProject', 'response': 'json', 'apiKey': 'D24batkRrnOAFC3fVKjxBbw9XZHEPZT_hAWDJxK3zOTkhBwPrdaVzTpFd1nzPLDqT5AHyLQANzsgIqYXrSh6Dg', 'signature': b'RYlQ7SOPdrhf2FbkqSmQVi+eGtY='}
2026-10-27 14:52:47,005 - DEBUG - ========Sending GET Cmd : suspendProject=======
2026-10-27 14:52:47,348 - DEBUG - === Jobid: d91cdf9c-aed3-4798-b450-4f3754053801 Started ===
2026-10-27 14:52:47,348 - DEBUG - Payload: {'jobid': 'd91cdf9c-aed3-4798-b450-4f3754053801', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'D24batkRrnOAFC3fVKjxBbw9XZHEPZT_hAWDJxK3zOTkhBwPrdaVzTpFd1nzPLDqT5AHyLQANzsgIqYXrSh6Dg', 'signature': b'ZOUw+jEevkgyQC+Z9BRkFGCtJM0='}
2026-10-27 14:52:47,348 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:47,476 - DEBUG - Response : {accountid : '59277203-790f-45fa-a0cb-e7726b587905', account : 'user-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-FSC7T0', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : '4ae42ddc-844a-4c88-b58f-a321a2c6f8e7', cmd : 'org.apache.cloudstack.api.command.user.project.SuspendProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {id : 'a6ba13f9-4aa2-4bb4-a11a-03e0c00c427a', name : 'Test Project-H0XJ8Q', displaytext : 'Test project', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', owner : [{account : 'admin'}, {account : 'user-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-FSC7T0'}], projectaccountname : 'PrjAcct-Test Project-H0XJ8Q-1', state : 'Suspended', tags : [], networklimit : '20', networktotal : 0, networkavailable : '20', vpclimit : '20', vpctotal : 0, vpcavailable : '20', cpulimit : '40', cputotal : 0, cpuavailable : '40', memorylimit : '40960', memorytotal : 0, memoryavailable : '40960', gpulimit : '20', gputotal : 0, gpuavailable : '20', primarystoragelimit : '200', primarystoragetotal : 0, primarystorageavailable : '200', secondarystoragelimit : '400', secondarystoragetotal : 0.0, secondarystorageavailable : '400.0', bucketlimit : '20', buckettotal : 0, bucketavailable : '20', objectstoragelimit : '400', objectstoragetotal : 0, objectstorageavailable : '400', vmlimit : '20', vmtotal : 0, vmavailable : '20', iplimit : '20', iptotal : 0, ipavailable : '18', volumelimit : '20', volumetotal : 0, volumeavailable : '20', snapshotlimit : '20', snapshottotal : 0, snapshotavailable : '20', backuplimit : '20', backuptotal : 0, backupavailable : '20', backupstoragelimit : '400', backupstoragetotal : 0, backupstorageavailable : '400', templatelimit : '20', templatetotal : 0, templateavailable : '20', vmstopped : 0, vmrunning : 0, created : '2026-10-27T14:52:34+0000'}, created : '2026-10-27T14:52:47+0000', completed : '2026-10-27T14:52:47+0000', jobid : 'd91cdf9c-aed3-4798-b450-4f3754053801', jobstatus : 1}
2026-10-27 14:52:47,476 - DEBUG - ===Jobid:d91cdf9c-aed3-4798-b450-4f3754053801 ; StartTime:Tue Oct 27 14:52:47 2026 ; EndTime:Tue Oct 27 14:52:47 2026 ; TotalTime:0===
2026-10-27 14:52:47,476 - DEBUG - Response : {accountid : '59277203-790f-45fa-a0cb-e7726b587905', account : 'user-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-FSC7T0', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : '4ae42ddc-844a-4c88-b58f-a321a2c6f8e7', cmd : 'org.apache.cloudstack.api.command.user.project.SuspendProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {id : 'a6ba13f9-4aa2-4bb4-a11a-03e0c00c427a', name : 'Test Project-H0XJ8Q', displaytext : 'Test project', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', owner : [{account : 'admin'}, {account : 'user-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-FSC7T0'}], projectaccountname : 'PrjAcct-Test Project-H0XJ8Q-1', state : 'Suspended', tags : [], networklimit : '20', networktotal : 0, networkavailable : '20', vpclimit : '20', vpctotal : 0, vpcavailable : '20', cpulimit : '40', cputotal : 0, cpuavailable : '40', memorylimit : '40960', memorytotal : 0, memoryavailable : '40960', gpulimit : '20', gputotal : 0, gpuavailable : '20', primarystoragelimit : '200', primarystoragetotal : 0, primarystorageavailable : '200', secondarystoragelimit : '400', secondarystoragetotal : 0.0, secondarystorageavailable : '400.0', bucketlimit : '20', buckettotal : 0, bucketavailable : '20', objectstoragelimit : '400', objectstoragetotal : 0, objectstorageavailable : '400', vmlimit : '20', vmtotal : 0, vmavailable : '20', iplimit : '20', iptotal : 0, ipavailable : '18', volumelimit : '20', volumetotal : 0, volumeavailable : '20', snapshotlimit : '20', snapshottotal : 0, snapshotavailable : '20', backuplimit : '20', backuptotal : 0, backupavailable : '20', backupstoragelimit : '400', backupstoragetotal : 0, backupstorageavailable : '400', templatelimit : '20', templatetotal : 0, templateavailable : '20', vmstopped : 0, vmrunning : 0, created : '2026-10-27T14:52:34+0000'}, created : '2026-10-27T14:52:47+0000', completed : '2026-10-27T14:52:47+0000', jobid : 'd91cdf9c-aed3-4798-b450-4f3754053801', jobstatus : 1}
2026-10-27 14:52:47,476 - DEBUG - The user can perform Project administrative operations as it is added as an Admin to the project
2026-10-27 14:52:47,477 - DEBUG - Payload: {'id': 'a6ba13f9-4aa2-4bb4-a11a-03e0c00c427a', 'command': 'suspendProject', 'response': 'json', 'apiKey': 'vMzHVu8iEwEFt7r0a-wTkukX6b-Wyr5kTfVOlgN6wQn4BHM7D_Br9EFCRpVEqQa3f2CFg7E-JFigsWuhV57KDg', 'signature': b'qV2szsfdHr37wHXMEGoCx2rWqv8='}
2026-10-27 14:52:47,477 - DEBUG - ========Sending GET Cmd : suspendProject=======
2026-10-27 14:52:47,613 - DEBUG - === Jobid: 0ba7a778-f505-46c0-80c4-f8248d41f9ba Started ===
2026-10-27 14:52:47,614 - DEBUG - Payload: {'jobid': '0ba7a778-f505-46c0-80c4-f8248d41f9ba', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'vMzHVu8iEwEFt7r0a-wTkukX6b-Wyr5kTfVOlgN6wQn4BHM7D_Br9EFCRpVEqQa3f2CFg7E-JFigsWuhV57KDg', 'signature': b'MOZ/rHRSTM/sd7nlrPxuUGlcIxI='}
2026-10-27 14:52:47,614 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:47,735 - DEBUG - Response : {accountid : 'a81a4873-3e79-4f25-8249-403f4b254c12', account : 'user1-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-O93A46', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'dc1e29fa-a464-4a82-bce8-39e3876d65c3', cmd : 'org.apache.cloudstack.api.command.user.project.SuspendProjectCmd', jobprocstatus : 0, jobresultcode : 530, jobresulttype : 'object', jobresult : {errorcode : 530, errortext : 'Caller does not have permission to operate with provided resource.'}, created : '2026-10-27T14:52:48+0000', completed : '2026-10-27T14:52:48+0000', jobid : '0ba7a778-f505-46c0-80c4-f8248d41f9ba', jobstatus : 2}
2026-10-27 14:52:47,735 - ERROR - ==== __poll: Exception Occurred :Job failed: {accountid : 'a81a4873-3e79-4f25-8249-403f4b254c12', account : 'user1-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-O93A46', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'dc1e29fa-a464-4a82-bce8-39e3876d65c3', cmd : 'org.apache.cloudstack.api.command.user.project.SuspendProjectCmd', jobprocstatus : 0, jobresultcode : 530, jobresulttype : 'object', jobresult : {errorcode : 530, errortext : 'Caller does not have permission to operate with provided resource.'}, created : '2026-10-27T14:52:48+0000', completed : '2026-10-27T14:52:48+0000', jobid : '0ba7a778-f505-46c0-80c4-f8248d41f9ba', jobstatus : 2} ====
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 104, in __poll
    raise Exception("Job failed: %s"\
Exception: Job failed: {accountid : 'a81a4873-3e79-4f25-8249-403f4b254c12', account : 'user1-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-O93A46', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'dc1e29fa-a464-4a82-bce8-39e3876d65c3', cmd : 'org.apache.cloudstack.api.command.user.project.SuspendProjectCmd', jobprocstatus : 0, jobresultcode : 530, jobresulttype : 'object', jobresult : {errorcode : 530, errortext : 'Caller does not have permission to operate with provided resource.'}, created : '2026-10-27T14:52:48+0000', completed : '2026-10-27T14:52:48+0000', jobid : '0ba7a778-f505-46c0-80c4-f8248d41f9ba', jobstatus : 2}
2026-10-27 14:52:47,735 - DEBUG - Response : FAILED
2026-10-27 14:52:47,736 - ERROR - marvinRequest : CmdName: <marvin.cloudstackAPI.suspendProject.suspendProjectCmd object at 0x7ff516414af0> Exception: ['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest\n    raise self.__lastError\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 104, in __poll\n    raise Exception("Job failed: %s"\\\n', "Exception: Job failed: {accountid : 'a81a4873-3e79-4f25-8249-403f4b254c12', account : 'user1-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-O93A46', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'dc1e29fa-a464-4a82-bce8-39e3876d65c3', cmd : 'org.apache.cloudstack.api.command.user.project.SuspendProjectCmd', jobprocstatus : 0, jobresultcode : 530, jobresulttype : 'object', jobresult : {errorcode : 530, errortext : 'Caller does not have permission to operate with provided resource.'}, created : '2026-10-27T14:52:48+0000', completed : '2026-10-27T14:52:48+0000', jobid : '0ba7a778-f505-46c0-80c4-f8248d41f9ba', jobstatus : 2}\n"]
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest
    raise self.__lastError
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 104, in __poll
    raise Exception("Job failed: %s"\
Exception: Job failed: {accountid : 'a81a4873-3e79-4f25-8249-403f4b254c12', account : 'user1-TestRoleBasedUsersInProjects-test_add_multiple_admins_in_project-O93A46', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'dc1e29fa-a464-4a82-bce8-39e3876d65c3', cmd : 'org.apache.cloudstack.api.command.user.project.SuspendProjectCmd', jobprocstatus : 0, jobresultcode : 530, jobresulttype : 'object', jobresult : {errorcode : 530, errortext : 'Caller does not have permission to operate with provided resource.'}, created : '2026-10-27T14:52:48+0000', completed : '2026-10-27T14:52:48+0000', jobid : '0ba7a778-f505-46c0-80c4-f8248d41f9ba', jobstatus : 2}
2026-10-27 14:52:47,736 - DEBUG - Payload: {'cleanup': True, 'id': 'a6ba13f9-4aa2-4bb4-a11a-03e0c00c427a', 'command': 'deleteProject', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'5fW7rzIp4xJkil79tJ0yNT3hbQ8='}
2026-10-27 14:52:47,736 - DEBUG - ========Sending GET Cmd : deleteProject=======
2026-10-27 14:52:47,792 - DEBUG - === Jobid: 632fa183-a208-4238-98b6-91e3995e9e87 Started ===
2026-10-27 14:52:47,792 - DEBUG - Payload: {'jobid': '632fa183-a208-4238-98b6-91e3995e9e87', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'Ouv5OCzItexWxV6uGCMvqDRfXz4='}
2026-10-27 14:52:47,792 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:47,832 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.project.DeleteProjectCmd', jobprocstatus : 0, jobresultcode : 0, managementserverid : 'cdce5814-bb52-42f8-9ce6-85d2cdb65e27', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-27T14:52:48+0000', jobid : '632fa183-a208-4238-98b6-91e3995e9e87', jobstatus : 0}
2026-10-27 14:52:48,833 - DEBUG - === JobId:632fa183-a208-4238-98b6-91e3995e9e87 is Still Processing, Will TimeOut in:3599 ====
2026-10-27 14:52:48,834 - DEBUG - Payload: {'jobid': '632fa183-a208-4238-98b6-91e3995e9e87', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'Ouv5OCzItexWxV6uGCMvqDRfXz4='}
2026-10-27 14:52:48,834 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:48,853 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.project.DeleteProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, created : '2026-10-27T14:52:48+0000', completed : '2026-10-27T14:52:48+0000', jobid : '632fa183-a208-4238-98b6-91e3995e9e87', jobstatus : 1}
2026-10-27 14:52:48,853 - DEBUG - ===Jobid:632fa183-a208-4238-98b6-91e3995e9e87 ; StartTime:Tue Oct 27 14:52:47 2026 ; EndTime:Tue Oct 27 14:52:48 2026 ; TotalTime:-1===
2026-10-27 14:52:48,853 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.project.DeleteProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, created : '2026-10-27T14:52:48+0000', completed : '2026-10-27T14:52:48+0000', jobid : '632fa183-a208-4238-98b6-91e3995e9e87', jobstatus : 1}
2026-10-27 14:52:48,854 - DEBUG - Payload: {'id': '59277203-790f-45fa-a0cb-e7726b587905', 'command': 'deleteAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'z904riN2aHWX9vcChSOxvCstEEQ='}
2026-10-27 14:52:48,854 - DEBUG - ========Sending GET Cmd : deleteAccount=======
2026-10-27 14:52:48,896 - DEBUG - === Jobid: 7bc6ea4a-0962-4944-8398-eea215f988c6 Started ===
2026-10-27 14:52:48,896 - DEBUG - Payload: {'jobid': '7bc6ea4a-0962-4944-8398-eea215f988c6', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'DszBoGRSsCRR8bZwrp0XmmVWOlw='}
2026-10-27 14:52:48,897 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:48,925 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Account', jobinstanceid : '59277203-790f-45fa-a0cb-e7726b587905', managementserverid : 'cdce5814-bb52-42f8-9ce6-85d2cdb65e27', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-27T14:52:49+0000', jobid : '7bc6ea4a-0962-4944-8398-eea215f988c6', jobstatus : 0}
2026-10-27 14:52:49,927 - DEBUG - === JobId:7bc6ea4a-0962-4944-8398-eea215f988c6 is Still Processing, Will TimeOut in:3599 ====
2026-10-27 14:52:49,927 - DEBUG - Payload: {'jobid': '7bc6ea4a-0962-4944-8398-eea215f988c6', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'DszBoGRSsCRR8bZwrp0XmmVWOlw='}
2026-10-27 14:52:49,927 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:49,957 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Account', jobinstanceid : '59277203-790f-45fa-a0cb-e7726b587905', created : '2026-10-27T14:52:49+0000', completed : '2026-10-27T14:52:49+0000', jobid : '7bc6ea4a-0962-4944-8398-eea215f988c6', jobstatus : 1}
2026-10-27 14:52:49,957 - DEBUG - ===Jobid:7bc6ea4a-0962-4944-8398-eea215f988c6 ; StartTime:Tue Oct 27 14:52:48 2026 ; EndTime:Tue Oct 27 14:52:49 2026 ; TotalTime:-1===
2026-10-27 14:52:49,957 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Account', jobinstanceid : '59277203-790f-45fa-a0cb-e7726b587905', created : '2026-10-27T14:52:49+0000', completed : '2026-10-27T14:52:49+0000', jobid : '7bc6ea4a-0962-4944-8398-eea215f988c6', jobstatus : 1}
2026-10-27 14:52:49,958 - DEBUG - Payload: {'id': 'a81a4873-3e79-4f25-8249-403f4b254c12', 'command': 'deleteAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'jsPxcly+ylhth15XvZ3IykLevE8='}
2026-10-27 14:52:49,958 - DEBUG - ========Sending GET Cmd : deleteAccount=======
2026-10-27 14:52:49,996 - DEBUG - === Jobid: 63202fe9-e33a-4028-bbf5-16b0f115e4d8 Started ===
2026-10-27 14:52:49,996 - DEBUG - Payload: {'jobid': '63202fe9-e33a-4028-bbf5-16b0f115e4d8', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'8C8MHVvHpd6bCkfJsBrQHRJDmp0='}
2026-10-27 14:52:49,996 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:50,038 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Account', jobinstanceid : 'a81a4873-3e79-4f25-8249-403f4b254c12', managementserverid : 'cdce5814-bb52-42f8-9ce6-85d2cdb65e27', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-27T14:52:50+0000', jobid : '63202fe9-e33a-4028-bbf5-16b0f115e4d8', jobstatus : 0}
2026-10-27 14:52:51,040 - DEBUG - === JobId:63202fe9-e33a-4028-bbf5-16b0f115e4d8 is Still Processing, Will TimeOut in:3599 ====
2026-10-27 14:52:51,041 - DEBUG - Payload: {'jobid': '63202fe9-e33a-4028-bbf5-16b0f115e4d8', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'8C8MHVvHpd6bCkfJsBrQHRJDmp0='}
2026-10-27 14:52:51,041 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:51,069 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Account', jobinstanceid : 'a81a4873-3e79-4f25-8249-403f4b254c12', created : '2026-10-27T14:52:50+0000', completed : '2026-10-27T14:52:50+0000', jobid : '63202fe9-e33a-4028-bbf5-16b0f115e4d8', jobstatus : 1}
2026-10-27 14:52:51,069 - DEBUG - ===Jobid:63202fe9-e33a-4028-bbf5-16b0f115e4d8 ; StartTime:Tue Oct 27 14:52:49 2026 ; EndTime:Tue Oct 27 14:52:51 2026 ; TotalTime:-1===
2026-10-27 14:52:51,069 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Account', jobinstanceid : 'a81a4873-3e79-4f25-8249-403f4b254c12', created : '2026-10-27T14:52:50+0000', completed : '2026-10-27T14:52:50+0000', jobid : '63202fe9-e33a-4028-bbf5-16b0f115e4d8', jobstatus : 1}
2026-10-27 14:52:51,069 - DEBUG - TestCaseName: test_add_multiple_admins_in_project; Time Taken: 16 Seconds; StartTime: Tue Oct 27 14:52:34 2026; EndTime: Tue Oct 27 14:52:51 2026; Result: SUCCESS
2026-10-27 14:52:51,070 - DEBUG - ::::::::::::STARTED : TC: test_add_user_to_project_with_project_role :::::::::::
2026-10-27 14:52:51,070 - DEBUG - Payload: {'command': 'listCapabilities', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'AVSz+2elvktJpTINZka8QKi8StQ='}
2026-10-27 14:52:51,070 - DEBUG - ========Sending GET Cmd : listCapabilities=======
2026-10-27 14:52:51,114 - DEBUG - Response : {securitygroupsenabled : False, dynamicrolesenabled : True, cloudstackversion : '24.0.0-shapeblue20748', userpublictemplateenabled : True, supportELB : 'false', projectinviterequired : False, allowusercreateprojects : True, customdiskofferingminsize : 1, customdiskofferingmaxsize : 1024, regionsecondaryenabled : False, kvmsnapshotenabled : True, snapshotshowchainsize : False, allowuserviewdestroyedvm : True, allowuserexpungerecovervm : True, allowuserexpungerecovervolume : True, allowuserviewalldomainaccounts : False, allowuserforcestopvm : True, kubernetesserviceenabled : True, kubernetesclusterexperimentalfeaturesenabled : False, customhypervisordisplayname : 'Custom', defaultuipagesize : 20, instancesstatsretentiontime : 720, instancesstatsuseronly : False, instancesdisksstatsretentionenabled : False, instancesdisksstatsretentiontime : 720, sharedfsvmmincpucount : 2, sharedfsvmminramsize : 1024, instanceleaseenabled : False, extensionspath : '/usr/share/cloudstack-management/extensions', dynamicscalingenabled : True, additionalconfigenabled : True}
2026-10-27 14:52:51,115 - DEBUG - Payload: {'displaytext': 'Test project', 'name': 'Test Project-0M1OXQ', 'command': 'createProject', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'/GFSw01JJVYSwCsIKN75cgpG/Cs='}
2026-10-27 14:52:51,115 - DEBUG - ========Sending GET Cmd : createProject=======
2026-10-27 14:52:51,175 - DEBUG - === Jobid: e2588e56-adad-409b-9dd0-cedb2dfb580d Started ===
2026-10-27 14:52:51,175 - DEBUG - Payload: {'jobid': 'e2588e56-adad-409b-9dd0-cedb2dfb580d', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'JXAvhBJO1ZbLrseSryYwlTqdYPQ='}
2026-10-27 14:52:51,175 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:51,205 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.project.CreateProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'None', managementserverid : 'cdce5814-bb52-42f8-9ce6-85d2cdb65e27', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-27T14:52:51+0000', jobid : 'e2588e56-adad-409b-9dd0-cedb2dfb580d', jobstatus : 0}
2026-10-27 14:52:52,207 - DEBUG - === JobId:e2588e56-adad-409b-9dd0-cedb2dfb580d is Still Processing, Will TimeOut in:3599 ====
2026-10-27 14:52:52,208 - DEBUG - Payload: {'jobid': 'e2588e56-adad-409b-9dd0-cedb2dfb580d', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'JXAvhBJO1ZbLrseSryYwlTqdYPQ='}
2026-10-27 14:52:52,208 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:52,247 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.project.CreateProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {id : '72654276-6c63-4b7a-8afc-0a38fd6df325', name : 'Test Project-0M1OXQ', displaytext : 'Test project', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', owner : [{account : 'admin'}], projectaccountname : 'PrjAcct-Test Project-0M1OXQ-1', state : 'Active', tags : [], networklimit : '20', networktotal : 0, networkavailable : '20', vpclimit : '20', vpctotal : 0, vpcavailable : '20', cpulimit : '40', cputotal : 0, cpuavailable : '40', memorylimit : '40960', memorytotal : 0, memoryavailable : '40960', gpulimit : '20', gputotal : 0, gpuavailable : '20', primarystoragelimit : '200', primarystoragetotal : 0, primarystorageavailable : '200', secondarystoragelimit : '400', secondarystoragetotal : 0.0, secondarystorageavailable : '400.0', bucketlimit : '20', buckettotal : 0, bucketavailable : '20', objectstoragelimit : '400', objectstoragetotal : 0, objectstorageavailable : '400', vmlimit : '20', vmtotal : 0, vmavailable : '20', iplimit : '20', iptotal : 0, ipavailable : '18', volumelimit : '20', volumetotal : 0, volumeavailable : '20', snapshotlimit : '20', snapshottotal : 0, snapshotavailable : '20', backuplimit : '20', backuptotal : 0, backupavailable : '20', backupstoragelimit : '400', backupstoragetotal : 0, backupstorageavailable : '400', templatelimit : '20', templatetotal : 0, templateavailable : '20', vmstopped : 0, vmrunning : 0, created : '2026-10-27T14:52:51+0000'}, jobinstancetype : 'None', created : '2026-10-27T14:52:51+0000', completed : '2026-10-27T14:52:51+0000', jobid : 'e2588e56-adad-409b-9dd0-cedb2dfb580d', jobstatus : 1}
2026-10-27 14:52:52,247 - DEBUG - ===Jobid:e2588e56-adad-409b-9dd0-cedb2dfb580d ; StartTime:Tue Oct 27 14:52:51 2026 ; EndTime:Tue Oct 27 14:52:52 2026 ; TotalTime:-1===
2026-10-27 14:52:52,247 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.project.CreateProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {id : '72654276-6c63-4b7a-8afc-0a38fd6df325', name : 'Test Project-0M1OXQ', displaytext : 'Test project', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', owner : [{account : 'admin'}], projectaccountname : 'PrjAcct-Test Project-0M1OXQ-1', state : 'Active', tags : [], networklimit : '20', networktotal : 0, networkavailable : '20', vpclimit : '20', vpctotal : 0, vpcavailable : '20', cpulimit : '40', cputotal : 0, cpuavailable : '40', memorylimit : '40960', memorytotal : 0, memoryavailable : '40960', gpulimit : '20', gputotal : 0, gpuavailable : '20', primarystoragelimit : '200', primarystoragetotal : 0, primarystorageavailable : '200', secondarystoragelimit : '400', secondarystoragetotal : 0.0, secondarystorageavailable : '400.0', bucketlimit : '20', buckettotal : 0, bucketavailable : '20', objectstoragelimit : '400', objectstoragetotal : 0, objectstorageavailable : '400', vmlimit : '20', vmtotal : 0, vmavailable : '20', iplimit : '20', iptotal : 0, ipavailable : '18', volumelimit : '20', volumetotal : 0, volumeavailable : '20', snapshotlimit : '20', snapshottotal : 0, snapshotavailable : '20', backuplimit : '20', backuptotal : 0, backupavailable : '20', backupstoragelimit : '400', backupstoragetotal : 0, backupstorageavailable : '400', templatelimit : '20', templatetotal : 0, templateavailable : '20', vmstopped : 0, vmrunning : 0, created : '2026-10-27T14:52:51+0000'}, jobinstancetype : 'None', created : '2026-10-27T14:52:51+0000', completed : '2026-10-27T14:52:51+0000', jobid : 'e2588e56-adad-409b-9dd0-cedb2dfb580d', jobstatus : 1}
2026-10-27 14:52:52,248 - DEBUG - Payload: {'description': 'Fake project Role created by Marvin test', 'name': 'MarvinFake project Role oteleb2xof', 'projectid': '72654276-6c63-4b7a-8afc-0a38fd6df325', 'command': 'createProjectRole', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'so27V+2V+qi1isiNGCXRHSxp890='}
2026-10-27 14:52:52,248 - DEBUG - ========Sending GET Cmd : createProjectRole=======
2026-10-27 14:52:52,286 - DEBUG - Response : {projectid : '72654276-6c63-4b7a-8afc-0a38fd6df325', id : '9f7b2fe1-47e4-4988-bd1f-b51aa8329e88', name : 'MarvinFake project Role oteleb2xof', description : 'Fake project Role created by Marvin test', ispublic : True}
2026-10-27 14:52:52,287 - DEBUG - Payload: {'description': 'Fake role permission created by Marvin test', 'permission': 'deny', 'projectid': '72654276-6c63-4b7a-8afc-0a38fd6df325', 'projectroleid': '9f7b2fe1-47e4-4988-bd1f-b51aa8329e88', 'rule': 'listPublicIpAddresses', 'command': 'createProjectRolePermission', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'SpbN4crU8XVJKs8JDoxoCVvBdt8='}
2026-10-27 14:52:52,287 - DEBUG - ========Sending GET Cmd : createProjectRolePermission=======
2026-10-27 14:52:52,340 - DEBUG - Response : {id : '21af54ab-3830-41e1-937e-512e6ea38005', projectroleid : '9f7b2fe1-47e4-4988-bd1f-b51aa8329e88', projectid : '72654276-6c63-4b7a-8afc-0a38fd6df325', rule : 'listPublicIpAddresses', permission : 'deny', description : 'Fake role permission created by Marvin test'}
2026-10-27 14:52:52,341 - DEBUG - Payload: {'accounttype': 0, 'email': 'user@test.com', 'firstname': 'User', 'lastname': 'User', 'password': 'password', 'roleid': 4, 'username': 'user-TestRoleBasedUsersInProjects-test_add_user_to_project_with_project_role-6G35F2', 'command': 'createAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'1jembTTU7iOHey4e4hhTT8cljTs='}
2026-10-27 14:52:52,341 - DEBUG - ========Sending GET Cmd : createAccount=======
2026-10-27 14:52:55,114 - DEBUG - Response : {id : 'df948bab-cfd1-4004-9a7e-8f5a5913fe7f', name : 'user-TestRoleBasedUsersInProjects-test_add_user_to_project_with_project_role-6G35F2', accounttype : 0, roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', domainpath : 'ROOT', vmlimit : '20', vmtotal : 0, vmavailable : '20', iplimit : '20', iptotal : 0, ipavailable : '18', volumelimit : '20', volumetotal : 0, volumeavailable : '20', snapshotlimit : '20', snapshottotal : 0, snapshotavailable : '20', backuplimit : '20', backuptotal : 0, backupavailable : '20', backupstoragelimit : '400', backupstoragetotal : 0, backupstorageavailable : '400', templatelimit : '20', templatetotal : 0, templateavailable : '20', vmstopped : 0, vmrunning : 0, projectlimit : '10', projecttotal : 0, projectavailable : '10', networklimit : '20', networktotal : 0, networkavailable : '20', vpclimit : '20', vpctotal : 0, vpcavailable : '20', cpulimit : '40', cputotal : 0, cpuavailable : '40', memorylimit : '40960', memorytotal : 0, memoryavailable : '40960', gpulimit : '20', gputotal : 0, gpuavailable : '20', primarystoragelimit : '200', primarystoragetotal : 0, primarystorageavailable : '200', secondarystoragelimit : '400', secondarystoragetotal : 0.0, secondarystorageavailable : '400.0', bucketlimit : '20', buckettotal : 0, bucketavailable : '20', objectstoragelimit : '400', objectstoragetotal : 0, objectstorageavailable : '400', state : 'enabled', created : '2026-10-27T14:52:55+0000', user : [{id : '62e3dcbe-6b63-4e1b-abc7-172915630c4a', username : 'user-TestRoleBasedUsersInProjects-test_add_user_to_project_with_project_role-6G35F2', firstname : 'User', lastname : 'User', email : 'user@test.com', created : '2026-10-27T14:52:55+0000', state : 'enabled', account : 'user-TestRoleBasedUsersInProjects-test_add_user_to_project_with_project_role-6G35F2', accounttype : 0, usersource : 'native', roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', accountid : 'df948bab-cfd1-4004-9a7e-8f5a5913fe7f', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : False}], isdefault : False, groups : [], apikeyaccess : 'INHERIT'}
2026-10-27 14:52:55,114 - DEBUG - Payload: {'projectid': '72654276-6c63-4b7a-8afc-0a38fd6df325', 'projectroleid': '9f7b2fe1-47e4-4988-bd1f-b51aa8329e88', 'username': 'user-TestRoleBasedUsersInProjects-test_add_user_to_project_with_project_role-6G35F2', 'command': 'addUserToProject', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'uQlpu341dfQHZH3uyR49qH9MLvk='}
2026-10-27 14:52:55,115 - DEBUG - ========Sending GET Cmd : addUserToProject=======
2026-10-27 14:52:55,143 - DEBUG - === Jobid: 3ecbcca0-7a9f-4b94-b003-0123e78c3cf1 Started ===
2026-10-27 14:52:55,144 - DEBUG - Payload: {'jobid': '3ecbcca0-7a9f-4b94-b003-0123e78c3cf1', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'wnpuFGpgT7n7iR2FD4yL4fG57cA='}
2026-10-27 14:52:55,144 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:55,176 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.account.AddUserToProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Project', managementserverid : 'cdce5814-bb52-42f8-9ce6-85d2cdb65e27', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-27T14:52:55+0000', jobid : '3ecbcca0-7a9f-4b94-b003-0123e78c3cf1', jobstatus : 0}
2026-10-27 14:52:56,178 - DEBUG - === JobId:3ecbcca0-7a9f-4b94-b003-0123e78c3cf1 is Still Processing, Will TimeOut in:3599 ====
2026-10-27 14:52:56,179 - DEBUG - Payload: {'jobid': '3ecbcca0-7a9f-4b94-b003-0123e78c3cf1', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'wnpuFGpgT7n7iR2FD4yL4fG57cA='}
2026-10-27 14:52:56,179 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:56,205 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.account.AddUserToProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Project', created : '2026-10-27T14:52:55+0000', completed : '2026-10-27T14:52:55+0000', jobid : '3ecbcca0-7a9f-4b94-b003-0123e78c3cf1', jobstatus : 1}
2026-10-27 14:52:56,205 - DEBUG - ===Jobid:3ecbcca0-7a9f-4b94-b003-0123e78c3cf1 ; StartTime:Tue Oct 27 14:52:55 2026 ; EndTime:Tue Oct 27 14:52:56 2026 ; TotalTime:-1===
2026-10-27 14:52:56,206 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.account.AddUserToProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Project', created : '2026-10-27T14:52:55+0000', completed : '2026-10-27T14:52:55+0000', jobid : '3ecbcca0-7a9f-4b94-b003-0123e78c3cf1', jobstatus : 1}
2026-10-27 14:52:56,206 - DEBUG - Payload: {'projectid': '72654276-6c63-4b7a-8afc-0a38fd6df325', 'command': 'listProjectAccounts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'g3KKdoIWKeE+DR1znk+i2GOzTtk='}
2026-10-27 14:52:56,206 - DEBUG - ========Sending GET Cmd : listProjectAccounts=======
2026-10-27 14:52:56,233 - DEBUG - Response : [{projectid : '72654276-6c63-4b7a-8afc-0a38fd6df325', project : 'Test Project-0M1OXQ', accountid : 'df948bab-cfd1-4004-9a7e-8f5a5913fe7f', account : 'user-TestRoleBasedUsersInProjects-test_add_user_to_project_with_project_role-6G35F2', username : 'user-TestRoleBasedUsersInProjects-test_add_user_to_project_with_project_role-6G35F2', accounttype : 0, userid : '62e3dcbe-6b63-4e1b-abc7-172915630c4a', projectroleid : '9f7b2fe1-47e4-4988-bd1f-b51aa8329e88', role : 'Regular', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', domainpath : 'ROOT', user : [{id : '62e3dcbe-6b63-4e1b-abc7-172915630c4a', username : 'user-TestRoleBasedUsersInProjects-test_add_user_to_project_with_project_role-6G35F2', firstname : 'User', lastname : 'User', email : 'user@test.com', created : '2026-10-27T14:52:55+0000', state : 'enabled', account : 'user-TestRoleBasedUsersInProjects-test_add_user_to_project_with_project_role-6G35F2', accounttype : 0, usersource : 'native', roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', accountid : 'df948bab-cfd1-4004-9a7e-8f5a5913fe7f', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : False}]}, {projectid : '72654276-6c63-4b7a-8afc-0a38fd6df325', project : 'Test Project-0M1OXQ', accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', accounttype : 1, role : 'Admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', domainpath : 'ROOT', user : [{id : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', username : 'admin', firstname : 'admin', lastname : 'cloud', created : '2026-10-27T12:05:51+0000', state : 'enabled', account : 'admin', accounttype : 1, usersource : 'native', roleid : '87d83eed-d1fe-11f1-81aa-1e0044000301', roletype : 'Admin', rolename : 'Root Admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', apikey : 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', iscallerchilddomain : False, isdefault : True, is2faenabled : False, is2famandated : False}]}]
2026-10-27 14:52:56,233 - DEBUG - Payload: {'name': 'ROOT', 'command': 'listDomains', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'FUkLFPJq0p6AOaVYSkY//WIQFBk='}
2026-10-27 14:52:56,233 - DEBUG - ========Sending GET Cmd : listDomains=======
2026-10-27 14:52:56,259 - DEBUG - Response : [{id : '54e5326a-d1fe-11f1-81aa-1e0044000301', name : 'ROOT', level : 0, haschild : False, path : 'ROOT', state : 'Active', vmlimit : 'Unlimited', vmtotal : 0, vmavailable : 'Unlimited', iplimit : 'Unlimited', iptotal : 0, ipavailable : 'Unlimited', volumelimit : 'Unlimited', volumetotal : 2, volumeavailable : 'Unlimited', snapshotlimit : 'Unlimited', snapshottotal : 0, snapshotavailable : 'Unlimited', backuplimit : 'Unlimited', backuptotal : 0, backupavailable : 'Unlimited', backupstoragelimit : 'Unlimited', backupstoragetotal : 0, backupstorageavailable : 'Unlimited', templatelimit : 'Unlimited', templatetotal : 13, templateavailable : 'Unlimited', projectlimit : 'Unlimited', projecttotal : 1, projectavailable : 'Unlimited', networklimit : 'Unlimited', networktotal : 0, networkavailable : 'Unlimited', vpclimit : 'Unlimited', vpctotal : 0, vpcavailable : 'Unlimited', cpulimit : 'Unlimited', cputotal : 0, cpuavailable : 'Unlimited', memorylimit : 'Unlimited', memorytotal : 0, memoryavailable : 'Unlimited', gpulimit : 'Unlimited', gputotal : 0, gpuavailable : 'Unlimited', primarystoragelimit : 'Unlimited', primarystoragetotal : 9, primarystorageavailable : 'Unlimited', secondarystoragelimit : 'Unlimited', secondarystoragetotal : 13.067401, secondarystorageavailable : 'Unlimited', bucketlimit : 'Unlimited', buckettotal : 0, bucketavailable : 'Unlimited', objectstoragelimit : 'Unlimited', objectstoragetotal : 0, objectstorageavailable : 'Unlimited', domaindetails : {vmsnapshot.expire.interval : '19'}, hasannotations : False}]
2026-10-27 14:52:56,260 - DEBUG - Payload: {'listall': True, 'name': 'ROOT', 'command': 'listDomains', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'MTo4M/OsRVaY9H/KZqvgm9hNmEQ='}
2026-10-27 14:52:56,260 - DEBUG - ========Sending GET Cmd : listDomains=======
2026-10-27 14:52:56,284 - DEBUG - Response : [{id : '54e5326a-d1fe-11f1-81aa-1e0044000301', name : 'ROOT', level : 0, haschild : False, path : 'ROOT', state : 'Active', vmlimit : 'Unlimited', vmtotal : 0, vmavailable : 'Unlimited', iplimit : 'Unlimited', iptotal : 0, ipavailable : 'Unlimited', volumelimit : 'Unlimited', volumetotal : 2, volumeavailable : 'Unlimited', snapshotlimit : 'Unlimited', snapshottotal : 0, snapshotavailable : 'Unlimited', backuplimit : 'Unlimited', backuptotal : 0, backupavailable : 'Unlimited', backupstoragelimit : 'Unlimited', backupstoragetotal : 0, backupstorageavailable : 'Unlimited', templatelimit : 'Unlimited', templatetotal : 13, templateavailable : 'Unlimited', projectlimit : 'Unlimited', projecttotal : 1, projectavailable : 'Unlimited', networklimit : 'Unlimited', networktotal : 0, networkavailable : 'Unlimited', vpclimit : 'Unlimited', vpctotal : 0, vpcavailable : 'Unlimited', cpulimit : 'Unlimited', cputotal : 0, cpuavailable : 'Unlimited', memorylimit : 'Unlimited', memorytotal : 0, memoryavailable : 'Unlimited', gpulimit : 'Unlimited', gputotal : 0, gpuavailable : 'Unlimited', primarystoragelimit : 'Unlimited', primarystoragetotal : 9, primarystorageavailable : 'Unlimited', secondarystoragelimit : 'Unlimited', secondarystoragetotal : 13.067401, secondarystorageavailable : 'Unlimited', bucketlimit : 'Unlimited', buckettotal : 0, bucketavailable : 'Unlimited', objectstoragelimit : 'Unlimited', objectstoragetotal : 0, objectstorageavailable : 'Unlimited', domaindetails : {vmsnapshot.expire.interval : '19'}, hasannotations : False}]
2026-10-27 14:52:56,284 - DEBUG - Payload: {'domainid': '54e5326a-d1fe-11f1-81aa-1e0044000301', 'listall': True, 'name': 'user-TestRoleBasedUsersInProjects-test_add_user_to_project_with_project_role-6G35F2', 'command': 'listAccounts', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'48SbZl1hMAbbtVGsldPu6n9YMTU='}
2026-10-27 14:52:56,284 - DEBUG - ========Sending GET Cmd : listAccounts=======
2026-10-27 14:52:56,323 - DEBUG - Response : [{id : 'df948bab-cfd1-4004-9a7e-8f5a5913fe7f', name : 'user-TestRoleBasedUsersInProjects-test_add_user_to_project_with_project_role-6G35F2', accounttype : 0, roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', domainpath : 'ROOT', vmlimit : '20', vmtotal : 0, vmavailable : '20', iplimit : '20', iptotal : 0, ipavailable : '18', volumelimit : '20', volumetotal : 0, volumeavailable : '20', snapshotlimit : '20', snapshottotal : 0, snapshotavailable : '20', backuplimit : '20', backuptotal : 0, backupavailable : '20', backupstoragelimit : '400', backupstoragetotal : 0, backupstorageavailable : '400', templatelimit : '20', templatetotal : 0, templateavailable : '20', vmstopped : 0, vmrunning : 0, projectlimit : '10', projecttotal : 0, projectavailable : '10', networklimit : '20', networktotal : 0, networkavailable : '20', vpclimit : '20', vpctotal : 0, vpcavailable : '20', cpulimit : '40', cputotal : 0, cpuavailable : '40', memorylimit : '40960', memorytotal : 0, memoryavailable : '40960', gpulimit : '20', gputotal : 0, gpuavailable : '20', primarystoragelimit : '200', primarystoragetotal : 0, primarystorageavailable : '200', secondarystoragelimit : '400', secondarystoragetotal : 0.0, secondarystorageavailable : '400.0', bucketlimit : '20', buckettotal : 0, bucketavailable : '20', objectstoragelimit : '400', objectstoragetotal : 0, objectstorageavailable : '400', state : 'enabled', created : '2026-10-27T14:52:55+0000', user : [{id : '62e3dcbe-6b63-4e1b-abc7-172915630c4a', username : 'user-TestRoleBasedUsersInProjects-test_add_user_to_project_with_project_role-6G35F2', firstname : 'User', lastname : 'User', email : 'user@test.com', created : '2026-10-27T14:52:55+0000', state : 'enabled', account : 'user-TestRoleBasedUsersInProjects-test_add_user_to_project_with_project_role-6G35F2', accounttype : 0, usersource : 'native', roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', accountid : 'df948bab-cfd1-4004-9a7e-8f5a5913fe7f', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : False}], isdefault : False, groups : [], apikeyaccess : 'INHERIT'}]
2026-10-27 14:52:56,323 - DEBUG - Payload: {'domainid': '54e5326a-d1fe-11f1-81aa-1e0044000301', 'listall': True, 'username': 'user-TestRoleBasedUsersInProjects-test_add_user_to_project_with_project_role-6G35F2', 'command': 'listUsers', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'CJKxDMkHEenUt+fHWNV/vVkOg4E='}
2026-10-27 14:52:56,323 - DEBUG - ========Sending GET Cmd : listUsers=======
2026-10-27 14:52:56,343 - DEBUG - Response : [{id : '62e3dcbe-6b63-4e1b-abc7-172915630c4a', username : 'user-TestRoleBasedUsersInProjects-test_add_user_to_project_with_project_role-6G35F2', firstname : 'User', lastname : 'User', email : 'user@test.com', created : '2026-10-27T14:52:55+0000', state : 'enabled', account : 'user-TestRoleBasedUsersInProjects-test_add_user_to_project_with_project_role-6G35F2', accounttype : 0, usersource : 'native', roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', accountid : 'df948bab-cfd1-4004-9a7e-8f5a5913fe7f', iscallerchilddomain : False, isdefault : False, is2faenabled : False, is2famandated : False, apikeyaccess : 'INHERIT'}]
2026-10-27 14:52:56,344 - DEBUG - Payload: {'id': '62e3dcbe-6b63-4e1b-abc7-172915630c4a', 'command': 'getUserKeys', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'ALL2YBdlsiJXJmQb/ujARePzhK8='}
2026-10-27 14:52:56,344 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-27 14:52:56,359 - DEBUG - Response : {apikeyaccess : True}
2026-10-27 14:52:56,359 - ERROR - __createApiClient: API Client Creation Failed
2026-10-27 14:52:56,360 - DEBUG - Payload: {'id': '62e3dcbe-6b63-4e1b-abc7-172915630c4a', 'name': 'keypair-62e3dcbe-6b63-4e1b-abc7-172915630c4a', 'command': 'registerUserKeys', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'BhKcO+evaYy7L1GVdGfJnFeOl3I='}
2026-10-27 14:52:56,360 - DEBUG - ========Sending GET Cmd : registerUserKeys=======
2026-10-27 14:52:57,383 - DEBUG - Response : {name : 'keypair-62e3dcbe-6b63-4e1b-abc7-172915630c4a', apikey : 'JrjIjc9f-k3eCgotZKnE0fg8dKXvF1VISFaDNKk1DIpTxTsACU7NqxcZV6YfMNDK6agwcXQWb6VI9y0AP-s9yg', secretkey : 'ftcSuyGj-dUc0bsSNkzqUuesRlm9O90Lb56r481mlj2o95RUTjePhEyxCtQVw1m5QIkI_CGZh6XBns1IeuTcRQ', userid : '62e3dcbe-6b63-4e1b-abc7-172915630c4a', username : 'user-TestRoleBasedUsersInProjects-test_add_user_to_project_with_project_role-6G35F2', id : 'abb8ea8c-a9d7-4c14-9dd2-deaf71577e0b', created : '2026-10-27T14:52:57+0000', accounttype : 'NORMAL', accountid : 'df948bab-cfd1-4004-9a7e-8f5a5913fe7f', accountname : 'user-TestRoleBasedUsersInProjects-test_add_user_to_project_with_project_role-6G35F2', roleid : '87d88f8c-d1fe-11f1-81aa-1e0044000301', roletype : 'User', rolename : 'User', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domain : 'ROOT', domainpath : 'ROOT', state : 'ENABLED'}
2026-10-27 14:52:57,384 - DEBUG - Payload: {'id': '62e3dcbe-6b63-4e1b-abc7-172915630c4a', 'command': 'getUserKeys', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'ALL2YBdlsiJXJmQb/ujARePzhK8='}
2026-10-27 14:52:57,384 - DEBUG - ========Sending GET Cmd : getUserKeys=======
2026-10-27 14:52:57,695 - DEBUG - Response : {apikey : 'JrjIjc9f-k3eCgotZKnE0fg8dKXvF1VISFaDNKk1DIpTxTsACU7NqxcZV6YfMNDK6agwcXQWb6VI9y0AP-s9yg', secretkey : 'ftcSuyGj-dUc0bsSNkzqUuesRlm9O90Lb56r481mlj2o95RUTjePhEyxCtQVw1m5QIkI_CGZh6XBns1IeuTcRQ', apikeyaccess : True}
2026-10-27 14:52:57,696 - DEBUG - Payload: {'projectid': '72654276-6c63-4b7a-8afc-0a38fd6df325', 'command': 'listPublicIpAddresses', 'response': 'json', 'apiKey': 'JrjIjc9f-k3eCgotZKnE0fg8dKXvF1VISFaDNKk1DIpTxTsACU7NqxcZV6YfMNDK6agwcXQWb6VI9y0AP-s9yg', 'signature': b'+WlF7uJ8i8ukSe+0G/e8L2+hycc='}
2026-10-27 14:52:57,696 - DEBUG - ========Sending GET Cmd : listPublicIpAddresses=======
2026-10-27 14:52:57,709 - ERROR - Exception:['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', "marvin.cloudstackException.CloudstackAPIException: Execute cmd: listpublicipaddresses failed, due to: errorCode: 401, errorText:The given command 'listPublicIpAddresses' either does not exist, is not available for user.\n"]
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: listpublicipaddresses failed, due to: errorCode: 401, errorText:The given command 'listPublicIpAddresses' either does not exist, is not available for user.
2026-10-27 14:52:57,709 - ERROR - marvinRequest : CmdName: <marvin.cloudstackAPI.listPublicIpAddresses.listPublicIpAddressesCmd object at 0x7ff51640c040> Exception: ['Traceback (most recent call last):\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest\n    raise self.__lastError\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse\n    ret = jsonHelper.getResultObj(\n', '  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj\n    raise cloudstackException.CloudstackAPIException(respname, errMsg)\n', "marvin.cloudstackException.CloudstackAPIException: Execute cmd: listpublicipaddresses failed, due to: errorCode: 401, errorText:The given command 'listPublicIpAddresses' either does not exist, is not available for user.\n"]
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 377, in marvinRequest
    raise self.__lastError
  File "/usr/local/lib/python3.9/site-packages/marvin/cloudstackConnection.py", line 309, in __parseAndGetResponse
    ret = jsonHelper.getResultObj(
  File "/usr/local/lib/python3.9/site-packages/marvin/jsonHelper.py", line 155, in getResultObj
    raise cloudstackException.CloudstackAPIException(respname, errMsg)
marvin.cloudstackException.CloudstackAPIException: Execute cmd: listpublicipaddresses failed, due to: errorCode: 401, errorText:The given command 'listPublicIpAddresses' either does not exist, is not available for user.
2026-10-27 14:52:57,709 - DEBUG - Payload: {'cleanup': True, 'id': '72654276-6c63-4b7a-8afc-0a38fd6df325', 'command': 'deleteProject', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'mf5xJXetFwSNjNpJcK3bFDPM/vs='}
2026-10-27 14:52:57,710 - DEBUG - ========Sending GET Cmd : deleteProject=======
2026-10-27 14:52:57,746 - DEBUG - === Jobid: 8d222ef2-1ea3-4f04-bff7-9fe7d51f3813 Started ===
2026-10-27 14:52:57,746 - DEBUG - Payload: {'jobid': '8d222ef2-1ea3-4f04-bff7-9fe7d51f3813', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'7sq1CReX+uOcvTTQJ8eoPEv3jRw='}
2026-10-27 14:52:57,746 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:57,768 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.project.DeleteProjectCmd', jobprocstatus : 0, jobresultcode : 0, managementserverid : 'cdce5814-bb52-42f8-9ce6-85d2cdb65e27', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-27T14:52:58+0000', jobid : '8d222ef2-1ea3-4f04-bff7-9fe7d51f3813', jobstatus : 0}
2026-10-27 14:52:58,770 - DEBUG - === JobId:8d222ef2-1ea3-4f04-bff7-9fe7d51f3813 is Still Processing, Will TimeOut in:3599 ====
2026-10-27 14:52:58,771 - DEBUG - Payload: {'jobid': '8d222ef2-1ea3-4f04-bff7-9fe7d51f3813', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'7sq1CReX+uOcvTTQJ8eoPEv3jRw='}
2026-10-27 14:52:58,771 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:58,795 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.project.DeleteProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, created : '2026-10-27T14:52:58+0000', completed : '2026-10-27T14:52:58+0000', jobid : '8d222ef2-1ea3-4f04-bff7-9fe7d51f3813', jobstatus : 1}
2026-10-27 14:52:58,796 - DEBUG - ===Jobid:8d222ef2-1ea3-4f04-bff7-9fe7d51f3813 ; StartTime:Tue Oct 27 14:52:57 2026 ; EndTime:Tue Oct 27 14:52:58 2026 ; TotalTime:-1===
2026-10-27 14:52:58,796 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.user.project.DeleteProjectCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, created : '2026-10-27T14:52:58+0000', completed : '2026-10-27T14:52:58+0000', jobid : '8d222ef2-1ea3-4f04-bff7-9fe7d51f3813', jobstatus : 1}
2026-10-27 14:52:58,796 - DEBUG - Payload: {'id': 'df948bab-cfd1-4004-9a7e-8f5a5913fe7f', 'command': 'deleteAccount', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'x3M61ImwN8nHjF6fU7fURoE2sN8='}
2026-10-27 14:52:58,797 - DEBUG - ========Sending GET Cmd : deleteAccount=======
2026-10-27 14:52:58,826 - DEBUG - === Jobid: f39a00ed-6f25-4c80-83be-8e41b2200418 Started ===
2026-10-27 14:52:58,826 - DEBUG - Payload: {'jobid': 'f39a00ed-6f25-4c80-83be-8e41b2200418', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'LQH+LQQm8m86fCV+L8b6iN0L3XE='}
2026-10-27 14:52:58,826 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:58,854 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobinstancetype : 'Account', jobinstanceid : 'df948bab-cfd1-4004-9a7e-8f5a5913fe7f', managementserverid : 'cdce5814-bb52-42f8-9ce6-85d2cdb65e27', managementservername : 'pr14320-n151-kvm-ubuntu26-mgmt1.sofia.shapeblue.com', created : '2026-10-27T14:52:59+0000', jobid : 'f39a00ed-6f25-4c80-83be-8e41b2200418', jobstatus : 0}
2026-10-27 14:52:59,856 - DEBUG - === JobId:f39a00ed-6f25-4c80-83be-8e41b2200418 is Still Processing, Will TimeOut in:3599 ====
2026-10-27 14:52:59,856 - DEBUG - Payload: {'jobid': 'f39a00ed-6f25-4c80-83be-8e41b2200418', 'command': 'queryAsyncJobResult', 'response': 'json', 'apiKey': 'LIN6rqXuaJwMPfGYFh13qDwYz5VNNz1J2J6qIOWcd3oLQOq0WtD4CwRundBL6rzXToa3lQOC_vKjI3nkHtiD8Q', 'signature': b'LQH+LQQm8m86fCV+L8b6iN0L3XE='}
2026-10-27 14:52:59,856 - DEBUG - ========Sending GET Cmd : queryAsyncJobResult=======
2026-10-27 14:52:59,882 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Account', jobinstanceid : 'df948bab-cfd1-4004-9a7e-8f5a5913fe7f', created : '2026-10-27T14:52:59+0000', completed : '2026-10-27T14:52:59+0000', jobid : 'f39a00ed-6f25-4c80-83be-8e41b2200418', jobstatus : 1}
2026-10-27 14:52:59,882 - DEBUG - ===Jobid:f39a00ed-6f25-4c80-83be-8e41b2200418 ; StartTime:Tue Oct 27 14:52:58 2026 ; EndTime:Tue Oct 27 14:52:59 2026 ; TotalTime:-1===
2026-10-27 14:52:59,882 - DEBUG - Response : {accountid : 'c1154605-d1fe-11f1-81aa-1e0044000301', account : 'admin', domainid : '54e5326a-d1fe-11f1-81aa-1e0044000301', domainpath : 'ROOT', userid : 'c1166b9d-d1fe-11f1-81aa-1e0044000301', cmd : 'org.apache.cloudstack.api.command.admin.account.DeleteAccountCmd', jobprocstatus : 0, jobresultcode : 0, jobresulttype : 'object', jobresult : {success : True}, jobinstancetype : 'Account', jobinstanceid : 'df948bab-cfd1-4004-9a7e-8f5a5913fe7f', created : '2026-10-27T14:52:59+0000', completed : '2026-10-27T14:52:59+0000', jobid : 'f39a00ed-6f25-4c80-83be-8e41b2200418', jobstatus : 1}
2026-10-27 14:52:59,882 - DEBUG - TestCaseName: test_add_user_to_project_with_project_role; Time Taken: 8 Seconds; StartTime: Tue Oct 27 14:52:51 2026; EndTime: Tue Oct 27 14:52:59 2026; Result: SUCCESS
2026-10-27 14:52:59,882 - DEBUG - Cleaning up the resources
