2025-11-12 18:16:58,195 - DEBUG - [10.0.0.33]: Running cmd : hostname 2025-11-12 18:16:58,390 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-4707-1 2025-11-12 18:16:58,390 - DEBUG - [10.0.0.33]: Running cmd : hostname -f 2025-11-12 18:16:58,450 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-4707-1. 2025-11-12 18:16:58,450 - DEBUG - [10.0.0.33]: Running cmd : docker ps 2>/dev/null | grep -v "/pause\|/usr/bin/pod\|nova_api_\|contrail.*init\|init.*contrail\|provisioner\|placement" | awk '{print $NF}' 2025-11-12 18:16:58,561 - DEBUG - Output : NAMES contrail_test_H0UME3DQn vrouter_vrouter-agent_1 vrouter_nodemgr_1 rsyslogd_rsyslogd_1 analytics_snmp_snmp-collector_1 analytics_snmp_nodemgr_1 analytics_snmp_topology_1 analytics_alarm_nodemgr_1 analytics_alarm_alarm-gen_1 analytics_alarm_kafka_1 analytics_collector_1 analytics_api_1 analytics_nodemgr_1 analytics_database_query-engine_1 analytics_database_nodemgr_1 analytics_database_cassandra_1 control_named_1 control_control_1 control_nodemgr_1 control_dns_1 webui_job_1 webui_web_1 config_devicemgr_1 config_nodemgr_1 config_dnsmasq_1 config_svcmonitor_1 config_api_1 config_schema_1 config_database_nodemgr_1 config_database_rabbitmq_1 config_database_cassandra_1 config_database_zookeeper_1 redis_redis_1 barbican_worker barbican_keystone_listener barbican_api horizon heat_engine heat_api_cfn heat_api neutron_server nova_compute nova_libvirt nova_ssh nova_novncproxy nova_conductor nova_api nova_scheduler glance_api keystone keystone_fernet keystone_ssh rabbitmq memcached mariadb cron kolla_toolbox fluentd 2025-11-12 18:16:58,562 - DEBUG - [10.0.0.33]: Running cmd : getent hosts 10.0.0.33 | head -n 1 | awk '{print $2}' 2025-11-12 18:16:58,621 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-4707-1. 2025-11-12 18:16:58,621 - DEBUG - [10.0.0.33]: Running cmd : ip -4 -o addr show | awk '{print $4}' 2025-11-12 18:16:58,685 - DEBUG - Output : 127.0.0.1/8 10.0.0.33/24 172.17.0.1/16 10.20.0.254/24 2025-11-12 18:16:58,685 - DEBUG - [10.0.0.33]: Running cmd : ip -4 -o addr show dev vhost0 | awk '{print $4}' 2025-11-12 18:16:58,750 - DEBUG - Output : 10.20.0.254/24 2025-11-12 18:16:58,750 - DEBUG - [10.0.0.33]: Running cmd : getent hosts 10.20.0.254 | head -n 1 | awk '{print $2}' 2025-11-12 18:16:58,814 - DEBUG - Output : cn-jenkins-deploy-platform-ansible-os-4707-1-test 2025-11-12 18:16:59,638 - DEBUG - Not creating keypair since it exists 2025-11-12 18:16:59,696 - INFO - Domain Default found not creating 2025-11-12 18:17:00,210 - INFO - Project ctest-TestRbac-19751882 not found, creating it 2025-11-12 18:17:00,683 - INFO - Created Project:ctest-TestRbac-19751882, ID : d0ec078a-2c9d-4243-b48b-0b0dc2584df2 2025-11-12 18:17:02,198 - DEBUG - [10.0.0.33]: Running cmd : docker exec --privileged -it analytics_api_1 /bin/bash -c 'crudini --get /etc/contrail/contrail-analytics-api.conf DEFAULTS aaa_mode' 2025-11-12 18:17:02,336 - DEBUG - Output : rbac 2025-11-12 18:17:04,495 - INFO - ================================================================================ 2025-11-12 18:17:04,496 - INFO - STARTING TEST : test_perms2_global_share 2025-11-12 18:17:04,496 - INFO - TEST DESCRIPTION : Test perms2 global shared property of an object steps: 1. Add user1 as role1 in project1 and project2 2. Add *.* role1:CRUD to domain acl 3. Create a Shared virtual-network in project1 4. Verify global shared flag is set on VN's perms2 4. Using shared VN try to launch a VM in project2 2025-11-12 18:17:04,627 - DEBUG - Skipping xmpp flap check 2025-11-12 18:17:04,627 - DEBUG - Requesting: http://10.0.0.33:8082/aaa-mode 2025-11-12 18:17:04,953 - DEBUG - Requesting: http://10.0.0.33:8082/aaa-mode 2025-11-12 18:17:04,979 - INFO - Initial checks done. Running the testcase now 2025-11-12 18:17:04,979 - INFO - 2025-11-12 18:17:05,352 - INFO - Project ctest-TestRbac-82996095 not found, creating it 2025-11-12 18:17:05,813 - INFO - Created Project:ctest-TestRbac-82996095, ID : 083543db-85ae-4581-b171-9a36d6aefdc4 2025-11-12 18:17:06,208 - INFO - Project ctest-TestRbac-70679904 not found, creating it 2025-11-12 18:17:06,683 - INFO - Created Project:ctest-TestRbac-70679904, ID : f582a0e9-bd0c-4ae6-9f05-c9500d1ac0a5 2025-11-12 18:17:08,594 - DEBUG - Requesting: http://10.0.0.33:8082/api-access-list/1482aaf1-3b51-40a3-927e-f404cdb30e7a 2025-11-12 18:17:08,979 - DEBUG - Requesting: http://10.0.0.33:8082/api-access-list/1482aaf1-3b51-40a3-927e-f404cdb30e7a 2025-11-12 18:17:09,007 - DEBUG - API access-list (1482aaf1-3b51-40a3-927e-f404cdb30e7a) found in api server 2025-11-12 18:17:09,007 - INFO - API access-list 1482aaf1-3b51-40a3-927e-f404cdb30e7a verify on api server passed 2025-11-12 18:17:09,606 - INFO - Created VN ctest-TestRbac-82996095-90200616, UUID :5e27bd18-5da9-45db-b53c-548603fc29aa 2025-11-12 18:17:09,983 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5e27bd18-5da9-45db-b53c-548603fc29aa 2025-11-12 18:17:10,306 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5e27bd18-5da9-45db-b53c-548603fc29aa 2025-11-12 18:17:10,349 - INFO - API Server: Read VN 5e27bd18-5da9-45db-b53c-548603fc29aa 2025-11-12 18:17:10,349 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5e27bd18-5da9-45db-b53c-548603fc29aa 2025-11-12 18:17:10,669 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/5e27bd18-5da9-45db-b53c-548603fc29aa 2025-11-12 18:17:10,718 - INFO - API Server: Read VN 5e27bd18-5da9-45db-b53c-548603fc29aa 2025-11-12 18:17:10,718 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestRbac-82996095:ctest-TestRbac-82996095-90200616?flat 2025-11-12 18:17:11,039 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestRbac-82996095:ctest-TestRbac-82996095-90200616?flat 2025-11-12 18:17:11,553 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-12 18:17:11,668 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestRbac-82996095:ctest-TestRbac-82996095-90200616?flat 2025-11-12 18:17:11,986 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestRbac-82996095:ctest-TestRbac-82996095-90200616?flat 2025-11-12 18:17:12,163 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2025-11-12 18:17:13,067 - WARNING - Unable to get the list of compute nodes 2025-11-12 18:17:13,163 - INFO - Deleting VN ctest-TestRbac-82996095-90200616 2025-11-12 18:17:13,326 - DEBUG - Requesting: http://10.0.0.33:8082/api-access-list/1482aaf1-3b51-40a3-927e-f404cdb30e7a 2025-11-12 18:17:13,330 - DEBUG - Response Code: 404 2025-11-12 18:17:13,330 - INFO - API access-list (1482aaf1-3b51-40a3-927e-f404cdb30e7a) got deleted in api server 2025-11-12 18:17:14,925 - INFO - Deleted project: ctest-TestRbac-70679904, ID : f582a0e9-bd0c-4ae6-9f05-c9500d1ac0a5 2025-11-12 18:17:15,596 - INFO - Deleted project: ctest-TestRbac-82996095, ID : 083543db-85ae-4581-b171-9a36d6aefdc4 2025-11-12 18:17:15,719 - ERROR - Forbidden Python 3.9.21: /usr/bin/python3 Wed Nov 12 18:17:13 2025 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={}) 78 log.info('Initial checks done. Running the testcase now') 79 log.info('') 80 result = function(self, *args, **kwargs) 81 if self.inputs.upgrade: 82 pid = os.getpid() result = None function = self = args = () kwargs = {} /contrail-test/serial_scripts/rbac/test_rbac.py in test_perms2_global_share(self=) 60 assert self.get_vn_from_analytics(u1_p2_conn, vn.vn_fq_name) 61 assert vn.vn_fq_name in self.list_vn_from_analytics(u1_p2_conn) 62 vm = self.create_vm(connections=u1_p2_conn, vn_fixture=vn) 63 assert vm, 'VM creation failed on shared VN' 64 vm undefined self = self.create_vm = > connections undefined u1_p2_conn = vn_fixture undefined vn = /contrail-test/serial_scripts/rbac/base.py in create_vm(self=, vn_fixture=, connections=, verify=True) 227 def create_vm(self, vn_fixture, connections=None, verify=True): 228 connections = connections or self.connections 229 vm_fixture = self.create_fixture(VMFixture, connections=connections, 230 vn_obj=vn_fixture.obj, 231 image_name='cirros', vm_fixture undefined self = self.create_fixture = > global VMFixture = connections = vn_obj undefined vn_fixture = vn_fixture.obj = {'network': {'id': '5e27bd18-5da9-45db-b53c-5486...network-ipam']}], 'port_security_enabled': True}} image_name undefined admin_connections undefined self.connections = /contrail-test/serial_scripts/rbac/base.py in create_fixture(self=, fixturecls=, **kwargs={'admin_connections': , 'connections': , 'image_name': 'cirros', 'vn_obj': {'network': {'id': '5e27bd18-5da9-45db-b53c-5486...network-ipam']}], 'port_security_enabled': True}}}) 352 def create_fixture(self, fixturecls, **kwargs): 353 try: 354 return self.useFixture(fixturecls(**kwargs)) 355 except (PermissionDenied, neutron_forbidden): 356 return None self = self.useFixture = > fixturecls = kwargs = {'admin_connections': , 'connections': , 'image_name': 'cirros', 'vn_obj': {'network': {'id': '5e27bd18-5da9-45db-b53c-5486...network-ipam']}], 'port_security_enabled': True}}} /usr/local/lib/python3.9/site-packages/testtools/testcase.py in useFixture(self=, fixture=) 754 # Gather_details worked, so raise the exception setUp 755 # encountered. 756 reraise(*exc_info) 757 else: 758 self.addCleanup(fixture.cleanUp) global reraise = exc_info = (, Forbidden(), ) /usr/local/lib/python3.9/site-packages/testtools/_compat3x.py in reraise(exc_class=, exc_obj=Forbidden(), exc_tb=, _marker=) 13 14 def reraise(exc_class, exc_obj, exc_tb, _marker=object()): 15 """Re-raise an exception received from sys.exc_info() or similar.""" 16 raise exc_obj.with_traceback(exc_tb) 17 exc_obj = Forbidden() exc_obj.with_traceback = exc_tb = /usr/local/lib/python3.9/site-packages/testtools/testcase.py in useFixture(self=, fixture=) 729 """ 730 try: 731 fixture.setUp() 732 except MultipleExceptions as e: 733 if (fixtures is not None and fixture = fixture.setUp = > /contrail-test/fixtures/vm_test.py in setUp(self=) 191 def setUp(self): 192 super(VMFixture, self).setUp() 193 self.create() 194 195 def create(self): self = self.create = > /contrail-test/fixtures/vm_test.py in create(self=) 231 self.port_ids = port_ids 232 233 objs = self.orch.create_vm( 234 project_uuid=self.project_id, 235 image_name=self.image_name, objs undefined self = self.orch = self.orch.create_vm = > project_uuid undefined self.project_id = 'f582a0e9-bd0c-4ae6-9f05-c9500d1ac0a5' image_name undefined self.image_name = 'cirros' flavor undefined self.flavor = 'contrail_flavor_tiny' vm_name undefined self.vm_name = 'ctest-TestRbac-70679904-38978286' vn_objs undefined self.vn_objs = [{'network': {'id': '5e27bd18-5da9-45db-b53c-5486...network-ipam']}], 'port_security_enabled': True}}] node_name undefined self.node_name = None zone undefined self.zone = None sg_ids undefined self.sg_ids = [] count undefined self.count = 1 userdata undefined self.userdata = None port_ids undefined self.port_ids = [] fixed_ips undefined self.fixed_ips = [] /contrail-test/fixtures/openstack.py in create_vm(self=, vm_name='ctest-TestRbac-70679904-38978286', image_name='cirros', vn_objs=[{'network': {'id': '5e27bd18-5da9-45db-b53c-5486...network-ipam']}], 'port_security_enabled': True}}], **kwargs={'count': 1, 'fixed_ips': [], 'flavor': 'contrail_flavor_tiny', 'node_name': None, 'port_ids': [], 'project_uuid': 'f582a0e9-bd0c-4ae6-9f05-c9500d1ac0a5', 'sg_ids': [], 'userdata': None, 'zone': None}) 116 except Exception as e: 117 vn_ids.append(vn.uuid) #For the case of VcenterVN obnect in vrouter gw case 118 return self.nova_h.create_vm(vm_name=vm_name, image_name=image_name, vn_ids=vn_ids, **kwargs) 119 120 def delete_vm(self, vm_obj, **kwargs): self = self.nova_h = self.nova_h.create_vm = > vm_name = 'ctest-TestRbac-70679904-38978286' image_name = 'cirros' vn_ids = ['5e27bd18-5da9-45db-b53c-548603fc29aa'] kwargs = {'count': 1, 'fixed_ips': [], 'flavor': 'contrail_flavor_tiny', 'node_name': None, 'port_ids': [], 'project_uuid': 'f582a0e9-bd0c-4ae6-9f05-c9500d1ac0a5', 'sg_ids': [], 'userdata': None, 'zone': None} /contrail-test/fixtures/nova_test.py in create_vm(self=, project_uuid='f582a0e9-bd0c-4ae6-9f05-c9500d1ac0a5', image_name='cirros', vm_name='ctest-TestRbac-70679904-38978286', vn_ids=['5e27bd18-5da9-45db-b53c-548603fc29aa'], node_name=None, sg_ids=[], count=1, userdata=None, flavor=, port_ids=[], fixed_ips=[], zone=None) 604 605 zone = zone + ":" + node_name if node_name else zone 606 self.obj.servers.create(name=vm_name, image=image, 607 security_groups=sg_ids, 608 flavor=flavor, nics=nics_list, self = self.obj = self.obj.servers = self.obj.servers.create = > name undefined vm_name = 'ctest-TestRbac-70679904-38978286' image = security_groups undefined sg_ids = [] flavor = nics undefined nics_list = [{'net-id': '5e27bd18-5da9-45db-b53c-548603fc29aa'}] config_drive = False key_name undefined self.key = 'ctest_ctest-TestRbac-70679904ctest-TestRbac-52355524key1' availability_zone undefined zone = None min_count undefined count = 1 max_count undefined userdata = None /usr/local/lib/python3.9/site-packages/novaclient/v2/servers.py in create(self=, name='ctest-TestRbac-70679904-38978286', image=, flavor=, meta=None, files=None, reservation_id=False, min_count=1, max_count=1, security_groups=[], userdata=None, key_name='ctest_ctest-TestRbac-70679904ctest-TestRbac-52355524key1', availability_zone=None, block_device_mapping=None, block_device_mapping_v2=None, nics=[{'net-id': '5e27bd18-5da9-45db-b53c-548603fc29aa'}], scheduler_hints=None, config_drive=False, disk_config=None, admin_pass=None, access_ip_v4=None, access_ip_v6=None, trusted_image_certificates=None, host=None, hypervisor_hostname=None, **kwargs={}) 1479 1480 response_key = "server" if not reservation_id else "reservation_id" 1481 return self._boot(response_key, *boot_args, **boot_kwargs) 1482 1483 @api_versions.wraps("2.0", "2.18") self = self._boot = > response_key = 'server' boot_args = ['ctest-TestRbac-70679904-38978286', , ] boot_kwargs = {'access_ip_v4': None, 'access_ip_v6': None, 'admin_pass': None, 'availability_zone': None, 'config_drive': False, 'disk_config': None, 'files': None, 'host': None, 'hypervisor_hostname': None, 'key_name': 'ctest_ctest-TestRbac-70679904ctest-TestRbac-52355524key1', ...} /usr/local/lib/python3.9/site-packages/novaclient/v2/servers.py in _boot(self=, response_key='server', name='ctest-TestRbac-70679904-38978286', image=, flavor=, meta=None, files=None, userdata=None, reservation_id=False, return_raw=False, min_count=1, max_count=1, security_groups=[], key_name='ctest_ctest-TestRbac-70679904ctest-TestRbac-52355524key1', availability_zone=None, block_device_mapping=None, block_device_mapping_v2=None, nics=[{'net-id': '5e27bd18-5da9-45db-b53c-548603fc29aa'}], scheduler_hints=None, config_drive=False, admin_pass=None, disk_config=None, access_ip_v4=None, access_ip_v6=None, description=None, tags=None, trusted_image_certificates=None, host=None, hypervisor_hostname=None, **kwargs={}) 843 body['server']['hypervisor_hostname'] = hypervisor_hostname 844 845 return self._create('/servers', body, response_key, 846 return_raw=return_raw, **kwargs) 847 self = self._create = > body = {'server': {'flavorRef': '66af0a16-388d-4833-92f4-540600f0c8d3', 'imageRef': '5db73bbe-7a3b-4baf-bdc9-03cecb624c98', 'key_name': 'ctest_ctest-TestRbac-70679904ctest-TestRbac-52355524key1', 'max_count': 1, 'min_count': 1, 'name': 'ctest-TestRbac-70679904-38978286', 'networks': [{'uuid': '5e27bd18-5da9-45db-b53c-548603fc29aa'}]}} response_key = 'server' return_raw = False kwargs = {} /usr/local/lib/python3.9/site-packages/novaclient/base.py in _create(self=, url='/servers', body={'server': {'flavorRef': '66af0a16-388d-4833-92f4-540600f0c8d3', 'imageRef': '5db73bbe-7a3b-4baf-bdc9-03cecb624c98', 'key_name': 'ctest_ctest-TestRbac-70679904ctest-TestRbac-52355524key1', 'max_count': 1, 'min_count': 1, 'name': 'ctest-TestRbac-70679904-38978286', 'networks': [{'uuid': '5e27bd18-5da9-45db-b53c-548603fc29aa'}]}}, response_key='server', return_raw=False, obj_class=None, **kwargs={}) 362 obj_class=None, **kwargs): 363 self.run_hooks('modify_body_for_create', body, **kwargs) 364 resp, body = self.api.client.post(url, body=body) 365 if return_raw: 366 return self.convert_into_with_meta(body[response_key], resp) resp undefined body = {'server': {'flavorRef': '66af0a16-388d-4833-92f4-540600f0c8d3', 'imageRef': '5db73bbe-7a3b-4baf-bdc9-03cecb624c98', 'key_name': 'ctest_ctest-TestRbac-70679904ctest-TestRbac-52355524key1', 'max_count': 1, 'min_count': 1, 'name': 'ctest-TestRbac-70679904-38978286', 'networks': [{'uuid': '5e27bd18-5da9-45db-b53c-548603fc29aa'}]}} self = self.api = self.api.client = self.api.client.post = > url = '/servers' /usr/local/lib/python3.9/site-packages/keystoneauth1/adapter.py in post(self=, url='/servers', **kwargs={'body': {'server': {'flavorRef': '66af0a16-388d-4833-92f4-540600f0c8d3', 'imageRef': '5db73bbe-7a3b-4baf-bdc9-03cecb624c98', 'key_name': 'ctest_ctest-TestRbac-70679904ctest-TestRbac-52355524key1', 'max_count': 1, 'min_count': 1, 'name': 'ctest-TestRbac-70679904-38978286', 'networks': [{'uuid': '5e27bd18-5da9-45db-b53c-548603fc29aa'}]}}}) 390 391 def post(self, url, **kwargs): 392 return self.request(url, 'POST', **kwargs) 393 394 def put(self, url, **kwargs): self = self.request = > url = '/servers' kwargs = {'body': {'server': {'flavorRef': '66af0a16-388d-4833-92f4-540600f0c8d3', 'imageRef': '5db73bbe-7a3b-4baf-bdc9-03cecb624c98', 'key_name': 'ctest_ctest-TestRbac-70679904ctest-TestRbac-52355524key1', 'max_count': 1, 'min_count': 1, 'name': 'ctest-TestRbac-70679904-38978286', 'networks': [{'uuid': '5e27bd18-5da9-45db-b53c-548603fc29aa'}]}}} /usr/local/lib/python3.9/site-packages/novaclient/client.py in request(self=, url='/servers', method='POST', **kwargs={'body': {'server': {'flavorRef': '66af0a16-388d-4833-92f4-540600f0c8d3', 'imageRef': '5db73bbe-7a3b-4baf-bdc9-03cecb624c98', 'key_name': 'ctest_ctest-TestRbac-70679904ctest-TestRbac-52355524key1', 'max_count': 1, 'min_count': 1, 'name': 'ctest-TestRbac-70679904-38978286', 'networks': [{'uuid': '5e27bd18-5da9-45db-b53c-548603fc29aa'}]}}, 'headers': {'Accept': 'application/json', 'Content-Type': 'application/json', 'User-Agent': 'python-novaclient', 'X-Auth-Token': 'gAAAAABpFM8kp4ClLwTeSNPWhVq2g0fMsR-T5bJJHQ4GeNte...fj0ks46JVFC2Q5GAxXrNOjY_9q4pkvr_CFXx9duTzzSNnmUts'}}) 76 # api_versions.check_headers(resp, self.api_version) 77 if raise_exc and resp.status_code >= 400: 78 raise exceptions.from_response(resp, body, url, method) 79 80 return resp, body global exceptions = exceptions.from_response = resp = body = {'forbidden': {'code': 403, 'message': "Policy doesn't allow os_compute_api:servers:create to be performed."}} url = '/servers' method = 'POST' Forbidden: Policy doesn't allow os_compute_api:servers:create to be performed. (HTTP 403) (Request-ID: req-4a668506-ee29-4620-991d-67a5100969a7) __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {'code': 403, 'details': None, 'message': "Policy doesn't allow os_compute_api:servers:create to be performed.", 'method': 'POST', 'request_id': 'req-4a668506-ee29-4620-991d-67a5100969a7', 'url': '/servers'} __dir__ = __doc__ = "\n HTTP 403 - Forbidden: your credentials don't give you access to this\n resource.\n " __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __module__ = 'novaclient.exceptions' __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = __weakref__ = None args = () code = 403 details = None http_status = 403 message = "Policy doesn't allow os_compute_api:servers:create to be performed." method = 'POST' request_id = 'req-4a668506-ee29-4620-991d-67a5100969a7' url = '/servers' with_traceback = The above is a description of an error in a Python program. Here is the original traceback: Traceback (most recent call last): File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper result = function(self, *args, **kwargs) File "/contrail-test/serial_scripts/rbac/test_rbac.py", line 62, in test_perms2_global_share vm = self.create_vm(connections=u1_p2_conn, vn_fixture=vn) File "/contrail-test/serial_scripts/rbac/base.py", line 229, in create_vm vm_fixture = self.create_fixture(VMFixture, connections=connections, File "/contrail-test/serial_scripts/rbac/base.py", line 354, in create_fixture return self.useFixture(fixturecls(**kwargs)) File "/usr/local/lib/python3.9/site-packages/testtools/testcase.py", line 756, in useFixture reraise(*exc_info) File "/usr/local/lib/python3.9/site-packages/testtools/_compat3x.py", line 16, in reraise raise exc_obj.with_traceback(exc_tb) File "/usr/local/lib/python3.9/site-packages/testtools/testcase.py", line 731, in useFixture fixture.setUp() File "/contrail-test/fixtures/vm_test.py", line 193, in setUp self.create() File "/contrail-test/fixtures/vm_test.py", line 233, in create objs = self.orch.create_vm( File "/contrail-test/fixtures/openstack.py", line 118, in create_vm return self.nova_h.create_vm(vm_name=vm_name, image_name=image_name, vn_ids=vn_ids, **kwargs) File "/contrail-test/fixtures/nova_test.py", line 606, in create_vm self.obj.servers.create(name=vm_name, image=image, File "/usr/local/lib/python3.9/site-packages/novaclient/v2/servers.py", line 1481, in create return self._boot(response_key, *boot_args, **boot_kwargs) File "/usr/local/lib/python3.9/site-packages/novaclient/v2/servers.py", line 845, in _boot return self._create('/servers', body, response_key, File "/usr/local/lib/python3.9/site-packages/novaclient/base.py", line 364, in _create resp, body = self.api.client.post(url, body=body) File "/usr/local/lib/python3.9/site-packages/keystoneauth1/adapter.py", line 392, in post return self.request(url, 'POST', **kwargs) File "/usr/local/lib/python3.9/site-packages/novaclient/client.py", line 78, in request raise exceptions.from_response(resp, body, url, method) novaclient.exceptions.Forbidden: Policy doesn't allow os_compute_api:servers:create to be performed. (HTTP 403) (Request-ID: req-4a668506-ee29-4620-991d-67a5100969a7) 2025-11-12 18:17:15,722 - DEBUG - Skipping xmpp flap check 2025-11-12 18:17:15,722 - INFO -
2025-11-12 18:17:15,722 - INFO - END TEST : test_perms2_global_share : FAILED[0:00:11]
2025-11-12 18:17:15,722 - INFO - -------------------------------------------------------------------------------- 2025-11-12 18:17:17,106 - INFO - Deleted project: ctest-TestRbac-19751882, ID : d0ec078a-2c9d-4243-b48b-0b0dc2584df2 2025-11-12 18:17:19,369 - DEBUG - [10.0.0.33]: Running cmd : docker exec --privileged -it analytics_api_1 /bin/bash -c 'crudini --get /etc/contrail/contrail-analytics-api.conf DEFAULTS aaa_mode' 2025-11-12 18:17:19,495 - DEBUG - Output : rbac 2025-11-12 18:17:21,667 - DEBUG - Requesting: http://10.0.0.33:8082/aaa-mode 2025-11-12 18:17:33,312 - DEBUG - Requesting: http://10.0.0.33:8082/aaa-mode 2025-11-12 18:17:46,312 - DEBUG - [10.0.0.33]: Running cmd : docker ps -f status=running --format {{.Names}} 2>/dev/null 2025-11-12 18:17:46,414 - DEBUG - Output : contrail_test_H0UME3DQn vrouter_vrouter-agent_1 vrouter_provisioner_1 vrouter_nodemgr_1 rsyslogd_rsyslogd_1 analytics_snmp_snmp-collector_1 analytics_snmp_nodemgr_1 analytics_snmp_topology_1 analytics_snmp_provisioner_1 analytics_alarm_nodemgr_1 analytics_alarm_provisioner_1 analytics_alarm_alarm-gen_1 analytics_alarm_kafka_1 analytics_provisioner_1 analytics_collector_1 analytics_api_1 analytics_nodemgr_1 analytics_database_query-engine_1 analytics_database_nodemgr_1 analytics_database_provisioner_1 analytics_database_cassandra_1 control_named_1 control_provisioner_1 control_control_1 control_nodemgr_1 control_dns_1 webui_job_1 webui_web_1 config_devicemgr_1 config_nodemgr_1 config_dnsmasq_1 config_svcmonitor_1 config_api_1 config_provisioner_1 config_schema_1 config_database_nodemgr_1 config_database_rabbitmq_1 config_database_provisioner_1 config_database_cassandra_1 config_database_zookeeper_1 redis_redis_1 barbican_worker barbican_keystone_listener barbican_api horizon heat_engine heat_api_cfn heat_api neutron_server nova_compute nova_libvirt nova_ssh nova_novncproxy nova_conductor nova_api nova_scheduler placement_api glance_api keystone keystone_fernet keystone_ssh rabbitmq memcached mariadb cron kolla_toolbox fluentd