← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1346932] [NEW] delete floating ip via neutron port-delete

 

Public bug reported:

When running neutron port-delete <floating-ip port> I get a traceback
referencing :

2014-07-21 16:34:28.769 31455 TRACE neutron.api.v2.resource DBError:
(IntegrityError) (1451, 'Cannot delete or update a parent row: a foreign
key constraint fails (`neutron`.`floatingips`, CONSTRAINT
`floatingips_ibfk_2` FOREIGN KEY (`floating_port_id`) REFERENCES `ports`
(`id`))') 'DELETE FROM ports WHERE ports.id = %s' ('25c9a306-6f5f-4630
-99ec-78893b1e766a',)

Instead of dumping a unhelpful trace to the logs, shouldn't there be a
message to the user that they should use the right command to remove the
floating IP port?

** 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/1346932

Title:
  delete floating ip via neutron port-delete

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  When running neutron port-delete <floating-ip port> I get a traceback
  referencing :

  2014-07-21 16:34:28.769 31455 TRACE neutron.api.v2.resource DBError:
  (IntegrityError) (1451, 'Cannot delete or update a parent row: a
  foreign key constraint fails (`neutron`.`floatingips`, CONSTRAINT
  `floatingips_ibfk_2` FOREIGN KEY (`floating_port_id`) REFERENCES
  `ports` (`id`))') 'DELETE FROM ports WHERE ports.id = %s'
  ('25c9a306-6f5f-4630-99ec-78893b1e766a',)

  Instead of dumping a unhelpful trace to the logs, shouldn't there be a
  message to the user that they should use the right command to remove
  the floating IP port?

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


Follow ups

References