[vbox] Virtualbox script does not setup dns upstream properly

Bug #1323365 reported by Dmitry Pyzhov
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Fabrizio Soppelsa

Bug Description

Virtualbox script updates /etc/dnsmasq.upstream file with dns settings from host machine. But dnsmasq is run in cobbler container and does not see this file.

We need to update /etc/dnsmasq.upstream in cobbler container.

Dmitry Pyzhov (dpyzhov)
description: updated
Changed in fuel:
assignee: nobody → Fuel DevOps (fuel-devops)
Dmitry Ilyin (idv1985)
summary: - Virtualbox script does not setup dns upstream properly
+ [vbox] Virtualbox script does not setup dns upstream properly
Mike Scherbakov (mihgen)
Changed in fuel:
assignee: Fuel DevOps (fuel-devops) → Fuel Library Team (fuel-library)
Revision history for this message
Dmitry Borodaenko (angdraug) wrote :
Revision history for this message
Matthew Mosesohn (raytrac3r) wrote :

The fastest solution is to just add a dockerctl copy of the file into the container. Also we could prepend dockerctl shell to the command that echoes. I can propose this quickly, but I need someone who can move this through QA since I am on vacation this week.

Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Miroslav Anashkin (manashkin)
Changed in fuel:
assignee: Miroslav Anashkin (manashkin) → Fabrizio Soppelsa (fsoppelsa)
Changed in fuel:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/114994
Committed: https://git.openstack.org/cgit/stackforge/fuel-main/commit/?id=65c933347a9c0048c30ada686974bd6bae20f480
Submitter: Jenkins
Branch: master

commit 65c933347a9c0048c30ada686974bd6bae20f480
Author: Fabrizio Soppelsa <email address hidden>
Date: Mon Aug 18 19:13:44 2014 +0400

    Fixes cobbler dnsmasq settings

    Change-Id: I439ad25d263a57324c6cff6aa00b9a49e5767726
    Closes-Bug: 1323365

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (master)

Reviewed: https://review.openstack.org/279203
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=92a0e0b978cdcf60c593824a4c5ad7144fe401bb
Submitter: Jenkins
Branch: master

commit 92a0e0b978cdcf60c593824a4c5ad7144fe401bb
Author: Maksim Malchuk <email address hidden>
Date: Mon Feb 8 17:36:43 2016 +0300

    VirtualBox network fixes and the dockerless mode support

    This commit include changes:

     * using the VirtualBox scripts the Fuel master node now always
       booted with kernel option 'wait_for_external_config=yes' to
       provide the same deployment functionality as in the 'fuel-qa'.

     * settings for the kernel command line moved to the top config
       file, because the settings wich could be edited should be placed
       there.

     * because of configuration task moved to the correct place there
       is no need to parse 'bootstrap_admin_node.log' and always follow
       the changes in the 'fuel-library', so all parsing logic removed
       from the scripts. This also simplifies networking changes and
       there is no need to patch the files on the fly and restart
       docker containers if they used.

     * variable 'vm_master_nat_gateway' removed from the 'config.sh'
       and from the 'enable_outbound_network_for_product_vm' because
       gateway should be set from the DHCP lease.

     * the sysconfig configuration files on the fuel master node now
       configured the right way. the backup files for configuration
       files are created. also added some comments for changes in the
       scripts.

     * now the default routing on the fuel master node correctly
       configured without creating the second default route. also
       ZeroConf route creation and NetworkManager now switched off
       to correct work of the network service.

     * the 'resolv.conf', 'dnsmasq.upstream' and 'astute.yaml' now
       correctly modified and could contain up to three DNS nameservers.

     * added support for the new dockerless 9.0 Fuel.

    Implements blueprint: get-rid-docker-containers

    Change-Id: I8f32fb8105d0781938757fa13d5dcbbacbf9c845
    Closes-Bug: #1544241
    Partial-Bug: #1323365

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-main (stable/8.0)

Fix proposed to branch: stable/8.0
Review: https://review.openstack.org/280256

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-main (stable/8.0)

Reviewed: https://review.openstack.org/280256
Committed: https://git.openstack.org/cgit/openstack/fuel-main/commit/?id=643a1ef27c7dccc1c2a2ad26b85c09226b35a67d
Submitter: Jenkins
Branch: stable/8.0

commit 643a1ef27c7dccc1c2a2ad26b85c09226b35a67d
Author: Maksim Malchuk <email address hidden>
Date: Mon Feb 8 17:36:43 2016 +0300

    VirtualBox network fixes and the dockerless mode support

    This commit include changes:

     * using the VirtualBox scripts the Fuel master node now always
       booted with kernel option 'wait_for_external_config=yes' to
       provide the same deployment functionality as in the 'fuel-qa'.

     * settings for the kernel command line moved to the top config
       file, because the settings wich could be edited should be placed
       there.

     * because of configuration task moved to the correct place there
       is no need to parse 'bootstrap_admin_node.log' and always follow
       the changes in the 'fuel-library', so all parsing logic removed
       from the scripts. This also simplifies networking changes and
       there is no need to patch the files on the fly and restart
       docker containers if they used.

     * variable 'vm_master_nat_gateway' removed from the 'config.sh'
       and from the 'enable_outbound_network_for_product_vm' because
       gateway should be set from the DHCP lease.

     * the sysconfig configuration files on the fuel master node now
       configured the right way. the backup files for configuration
       files are created. also added some comments for changes in the
       scripts.

     * now the default routing on the fuel master node correctly
       configured without creating the second default route. also
       ZeroConf route creation and NetworkManager now switched off
       to correct work of the network service.

     * the 'resolv.conf', 'dnsmasq.upstream' and 'astute.yaml' now
       correctly modified and could contain up to three DNS nameservers.

     * added support for the new dockerless 9.0 Fuel.

    Implements blueprint: get-rid-docker-containers

    Change-Id: I8f32fb8105d0781938757fa13d5dcbbacbf9c845
    Closes-Bug: #1544241
    Partial-Bug: #1323365
    (cherry picked from commit 92a0e0b978cdcf60c593824a4c5ad7144fe401bb)

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.