← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1740694] Re: nova api ssl exceptions.ConnectFailure

 

[Expired for OpenStack Dashboard (Horizon) because there has been no
activity for 60 days.]

** Changed in: horizon
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1740694

Title:
  nova api ssl exceptions.ConnectFailure

Status in OpenStack Dashboard (Horizon):
  Expired

Bug description:
  I am installing Pike on Ubuntu 16.04 (cloud-archive repository). The
  service catalog returns:

  $ openstack catalog list --format value | grep 8774
    public: https://nube.javeriana.edu.co:8774/v2.1
    admin: https://nube.javeriana.edu.co:8774/v2.1
    internal: https://nube.javeriana.edu.co:8774/v2.1

  The href field on API's response include https:

  $ curl -s -H "Content-Type: application/json" https://nube.javeriana.edu.co:8774/ | jq
  {
    "versions": [
      {
        "status": "SUPPORTED",
        "updated": "2011-01-21T11:33:21Z",
        "links": [
          {
            "href": "https://nube.javeriana.edu.co:8774/v2/";,
            "rel": "self"
          }
        ],
        "min_version": "",
        "version": "",
        "id": "v2.0"
      },
      {
        "status": "CURRENT",
        "updated": "2013-07-23T11:33:21Z",
        "links": [
          {
            "href": "https://nube.javeriana.edu.co:8774/v2.1/";,
            "rel": "self"
          }
        ],
        "min_version": "2.1",
        "version": "2.53",
        "id": "v2.1"
      }
    ]
  }

  But when horizon tries to connect to nova API, it logs:

  [Sat Dec 30 12:48:16.953180 2017] [wsgi:error] [pid 19893:tid
  140536309716736] WARNING horizon.exceptions Recoverable error: Unable
  to establish connection to http://nube.javeriana.edu.co:8774/v2.1/:
  ('Connection aborted.', BadStatusLine("''",))

  Horizon is overwriting the nova API URL without SSL. The others API
  connections (keystone, glance, nuetron and cinder) works fine, so I
  believe that I am not missing some configuration value.

  
  My actual workaround is set a static URL on line 293 of the file "openstack_dashboard/api/nova.py" (yes, it can't be a solution):

  -  endpoint_override=nova_url)
  +  endpoint_override="https://nube.javeriana.edu.co:8774";)

  
  Thank you!.

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


References