puppet-cobbler creates a corrupted preseed

Bug #1187184 reported by subconscious
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cisco Openstack
Fix Released
Critical
Mark T. Voelker
Grizzly
Fix Released
Critical
Mark T. Voelker

Bug Description

When puppet-cobbler is run on the build server, it creates a preseed to use when launching child servers (eg control, compute etc.)

The preseed being created is corrupted due to an issue between the interfaces.erb and cobbler node information.

The relevant lines from the corrupted preseed:

echo -e "# This file describes the network interfaces available on your system\n\
# and how to activate them. For more information, see interfaces(5).\n\
\n\
# The loopback network interface\n\
auto lo\n\
iface lo inet loopback\n\
\n\
auto eth2\n\
iface eth2 inet static\n\
$ifconf\n\
\n\
auto eth3\n\
iface eth3 inet static\n\
  address 0.0.0.0\n\
  netmask 255.255.255.255\n\
\n\
" > /target/etc/network/interfaces ; \

Revision history for this message
subconscious (subconscious) wrote :

The late command that needs correction is actually in cobbler-node.pp (grizzly-manifests), not puppet-cobbler.

Changed in openstack-cisco:
milestone: none → g.0-beta
Revision history for this message
subconscious (subconscious) wrote :
Changed in openstack-cisco:
assignee: nobody → Don Talton (dotalton)
status: New → Confirmed
Revision history for this message
Mark T. Voelker (mvoelker) wrote :
Changed in openstack-cisco:
assignee: Don Talton (dotalton) → Mark T. Voelker (mvoelker)
Changed in openstack-cisco:
importance: Undecided → Critical
status: Confirmed → Fix Committed
milestone: g.0-beta → none
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.