A way is needed to set DHCP options for VM networking

Bug #1343687 reported by Tom Waterhouse
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cisco Openstack
New
Undecided
Unassigned

Bug Description

I have a GRE network using Icehouse (i.0). The VMs need to have their MTU size reduced to account for the additional GRE info. Before using the Cisco installer I modified /etc/neutron/dhcp_agent.ini, setting the dnsmasq_config_file to include the required option information.

At this point I have no option that I am aware of to set DHCP option values, so I manually edited the file. When the Puppet agent runs an update on the controller node the change that I had made is removed.

I need one of the following:

1) a way to set the override
2) a way to set DHCP options
3) the Cisco installer to automatically adjust the MTU for GRE networks

Revision history for this message
Mark T. Voelker (mvoelker) wrote :

The dnsmasq_config_file option is parameterized already:

https://github.com/CiscoSystems/puppet-neutron/blob/i.0/manifests/agents/dhcp.pp#L45-L47

That means you can add something like this to user.yaml to change it:

neutron::agents::dhcp::dnsmasq_config_file: '/foo/bar.cfg'

Revision history for this message
Tom Waterhouse (tomwater) wrote : OpenStack help

Mark/Chris,

Can either of you direct me to a person that can help me with the OS network configuration for the Cisco OpenStack installer? I had a test system up and running a month ago that was working perfectly. I tried to replicate what I had done in our dev environment and now networking isn’t completely working.

I have implemented the 2_role scenario and can see network traffic making it from a VM to the controller/network node, but not to the outside world. I’ve made a mistake somewhere and am looking to find someone to point that mistake out to me.

Any help would be appreciated.

Tom

Revision history for this message
Tom Waterhouse (tomwater) wrote :

The setting did work.

I modified /etc/puppet/data/hiera_data/user.common.yaml, adding

neutron::agents::dhcp::dnsmasq_config_file: '/etc/neutron/dhcp_agent.cfg'

I ran puppet apply -v /etc/puppet/manifests/site.pp on the build server and puppet agent -td --server=openstack-build-server --pluginsync on the controller node.

I did not see the update on the controller node take place until running the pluginsync command.

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.