← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2121605] [NEW] nova and neutron pagination returns an http, not https href link

 

Public bug reported:

Similar to https://bugs.launchpad.net/neutron/+bug/1774460, we still
facing the error with neutron on Caracal.

we just migrated using new openstack CLI tools, and when triggering pagination for both Nova and Neutron, we noticed that they are returning http href link although they are expecting https, causing failure:
```
openstack port list
Failure: Unable to establish connection to http://openstack....example.com:9696/v2.0/ports: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')). Retrying in 0.5s.1 retries left
Unable to establish connection to http://openstack.....example.com:9696/v2.0/ports: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
```

when I run openstack port list --debug, I see the first bulk hits neutron with 
REQ: curl -g -i -X GET "https://openstack...example.com:9696/v2.0/ports?...";
and in the RESP BODY: `"href":"http://openstack.bve.example.com:9696/v2.0/ports?...`
which caused neutron failed to provide response following that. 

I've validated it is problem even with
[oslo_middleware]
enable_proxy_headers_parsing = True

in neutron.config. I validated that Nova is having same issue, and it could be solved with 
[DEFAULT]
osapi_compute_link_prefix = https://openstack...

However, the option doesn't exit in neutron config.

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

Title:
  nova and neutron pagination returns an http, not https href link

Status in neutron:
  New

Bug description:
  Similar to https://bugs.launchpad.net/neutron/+bug/1774460, we still
  facing the error with neutron on Caracal.

  we just migrated using new openstack CLI tools, and when triggering pagination for both Nova and Neutron, we noticed that they are returning http href link although they are expecting https, causing failure:
  ```
  openstack port list
  Failure: Unable to establish connection to http://openstack....example.com:9696/v2.0/ports: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response')). Retrying in 0.5s.1 retries left
  Unable to establish connection to http://openstack.....example.com:9696/v2.0/ports: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
  ```

  when I run openstack port list --debug, I see the first bulk hits neutron with 
  REQ: curl -g -i -X GET "https://openstack...example.com:9696/v2.0/ports?...";
  and in the RESP BODY: `"href":"http://openstack.bve.example.com:9696/v2.0/ports?...`
  which caused neutron failed to provide response following that. 

  I've validated it is problem even with
  [oslo_middleware]
  enable_proxy_headers_parsing = True

  in neutron.config. I validated that Nova is having same issue, and it could be solved with 
  [DEFAULT]
  osapi_compute_link_prefix = https://openstack...

  However, the option doesn't exit in neutron config.

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