Container/Docker driver does not release ports

Bug #1679715 reported by Valeriy Ponomaryov
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
New
Undecided
Unassigned

Bug Description

Container/Docker share driver does not release ports it used deleting share servers. It leads to having orphaned ports in project where we create ports for share servers.

CI job for container share driver fails with following errors:
http://logs.openstack.org/70/453170/1/check/gate-manila-tempest-dsvm-postgres-container-ubuntu-xenial-nv/409a372/logs/screen-m-shr.txt.gz?level=ERROR

If we enable dynamic project creation/deletion.

How to reproduce with tempest:

1) set option "use_dynamic_credentials" from "auth" config group to "True" value
2) run any tempest test with creation of shares

Expected:
no errors occur.

Actual:
cleanup of sec group fails, because it is used. Used by ports that were not released by container share driver.

Example change that shows bug results is here: https://review.openstack.org/#/c/453170/

description: updated
tags: added: container docker driver
Revision history for this message
Jason Grosso (jgrosso) wrote :

Valeriy is this still happening in current manila releases? The log link is older and not working, can you send a new link so someone can take a look?

Changed in manila:
status: New → Triaged
Jason Grosso (jgrosso)
Changed in manila:
status: Triaged → New
Revision history for this message
Goutham Pacha Ravi (gouthamr) wrote :

This bug is a duplicate of #1762900 and not just a problem with the Container driver. Use of dynamic credentials with multi-tenancy mode drivers (driver_handles_share_servers=True) is not supported within manila_tempest_plugin; the alternative is to use pre-provisied tempest credentials to run the tests, see: https://docs.openstack.org/tempest/latest/configuration.html#pre-provisioned-credentials

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.