standalone dns server contains python encoding which results in a bad nameserver configuration

Bug #1802611 reported by Alex Schultz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Emilien Macchi

Bug Description

For the standalone DnsServers, the value is currently being set to [u'127.0.0.1'] in the standalone_parameters.yaml which results in a bad /etc/resolv.conf containing "nameserver u127.0.0.1"

http://logs.openstack.org/92/616592/1/check/tripleo-ci-centos-7-standalone/16ef030/logs/undercloud/home/zuul/standalone_parameters.yaml.txt.gz
parameter_defaults:
  CertmongerCA: local
  CloudName: 192.168.24.1
  ContainerCli: docker
  ControlPlaneStaticRoutes: []
  Debug: true
  DeploymentUser: zuul
  DnsServers: [u'127.0.0.1']
  DockerInsecureRegistryAddress:
  - 192.168.24.1:8787
  MasqueradeNetworks:
    192.168.24.0/24:
    - 192.168.24.0/24
  NeutronPublicInterface: br-ex
  StandaloneCtlplaneLocalSubnet: ctlplane-subnet
  StandaloneCtlplaneSubnets:
    ctlplane-subnet:
      DhcpRangeEnd: 192.168.24.40
      DhcpRangeStart: 192.168.24.20
      NetworkCidr: 192.168.24.0/24
      NetworkGateway: 192.168.24.1
  StandaloneEnableRoutedNetworks: false
  StandaloneHomeDir: /home/zuul
  StandaloneLocalMtu: 1500
  NovaComputeLibvirtType: qemu
  SELinuxMode: permissive

http://logs.openstack.org/92/616592/1/check/tripleo-ci-centos-7-standalone/16ef030/logs/undercloud/etc/resolv.conf.txt.gz
nameserver u127.0.0.1

Tags: ci quickstart
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-quickstart-extras (master)

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

Changed in tripleo:
assignee: nobody → Alex Schultz (alex-schultz)
status: Triaged → In Progress
Changed in tripleo:
assignee: Alex Schultz (alex-schultz) → Emilien Macchi (emilienm)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.openstack.org/617048
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=ae1d1ab9e2a82c46c676b60a0c70644ef1740c24
Submitter: Zuul
Branch: master

commit ae1d1ab9e2a82c46c676b60a0c70644ef1740c24
Author: Alex Schultz <email address hidden>
Date: Fri Nov 9 17:47:07 2018 -0700

    Correctly handle complex nameserver types for standalone

    If the undercloud_undercloud_nameserver is an array, it's not being
    properly represented in the output yaml. Let's use the ansible to_json
    filter to properly handle this in the resulting yaml.

    Change-Id: Ia16060e2c2e524d0a4c83980b2fd9fafef09196f
    Closes-Bug: #1802611

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-quickstart-extras 2.1.1

This issue was fixed in the openstack/tripleo-quickstart-extras 2.1.1 release.

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.