Rally/Contrail: Rally boot test fails with Error Forbidden: It is not allowed..

asked 2015-10-19 19:35:21 -0500

bdastur gravatar image

I have a contrail/OpenStack cloud deployed on which I am trying to run some rally benchmarks. But I am having trouble getting the rally boot tests to run. The error as shown below:

Error Forbidden: It is not allowed to create an interface on external network

It seems it is trying to create an interface on the external network, however in this case that operation is not required as the contrail plugin handles that. Is there a way to tell the rally scenario to avoid doing that.

SImply put the operations that need to happen are: 1. nova boot (create private network/ or use private network provided) 2. neutron floating ip create, and assign it to the port eg (neutron floatingip-create --port-id <private assigned="" portid=""> <public net="" id="">)

Here are the compelete logs from rally run:

2015-10-20 00:24:12.753 19075 INFO rally.task.engine [-] Running benchmark with key: 
{
  "kw": {
"runner": {
  "type": "constant", 
  "concurrency": 2, 
  "times": 10
}, 
"args": {
  "flavor": {
    "name": "m1.tiny"
  }, 
  "image": {
    "name": "cirros-0.3.1-x86_64"
  }, 
  "use_floatingip": false
}, 
"name": "NovaServers.boot_server", 
"context": {
  "users": {
    "users_per_tenant": 2, 
    "tenants": 3
  }
}
},
"name": "NovaServers.boot_server",  
"pos": 0 
}

2015-10-20 00:24:12.759 19075 INFO rally.plugins.openstack.context.keystone.users [-] Task 3000fcbd-2762-400d    -920f-dfbfb667e7ec | Starting:  Enter context: `users`
2015-10-20 00:24:14.711 19075 INFO rally.plugins.openstack.context.keystone.users [-] Task 3000fcbd-2762-400d-920f-dfbfb667e7ec | Completed: Enter context: `users`
2015-10-20 00:24:16.222 19264 INFO rally.task.runner [-] Task 3000fcbd-2762-400d-920f-dfbfb667e7ec | ITER: 0 START
2015-10-20 00:24:16.227 19264 INFO rally.task.runner [-] Task 3000fcbd-2762-400d-920f-dfbfb667e7ec | ITER: 1 START
2015-10-20 00:24:18.420 19264 INFO rally.task.runner [-] Task 3000fcbd-2762-400d-920f-dfbfb667e7ec | ITER: 0 END: Error Forbidden: It is not allowed to create an interface on external network 2de28d39-34f9-48c5-bbac-609e258b7aad (HTTP 403) (Request-ID: req-fe32bcf8-f624-4a2d-a083-7b6c5d1f24ab)
2015-10-20 00:24:18.427 19264 INFO rally.task.runner [-] Task 3000fcbd-2762-400d-920f-dfbfb667e7ec | ITER: 2 START
2015-10-20 00:24:18.488 19264 INFO rally.task.runner [-] Task 3000fcbd-2762-400d-920f-dfbfb667e7ec | ITER: 1 END: Error Forbidden: It is not allowed to create an interface on external network 2de28d39-34f9-48c5-bbac-609e258b7aad (HTTP 403) (Request-ID: req-5d58fc8c-b725-4c28-9864-688c87c24865)
2015-10-20 00:24:18.493 19264 INFO rally.task.runner [-] Task 3000fcbd-2762-400d-920f-dfbfb667e7ec | ITER: 3 START
2015-10-20 00:24:19.695 19264 INFO rally.task.runner [-] Task 3000fcbd-2762-400d-920f-dfbfb667e7ec | ITER: 2   END: Error Forbidden: It is not allowed to create an interface on external network 2de28d39-34f9-48c5-bbac-609e258b7aad (HTTP 403) (Request-ID: req-95d6dfbb-4d0e-4dba-8a26-7d2f26173d6e)
edit retag flag offensive close merge delete