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 value of tenant_id backwards several callers, this value
is whatever the user passed in the 'tenant_id' json key in the
create_metering_label REST API request.

This functions is restricted to admin only, so you're probably looking
for either a neutron cli tool or heat bug, or perhaps some local admin
(mis)using neutronclient or the API directly.

Since it has only happened once, I think this is as far as we're going
to go - if you see this recur, then we need more information about
who/what made the relevant REST call.

** Changed in: neutron
       Status: Incomplete => Invalid

** Changed in: neutron (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to neutron in Ubuntu.
https://bugs.launchpad.net/bugs/1358147

Title:
  ProgrammingError: You have an error in your SQL syntax 'INSERT INTO
  meteringlabels'

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1358147/+subscriptions

-- 
Ubuntu-server-bugs mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to