Uploaded image for project: 'Community Package Repository'
  1. Community Package Repository
  2. CPR-268

Beaker fails to provision CentOS 5.11 due to wrong nameservers in /etc/resolv.conf

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2017/08/02
    • Component/s: Image Management
    • Labels:
      None
    • Template:

      Error rendering 'issue-templates-customfield'. Please contact your Jira administrators.

      Description

      I ran into a problem with provisioning CentOS 5.11 using beaker (puppetlabs/centos-5.11-64-nocm). The nameserver would be set to ip addresses that did not point to actual nameservers.

      To work around this problem, I've locally modified <bundler-dir>/beaker/lib/beaker/host_prebuilt_steps.rb to include host.exec(Command.new("dhclient -r; dhclient")).stdout at the beginning of the get_domain_name function, but I'm sure that there is a better way to get this working.

        Attachments

          Activity

            People

            Assignee:
            heath Heath Seals
            Reporter:
            jcamara Jonathan Camara
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support