Support for additional RTP environment preferences

Bug #1103502 reported by Michael DeHaan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cisco Openstack
New
High
Michael DeHaan
Folsom
New
Low
Michael DeHaan

Bug Description

There are various small things that we need to do to support our CVF2 setup.

First off, we would like to have a boolean gating the establishment of a management interface (i.e. SSH) to be created. This can be configured by setting a

oob_mgmt_interface = "ethN"

in site.pp, for example, and the booleans can wrap the resource in core.pp

Additionally, we would like to set up booleans that affect the cobbler setup, that set puppet agents to not autostart for debugging, ex:

$puppet_auto_start = true; # default would be true

Additionally, we have some other needs regarding routing due to the addition of that interface, which are currently implemented by a on-the-side-patch from Chris Ricker:

--- cobbler-node.orig 2013-01-17 15:40:49.086957831 -0500
+++ cobbler-node.pp 2013-01-17 12:46:19.869124299 -0500
@@ -17,8 +17,12 @@
   late_command => "
        sed -e '/logdir/ a pluginsync=true' -i /target/etc/puppet/puppet.conf ; \
        sed -e \"/logdir/ a server=$cobbler_node_fqdn\" -i
/target/etc/puppet/puppet.conf ; \
- sed -e 's/START=no/START=yes/' -i /target/etc/default/puppet ; \
+ sed -e 's/START=no/START=no/' -i /target/etc/default/puppet ; \
+ sed -e 's/option rfc3442/supersede domain-name-servers
2.3.1.254;\\nsupersede domain-name \"sdu.lab\";\\nsupersede domain-search
\"sdu.lab\";\\noption rfc3442/' -i /target/etc/dhcp/dhclient.conf ; \
        echo -e \"server $cobbler_node_fqdn iburst\" > /target/etc/ntp.conf ; \
+ echo -e \"\tpost-up route add -net 2.0.0.0 netmask 255.0.0.0 gw
2.3.1.1\" >> /target/etc/network/interfaces ; \
+ echo -e \"auto $external_interface\\niface $external_interface inet
manual\\n\\tup ifconfig $external_interface up\\n\\tdown ifconfig
$external_interface down\" >> /target/etc/network/interfaces ; \
+ echo -e \"auto eth0\\niface eth0 inet dhcp\\n\" >>
/target/etc/network/interfaces ; \
        echo '8021q' >> /target/etc/modules ; \
        true
        ",

So this seems to imply an option supersede_domain_name_servers where we could put in a line if defined, or even something basic like a "$additonal_late_command" where it could just be a generic place to use site.pp as a dashboard to insert those rules.

Without these changes our network configuration is not usable for OpenStack.

Michael DeHaan (mdehaan)
Changed in openstack-cisco:
importance: Undecided → High
assignee: nobody → Michael DeHaan (mdehaan)
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.