Wrong interface in dnsmasq.conf inside cobbler container

Bug #1319412 reported by Aleksandr Didenko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Released
Critical
Matthew Mosesohn

Bug Description

{"build_id": "2014-05-14_01-10-31", "mirantis": "yes", "build_number": "203", "ostf_sha": "ef970b442437072bdfa4ea99a7b2971215b2de18", "nailgun_sha": "155acff248aed9a8295d03d58346daa4851d49b4", "production": "docker", "api": "1.0", "fuelmain_sha": "9df792985f8984063979f16dc94b4df24ef40c2d", "astute_sha": "80e60b66e3cb4e3e61b22c61c4acfa127ba1bf7e", "release": "5.0", "fuellib_sha": "89ccab7ee76980e38c4d9a5fbcdf7df87e35d61f"}

Steps to reproduce:

1. Start fuel node deployment
2. Press enter on Fuelmenu stage (or add showmenu=yes in grub)
3. Configure fuel to use "eht1" (or any other non "eth0") interface as admin interface.
4. Try to bootrap any nodes.

Result: nodes can't see DHCP.

The problem is caused by /etc/dnsmasq.conf in "cobbler" container, since it has:

interface=eth1

But "cobbler" docker container has only "eht0" and "lo" interfaces. This is why nodes can't get DHCP.

Tags: docker
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/93561

Changed in fuel:
status: New → In Progress
Changed in fuel:
assignee: Alexander Didenko (adidenko) → Matthew Mosesohn (raytrac3r)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-library (master)

Reviewed: https://review.openstack.org/93561
Committed: https://git.openstack.org/cgit/stackforge/fuel-library/commit/?id=1c7d598a65309f8bda1391360f0b94bfb5015180
Submitter: Jenkins
Branch: master

commit 1c7d598a65309f8bda1391360f0b94bfb5015180
Author: Aleksandr Didenko <email address hidden>
Date: Wed May 14 17:10:06 2014 +0300

    Use eth0 as dhcp_interface in cobbler container

    Docker containers have only "eth0" and "lo" interfaces by default.
    So if we deploy fuel on any non "eth0" interface, then
    /etc/dnsmasq.conf file will have worng "interface" parameter which
    breaks DHCP discovery. We need to hardcode dhcp_interface=eth0.

    Change-Id: Iae32f1139fffca1cb77484978d07631ceed4fcee
    Closes-bug: #1319412

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Dennis Dmitriev (ddmitriev) wrote :

fixed: DHCP works fine using eth1

{"build_id": "2014-07-15_09-57-01", "mirantis": "yes", "build_number": "125", "ostf_sha": "09b6bccf7d476771ac859bb3c76c9ebec9da9e1f", "nailgun_sha": "3b347e9c6a08bb30d85a122398eacd605fb62305", "production": "docker", "api": "1.0", "fuelmain_sha": "019cb348b50e71bf1c522bea649b3cdb0bcca28a", "astute_sha": "5df009e8eab611750309a4c5b5c9b0f7b9d85806", "release": "5.0.1", "fuellib_sha": "2d1e1369c13bc9771e9473086cb064d257a21fc2"}

Changed in fuel:
milestone: 5.0 → none
status: Fix Committed → Fix Released
Dmitry Pyzhov (dpyzhov)
Changed in fuel:
milestone: none → 5.0
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.