[Yahoo-eng-team] [Bug 1358147] Re: ProgrammingError: You have an error in your SQL syntax 'INSERT INTO meteringlabels'

2015-02-03 Thread Angus Lees
Fwiw, I agree with enikanorov's assessment. It looks like the first value (tenant_id) is mistakenly a python dict instead of the expected simple string. Having stared at the relevant piece of havana-eol code (neutron.db.metering.metering_db.MeteringDbMixin.create_metering_label()) and traced the

[Yahoo-eng-team] [Bug 1404788] [NEW] Should use lazy logging interpolation

2014-12-21 Thread Angus Lees
Public bug reported: There are a small number of examples of "eager" interpolation in neutron: logging.debug("foo %s" % arg) These should be converted to perform the interpolation lazily within the logging function, since if the severity is below the logging level then the interpolation can be

[Yahoo-eng-team] [Bug 1404785] [NEW] Cisco: logging incorrectly called with (fmt, arg) tuple

2014-12-21 Thread Angus Lees
mportance: Undecided Assignee: Angus Lees (gus) Status: In Progress -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1404785 Title: Cisco: logging incorrectly called with (fmt, a

[Yahoo-eng-team] [Bug 1404782] [NEW] ml2: superfluous %s in LOG.debug() format

2014-12-21 Thread Angus Lees
this is clearly unintended. ** Affects: neutron Importance: Undecided Assignee: Angus Lees (gus) Status: In Progress -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1404782 Titl

[Yahoo-eng-team] [Bug 1404755] [NEW] midonet_lib.py contains a typo'd format parameter

2014-12-21 Thread Angus Lees
s portid. This line of code will raise a KeyError if debug logging is enabled. ** Affects: neutron Importance: Undecided Assignee: Angus Lees (gus) Status: In Progress -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subsc

[Yahoo-eng-team] [Bug 1403304] [NEW] Cisco cfg_agent: unsupported format character in logging string

2014-12-16 Thread Angus Lees
ot;Payload is %(payload)s"), {'error': e, 'payload': payload}) "%{error}s" should be "%(error)s" The existing version raises "ValueError: unsupported format character '{' (0x7b)" when invoked. (found via pylint) ** A

[Yahoo-eng-team] [Bug 1403296] [NEW] neutron.cmd.sanity: Too few/wrong arguments to logging call

2014-12-16 Thread Angus Lees
ot;, full_args, e) ** Affects: neutron Importance: Undecided Assignee: Angus Lees (gus) Status: In Progress -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1403296 Title:

[Yahoo-eng-team] [Bug 1361030] Re: new dnsmasq requirement exceeds available version on ubuntu 12.04

2014-12-02 Thread Angus Lees
** Changed in: neutron Status: Confirmed => Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1361030 Title: new dnsmasq requirement exceeds available version on ubuntu 12.04

[Yahoo-eng-team] [Bug 1386946] [NEW] bigswitch "test_server" prioritises inputs incorrectly

2014-10-28 Thread Angus Lees
Public bug reported: neutron/plugins/bigswitch/tests/test_server.py incorrectly compares an int to a tuple during a binary search. Apparently on python2, int < tuple is not an error and always True. ** Affects: neutron Importance: Undecided Status: New -- You received this bug no

[Yahoo-eng-team] [Bug 1362466] [NEW] iptables metering removes wrong labels on update

2014-08-28 Thread Angus Lees
Public bug reported: If a router is removed from the list passed to update_routers(), the iptables_driver removes the labels for the last(?) router passed, not the one removed. ** Affects: neutron Importance: Undecided Status: New -- You received this bug notification because you

[Yahoo-eng-team] [Bug 1362416] [NEW] midonet: Deletes incorrect nested DHCP subnet

2014-08-27 Thread Angus Lees
Public bug reported: midonet "delete_dhcp" function doesn't check subnet length when searching for the DHCP entries to delete. This means it can delete the wrong subnet entry if two are nested (ie: have the same prefix, but different lengths). Disclaimer: I don't have midonet equipment and don't

[Yahoo-eng-team] [Bug 1360970] [NEW] NetScaler LBaaS Driver: Fails to distinguish between SSL and other errors

2014-08-24 Thread Angus Lees
specific error messages. Unfortunately, it catches requests.exceptions.ConnectionError before requests.exceptions.SSLError, but ConnectionError is a superclass of SSLError so the latter is never invoked. ** Affects: neutron Importance: Undecided Assignee: Angus Lees (gus

[Yahoo-eng-team] [Bug 1356665] [NEW] WSGI unittest fails if HTTP_PROXY if set

2014-08-13 Thread Angus Lees
) fail. We shouldn't follow HTTP_PROXY when trying to connect to test servers. ** Affects: neutron Importance: Undecided Assignee: Angus Lees (gus) Status: In Progress -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscrib

[Yahoo-eng-team] [Bug 1356224] [NEW] Syntax error in plugins/vmware/plugins/service.py

2014-08-13 Thread Angus Lees
eutron Importance: Undecided Assignee: Angus Lees (gus) Status: In Progress -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1356224 Title: Syntax error in plugins/vmw

[Yahoo-eng-team] [Bug 1355565] [NEW] config argument to config.setup_logging is unused

2014-08-11 Thread Angus Lees
interests of simpler code and avoiding confusion. ** Affects: neutron Importance: Undecided Assignee: Angus Lees (gus) Status: In Progress -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bug

[Yahoo-eng-team] [Bug 1350149] Re: mysqldb + eventlet = potential deadlocks

2014-07-30 Thread Angus Lees
Yep, bug 1337690 is an example of this showing up in neutron. ** Also 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/1350149 T

[Yahoo-eng-team] [Bug 1300800] Re: Nova boot fails if sbin not in path

2014-07-22 Thread Angus Lees
** Also affects: devstack Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). https://bugs.launchpad.net/bugs/1300800 Title: Nova boot fails if sbin not in path

[Yahoo-eng-team] [Bug 1300800] Re: Nova boot fails if sbin not in path

2014-07-20 Thread Angus Lees
Added openstack-manuals to find/fix anywhere where we talk about nova runtime requirements. Wonderful docs people: Nova needs to be run with /sbin in PATH, so it can find sysctl. Presumably at least one other OpenStack service makes the same assumption, so it might be reasonable/easier to descri

[Yahoo-eng-team] [Bug 1329614] [NEW] test_uri_length_limit follows proxy and hits wrong localhost

2014-06-12 Thread Angus Lees
Public bug reported: test_uri_length_limit honours HTTP_PROXY (if set). This means the test queries to http://localhost:$port/ hit the wrong localhost when $HTTP_PROXY is another host, resulting in a meaningless test scenario, and apparent failures with HTTP status codes other than REQUEST_URI_TO