← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1477786] [NEW] Rally Tests to Create and Delete Routers makes _ensure_default_security_group goes in endless loop

 

Public bug reported:

As Part of run _ensure_default_security_group is called and ends up in a
continuous loop, when detecting a Pre existing Default Security Group.

Line 549 has a continue which ends up in infinite loop, should have Max
Retries and bail out.

The Test is run with 5 workers in Neutron

Rally Json Template :

{
    "NeutronNetworks.create_and_delete_routers": [
        {
            "args": {
                "network_create_args": {},
                "subnet_create_args": {},
                "subnet_cidr_start": "1.1.0.0/30",
                "subnets_per_network": 2,
                "router_create_args": {}
            },
            "runner": {
                "type": "constant",
                "times": 10,
                "concurrency": 10
            },
            "context": {
                "users": {
                    "tenants": 1,
                    "users_per_tenant": 1
                },
                "quotas": {
                    "neutron": {
                        "network": -1,
                        "subnet": -1,
                        "router": -1
                    }
                }
            }
        }
    ]
}


Neutron Log:
2015-07-23 14:03:06.288 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
2015-07-23 14:03:06.313 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
2015-07-23 14:03:06.337 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
2015-07-23 14:03:06.359 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
2015-07-23 14:03:06.387 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
2015-07-23 14:03:06.410 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
2015-07-23 14:03:06.433 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
2015-07-23 14:03:06.457 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
2015-07-23 14:03:06.480 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
2015-07-23 14:03:06.504 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
2015-07-23 14:03:06.533 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
2015-07-23 14:03:06.577 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
2015-07-23 14:03:06.597 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
2015-07-23 14:03:06.618 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1477786

Title:
  Rally Tests to Create and Delete Routers makes
  _ensure_default_security_group goes in endless loop

Status in neutron:
  New

Bug description:
  As Part of run _ensure_default_security_group is called and ends up in
  a continuous loop, when detecting a Pre existing Default Security
  Group.

  Line 549 has a continue which ends up in infinite loop, should have
  Max Retries and bail out.

  The Test is run with 5 workers in Neutron

  Rally Json Template :

  {
      "NeutronNetworks.create_and_delete_routers": [
          {
              "args": {
                  "network_create_args": {},
                  "subnet_create_args": {},
                  "subnet_cidr_start": "1.1.0.0/30",
                  "subnets_per_network": 2,
                  "router_create_args": {}
              },
              "runner": {
                  "type": "constant",
                  "times": 10,
                  "concurrency": 10
              },
              "context": {
                  "users": {
                      "tenants": 1,
                      "users_per_tenant": 1
                  },
                  "quotas": {
                      "neutron": {
                          "network": -1,
                          "subnet": -1,
                          "router": -1
                      }
                  }
              }
          }
      ]
  }

  
  Neutron Log:
  2015-07-23 14:03:06.288 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
  732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
  2015-07-23 14:03:06.313 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
  732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
  2015-07-23 14:03:06.337 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
  732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
  2015-07-23 14:03:06.359 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
  732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
  2015-07-23 14:03:06.387 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
  732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
  2015-07-23 14:03:06.410 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
  732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
  2015-07-23 14:03:06.433 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
  732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
  2015-07-23 14:03:06.457 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
  732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
  2015-07-23 14:03:06.480 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
  732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
  2015-07-23 14:03:06.504 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
  732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
  2015-07-23 14:03:06.533 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
  732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
  2015-07-23 14:03:06.577 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
  732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
  2015-07-23 14:03:06.597 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
  732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548
  2015-07-23 14:03:06.618 19411 DEBUG neutron.db.securitygroups_db [req-24fda616-62d4-425d-a2ad-f755b8b16358 ] Duplicate default security group b3bfe28880e74b49958e8ae34462
  732d was not created _ensure_default_security_group /usr/lib/python2.7/site-packages/neutron/db/securitygroups_db.py:548

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1477786/+subscriptions