← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1353401] [NEW] neutron-metadata-agent cannot proxy to SSL secured nova-api

 

Public bug reported:

In /usr/lib/python2.6/site-packages/neutron/agent/metadata/agent.py I
find this code fragment:

        url = urlparse.urlunsplit((
            'http',
            '%s:%s' % (self.conf.nova_metadata_ip,
                       self.conf.nova_metadata_port),
            req.path_info,
            req.query_string,
            ''))

This is used to construct the URL to which the agent will connect to the
nova-api. In our case this is secured via SSL and the request failes
with BadStatusLine. If I patch the code to use 'https' it works
perfectly.

IMO there should be a way to configure http or https for the proxy URL.

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

Title:
  neutron-metadata-agent cannot proxy to SSL secured nova-api

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  In /usr/lib/python2.6/site-packages/neutron/agent/metadata/agent.py I
  find this code fragment:

          url = urlparse.urlunsplit((
              'http',
              '%s:%s' % (self.conf.nova_metadata_ip,
                         self.conf.nova_metadata_port),
              req.path_info,
              req.query_string,
              ''))

  This is used to construct the URL to which the agent will connect to
  the nova-api. In our case this is secured via SSL and the request
  failes with BadStatusLine. If I patch the code to use 'https' it works
  perfectly.

  IMO there should be a way to configure http or https for the proxy
  URL.

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


Follow ups

References