Contrail Networking :: 14.04 29 mitaka :: openstack provisioning failing at neutron.pp.

Bug #1715620 reported by Ritam Gangopadhyay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
Critical
Nitish Krishna Kaveri
Trunk
Fix Committed
Critical
Nitish Krishna Kaveri

Bug Description

Openstack provisioning failing with error:-

Sep 7 17:16:47 nodec10 puppet-agent[22025]: Could not retrieve catalog; skipping run
Sep 7 17:16:51 nodec10 puppet-agent[22421]: Local environment: "production" doesn't match server specified node environment "openstack_image", switching agent to "openstack_image".
Sep 7 17:16:56 nodec10 puppet-agent[22421]: Could not retrieve catalog from remote server: Error 400 on SERVER: Must pass auth_password to Class[Neutron::Agents::Metadata] at /etc/puppet/environments/openstack_image/modules/contrail/manifests/profile/openstack/neutron.pp:109 on node nodec10.englab.juniper.net
Sep 7 17:16:56 nodec10 puppet-agent[22421]: Not using cache on failed catalog

file:-
/etc/puppet/environments/openstack_image/modules/contrail/manifests/profile/openstack/neutron.pp

    if ($neutron_shared_secret != "") {
      class { '::neutron::agents::metadata':
          shared_secret => $neutron_shared_secret,
      }
    }

Setup:-

10.204.217.129 - SMLite
10.204.217.176 - openstack

information type: Proprietary → Public
Revision history for this message
Ritam Gangopadhyay (ritam) wrote :

This commit causing the issue https://github.com/Juniper/contrail-puppet/commit/3fdb91799e7ff1167c7f7b952377eae4a3f43aa2

Fix it with:-

/etc/puppet/environments/openstack_image/modules/contrail/manifests/profile/openstack/neutron.pp

    if ($neutron_shared_secret != "") {
      class { '::neutron::agents::metadata':
          auth_password => $neutron_password, <<<<<< Add this line for authentication password
          shared_secret => $neutron_shared_secret,
      }
    }

if possible get it in next full build.

Changed in juniperopenstack:
assignee: nobody → Nitish Krishna Kaveri (nitishk)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/35349
Submitter: Nitish Krishna Kaveri (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/35366
Submitter: Nitish Krishna Kaveri (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/35349
Committed: http://github.com/Juniper/contrail-puppet/commit/9c80d32c293db40b49a921b4fa3a42814f19712e
Submitter: Zuul (<email address hidden>)
Branch: master

commit 9c80d32c293db40b49a921b4fa3a42814f19712e
Author: nitishkrishna <email address hidden>
Date: Thu Sep 7 10:30:17 2017 -0700

Closes-Bug: #1715620 - In case of kilo, auth_password needs to be set for neutron metadata

This has to be set for kilo and liberty SKUs only

Change-Id: If13927ac28125dcdadfe933af94f7e4cdfe6fef3

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/35366
Committed: http://github.com/Juniper/contrail-puppet/commit/0df62caaed28fb908065328e78aac669697185e8
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 0df62caaed28fb908065328e78aac669697185e8
Author: nitishkrishna <email address hidden>
Date: Thu Sep 7 10:30:17 2017 -0700

Closes-Bug: #1715620 - In case of kilo, auth_password needs to be set for neutron metadata

This has to be set for kilo and liberty SKUs only

Change-Id: If13927ac28125dcdadfe933af94f7e4cdfe6fef3

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.