发起问题

jnemeiksis 的档案 - activity

2019-11-28 10:24:47 -0500 获得奖牌  著名问题 (source)
2019-11-27 01:48:55 -0500 回答问题 How to Delete Orphaned Neutron Port

Solution:

I inserted values into ml2_port_bindigs and then delete ports through CLI.

2019-11-21 07:51:00 -0500 评论问题 How to Delete Orphaned Neutron Port

I found one way but I'm not sure to do that is safe. http://www.tuxfixer.com/openstack-how-to-manually-delete-orphaned-neutron-port/ (http://www.tuxfixer.com/openstack-how...)

2019-11-21 07:50:59 -0500 评论问题 How to Delete Orphaned Neutron Port

I wrong wrote DB table, port binging information should be in ml2_port_bindigs.

2019-11-21 07:50:59 -0500 评论问题 How to Delete Orphaned Neutron Port

Information should be exist and no matter if port bind to device or no.

2019-11-21 07:50:59 -0500 评论问题 How to Delete Orphaned Neutron Port

I checked source code and as I understood when neutron deleting port, it see detail about portbinding. Neutron output say that: {"NeutronError": {"message": "Binding for port 044f0c61-caf3-4144-b5bb-b2fdbfaa4f19 for host could not be found.", "type": "PortBindingNotFound", "detail": ""}

2019-11-21 07:50:31 -0500 问了问题 How to clean up flavor access

How to clean up flavor access if project deleted? I tried command openstack project purge --project, but this command not clean flavor access. The problem that Horizon cannot update flavor if flavor access not removed for deleted project.

2019-11-21 03:58:16 -0500 获得奖牌  热门的问题 (source)
2019-11-20 23:36:31 -0500 获得奖牌  受欢迎的问题 (source)
2019-11-20 16:57:48 -0500 评论问题 How to Delete Orphaned Neutron Port

Yes, this port and all same ports exists at all. If I list or try show ports exists.

2019-11-20 12:42:12 -0500 评论问题 How to Delete Orphaned Neutron Port

I think delete problem related with port binding. This port is without binding information. I not found any information about this port in neutron DB(Table: portbindingports)

2019-11-20 12:42:12 -0500 评论问题 How to Delete Orphaned Neutron Port

This output generate neutron client command: neutron port-delete 044f0c61-caf3-4144-b5bb-b2fdbfaa4f19 -v I tried openstack cli, but the same situation. Neutron sever output: DELETE failed (client error): The resource could not be found.

2019-11-20 09:06:17 -0500 问了问题 How to Delete Orphaned Neutron Port

Hello,

We running Rocky version and seems like have a big problem. We have a lot orphaned ports. We trying remove old unused network and we cannot do it because exists a lot orphaned ports.

Error output when trying remove one of the orphaned port:

DEBUG: neutronclient.v2_0.client Error message: {"NeutronError": {"message": "Binding for port 044f0c61-caf3-4144-b5bb-b2fdbfaa4f19 for host  could not be found.", "type": "PortBindingNotFound", "detail": ""}}
ERROR: neutronclient.shell Unable to find port(s) with id(s) '044f0c61-caf3-4144-b5bb-b2fdbfaa4f19'.
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line 531, in run_subcommand
    return run_command(cmd, cmd_parser, sub_argv)
  File "/usr/lib/python2.7/site-packages/neutronclient/shell.py", line 68, in run_command
    return cmd.run(known_args)
  File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 335, in run
    return super(NeutronCommand, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/command.py", line 184, in run
    return_code = self.take_action(parsed_args) or 0
  File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 517, in take_action
    self._bulk_delete(obj_deleter, neutron_client, parsed_args.id)
  File "/usr/lib/python2.7/site-packages/neutronclient/neutron/v2_0/__init__.py", line 556, in _bulk_delete
    raise exceptions.NeutronCLIError(message='\n'.join(err_msgs))
NeutronCLIError: Unable to find port(s) with id(s) '044f0c61-caf3-4144-b5bb-b2fdbfaa4f19'.
Unable to find port(s) with id(s) '044f0c61-caf3-4144-b5bb-b2fdbfaa4f19'.