Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all.yaml bastion.options.dns: false results in bastion resolv.conf of forwarder NOT nameserver1 #164

Open
ryoung1us opened this issue Jun 4, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ryoung1us
Copy link

Expected Results
With bastion.options.dns: false and bastion.networking.nameserver1 9.76.61.94
bastion resolv.conf should contain 9.76.61.94

Actual results:

[root@bastion network-scripts]# cat ifcfg-enc1
TYPE=Ethernet
PROXY_METHOD=none
BROWSER_ONLY=no
BOOTPROTO=none
IPADDR=9.76.61.82
PREFIX=24
GATEWAY=9.76.61.1
DNS1=9.76.61.94
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
IPV6_DEFROUTE=yes
IPV6_FAILURE_FATAL=no
IPV6_ADDR_GEN_MODE=eui64
NAME=enc1
UUID=448a3561-0ca3-45e9-b0b3-545695619c1f
DEVICE=enc1
ONBOOT=yes
[root@bastion network-scripts]# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: enc1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:54:00:45:d4:96 brd ff:ff:ff:ff:ff:ff
inet 9.76.61.82/24 brd 9.76.61.255 scope global noprefixroute enc1
valid_lft forever preferred_lft forever
inet6 fe80::5054:ff:fe45:d496/64 scope link
valid_lft forever preferred_lft forever
[root@bastion network-scripts]#
[root@bastion network-scripts]#
[root@bastion network-scripts]# cat /etc/resolv.conf
search ocp1.ibm.com
nameserver 9.0.0.2[root@bastion network-scripts]#

all.yaml bastion section

Section 5 - Bastion

bastion:
create: True
vm_name: bastion
resources:
disk_size: 30
ram: 8192
swap: 4096
vcpu: 4
networking:
ip: 9.76.61.82
hostname: bastion
base_domain: ocp1.ibm.com
subnetmask: 255.255.255.0
gateway: 9.76.61.1
nameserver1: 9.76.61.94

nameserver2:

  forwarder: 9.0.0.2
  interface: enc1
access:
  user: admin1
  pass: its0
  root_pass: its0
options:
  dns: False
  loadbalancer:
    on_bastion: True
    public_ip: 9.76.61.80
    private_ip: 9.76.71.80
@AmadeusPodvratnik AmadeusPodvratnik added the bug Something isn't working label Jun 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants