config metadata agent's nova metadata protocol

Bug #1439034 reported by Wei T
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-neutron
Fix Released
Medium
Wei T

Bug Description

If nova all endpoints are over https, the metadata request from metadata agent have to use https. But the configuration are not part of puppet yet.

change to fix

 # The default, count of machine's processors, runs the worker thread in the
@@ -83,6 +86,7 @@ class neutron::agents::metadata (
   $auth_region = 'RegionOne',
   $metadata_ip = '127.0.0.1',
   $metadata_port = '8775',
+ $metadata_protocol = 'http',
   $metadata_workers = $::processorcount,
   $metadata_backlog = '4096',
   $metadata_memory_cache_ttl = 5,
@@ -104,6 +108,7 @@ class neutron::agents::metadata (
     'DEFAULT/admin_password': value => $auth_password, secret => true;
     'DEFAULT/nova_metadata_ip': value => $metadata_ip;
     'DEFAULT/nova_metadata_port': value => $metadata_port;
+ 'DEFAULT/nova_metadata_protocol': value => $metadata_protocol;
     'DEFAULT/metadata_proxy_shared_secret': value => $shared_secret;
     'DEFAULT/metadata_workers': value => $metadata_workers;
     'DEFAULT/metadata_backlog': value => $metadata_backlog;

Wei T (nuaafe)
Changed in puppet-glance:
assignee: nobody → Wei T (nuaafe)
affects: puppet-glance → puppet-neutron
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/169652

Changed in puppet-neutron:
status: New → In Progress
Mathieu Gagné (mgagne)
Changed in puppet-neutron:
milestone: none → 6.0.0
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-neutron (master)

Reviewed: https://review.openstack.org/169652
Committed: https://git.openstack.org/cgit/stackforge/puppet-neutron/commit/?id=ea6f81da0d1bdc81cb9b7ae7f4ff84a00da80df0
Submitter: Jenkins
Branch: master

commit ea6f81da0d1bdc81cb9b7ae7f4ff84a00da80df0
Author: Wei Tie <email address hidden>
Date: Wed Apr 1 15:36:57 2015 +0800

    Nova metadata protocol should be configurable

    Metadata agent request nova metadata endpoint by default via http,
    it will get issue if nova's endpoints are over https. The configuration
    should be part of puppet.

    Change-Id: Id57b81a8f8f0998f363ee9ee8f0a162d279dcaf9
    Closes-bug: #1439034

Changed in puppet-neutron:
status: In Progress → Fix Committed
Mathieu Gagné (mgagne)
Changed in puppet-neutron:
status: Fix Committed → Fix Released
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.