provision fails since preconfig.py does not configure /etc/hosts

Bug #1713906 reported by wenqing liang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
Medium
Dheeraj Gautam
R4.0
Invalid
Medium
Dheeraj Gautam
Trunk
Invalid
Medium
Dheeraj Gautam

Bug Description

R3.2.5.0-35 mitaka provision fails with 404 because preconfig.py did not update /etc/hosts.

Aug 29 23:32:54 server1 puppet-agent[29277]: Unable to fetch my node definition, but the agent run will continue:
Aug 29 23:32:54 server1 puppet-agent[29277]: Find /production/node/server1?transaction_uuid=2b46a69a-7a35-4810-ba6d-bdb70f2bc3d8&fail_on_404=true resulted in 404 with the message: Not Found: Could not find node server1
Aug 29 23:32:55 server1 puppet-agent[29277]: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find node 'server1'; cannot compile
Aug 29 23:32:55 server1 puppet-agent[29277]: Not using cache on failed catalog
Aug 29 23:32:55 server1 puppet-agent[29277]: Could not retrieve catalog; skipping run
Aug 29 23:33:04 server1 puppet-agent[29503]: Unable to fetch my node definition, but the agent run will continue:

wenqing liang (wliang)
information type: Proprietary → Public
Dheeraj Gautam (dgautam)
Changed in juniperopenstack:
milestone: r3.2.5.0 → r3.2.6.0
importance: High → Medium
Jeba Paulaiyan (jebap)
Changed in juniperopenstack:
milestone: r3.2.6.0 → none
Rudra Rugge (rrugge)
tags: added: releasenote
Revision history for this message
Dheeraj Gautam (dgautam) wrote :

This bug is not there in R4.0 and above. Only R3.2 has this issue and needs backporting of preconfig change from R4.0 to R3.2

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

Review in progress for https://review.opencontrail.org/35792
Submitter: Dheeraj Gautam (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/35792
Committed: http://github.com/Juniper/contrail-server-manager/commit/08bb8124df2d292b51523b43a9d482c6ba860586
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 08bb8124df2d292b51523b43a9d482c6ba860586
Author: Dheeraj Gautam <email address hidden>
Date: Wed Sep 20 17:27:09 2017 -0700

preconfig.py should configured /etc/hosts as well

Closes-Bug: #1713906

code is picked from R4.0 preconfig.py

Change-Id: I25fd5a75b3567efa1c4b68f2e98f164d3def2ba3

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.