← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1569536] [NEW] Neutron-LBaaS v2: Unable to remove SSL/TLS Barbican container reference on listener

 

Public bug reported:

1. Create TLS Listener (i.e., create listener with valid "default_tls_container_ref" pointed to barbican)
2. Remove TLS by updating Listener with default_tls_container_ref="" or None
Result: default_tls_container_ref still contains the original reference
Expected: default_tls_container_ref should be empty
Log:
2016-04-12 18:33:17,808 22307 INFO [tempest.lib.common.rest_client] Request (TLSListenersTestJSON:test_update_listener_empty_tls_container): 200 PUT http://127.0.0.1:9696/v2.0/lbaas/listeners/91beb010-1ca6-4969-9cd5-93bb2af0ff34 0.948s
2016-04-12 18:33:17,808 22307 DEBUG [tempest.lib.common.rest_client] Request - Headers:
{'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: {"listener": {"default_tls_container_ref": ""}}
Response - Headers:
{'status': '200', 'content-length': '465', 'connection': 'close', 'date': 'Tue, 12 Apr 2016 18:33:17 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-e877249b-7bd4-4434-a0d5-325e4b097fdf'}
Body: {"listener": {"protocol_port": 443, "protocol": "TERMINATED_HTTPS", "description": "", "default_tls_container_ref": "http://127.0.0.1:9311/v1/containers/4a54ee55-14a1-45ef-8412-03c0d5c6a6b4";, "admin_state_up": true, "loadbalancers": [
{"id": "01816a46-d4f5-452b-969c-3852c1716076"}
], "tenant_id": "521684a26d974acea5299a9b9f8d068d", "sni_container_refs": [], "connection_limit": -1, "default_pool_id": null, "id": "91beb010-1ca6-4969-9cd5-93bb2af0ff34", "name": ""}}

full log: http://paste.openstack.org/show/493865/

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: lbaasv2

** Summary changed:

- SSL/TLS: Unable to remove SSL/TLS Barbican container reference on listener
+ Neutron-LBaaS v2: Unable to remove SSL/TLS Barbican container reference on listener

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1569536

Title:
  Neutron-LBaaS v2: Unable to remove SSL/TLS Barbican container
  reference on listener

Status in neutron:
  New

Bug description:
  1. Create TLS Listener (i.e., create listener with valid "default_tls_container_ref" pointed to barbican)
  2. Remove TLS by updating Listener with default_tls_container_ref="" or None
  Result: default_tls_container_ref still contains the original reference
  Expected: default_tls_container_ref should be empty
  Log:
  2016-04-12 18:33:17,808 22307 INFO [tempest.lib.common.rest_client] Request (TLSListenersTestJSON:test_update_listener_empty_tls_container): 200 PUT http://127.0.0.1:9696/v2.0/lbaas/listeners/91beb010-1ca6-4969-9cd5-93bb2af0ff34 0.948s
  2016-04-12 18:33:17,808 22307 DEBUG [tempest.lib.common.rest_client] Request - Headers:
  {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
  Body: {"listener": {"default_tls_container_ref": ""}}
  Response - Headers:
  {'status': '200', 'content-length': '465', 'connection': 'close', 'date': 'Tue, 12 Apr 2016 18:33:17 GMT', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-e877249b-7bd4-4434-a0d5-325e4b097fdf'}
  Body: {"listener": {"protocol_port": 443, "protocol": "TERMINATED_HTTPS", "description": "", "default_tls_container_ref": "http://127.0.0.1:9311/v1/containers/4a54ee55-14a1-45ef-8412-03c0d5c6a6b4";, "admin_state_up": true, "loadbalancers": [
  {"id": "01816a46-d4f5-452b-969c-3852c1716076"}
  ], "tenant_id": "521684a26d974acea5299a9b9f8d068d", "sni_container_refs": [], "connection_limit": -1, "default_pool_id": null, "id": "91beb010-1ca6-4969-9cd5-93bb2af0ff34", "name": ""}}

  full log: http://paste.openstack.org/show/493865/

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


Follow ups