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

docs: fix the bug that keepalived image missing curl #2481

Merged
merged 1 commit into from
May 20, 2021

Conversation

SataQiu
Copy link
Member

@SataQiu SataQiu commented May 20, 2021

Fixes: #2478
With the new image(osixia/keepalived:2.0.17), keepalived seems to work properly:

*** CONTAINER_LOG_LEVEL = 3 (info)
*** Search service in CONTAINER_SERVICE_DIR = /container/service :
*** link /container/service/keepalived/startup.sh to /container/run/startup/keepalived
*** link /container/service/keepalived/process.sh to /container/run/process/keepalived/run
*** link /container/service/keepalived/finish.sh to /container/run/process/keepalived/finish
*** Set environment for startup files
*** Environment files will be proccessed in this order :
Caution: previously defined variables will not be overriden.
/container/environment/99-default/default.yaml

To see how this files are processed and environment variables values,
run this container with '--loglevel debug'
*** Running /container/run/startup/keepalived...
*** Set environment for container process
*** Environment files will be proccessed in this order :
Caution: previously defined variables will not be overriden.
/container/environment/99-default/default.yaml

To see how this files are processed and environment variables values,
run this container with '--loglevel debug'
*** Running /container/run/process/keepalived/run...
Waiting config file /usr/local/etc/keepalived/keepalived.confok
Thu May 20 10:26:34 2021: Starting Keepalived v2.0.17 (06/25,2019)
Thu May 20 10:26:34 2021: WARNING - keepalived was build for newer Linux 4.18.13, running on Linux 3.10.0-957.21.3.el7.x86_64 #1 SMP Tue Jun 18 16:35:19 UTC 2019
Thu May 20 10:26:34 2021: Command line: '/usr/local/sbin/keepalived' '-f' '/usr/local/etc/keepalived/keepalived.conf'
Thu May 20 10:26:34 2021:               '--dont-fork' '--log-console' '--log-detail' '--dump-conf'
Thu May 20 10:26:34 2021: Opening file '/usr/local/etc/keepalived/keepalived.conf'.
Thu May 20 10:26:34 2021: Starting VRRP child process, pid=55
Thu May 20 10:26:34 2021: Registering Kernel netlink reflector
Thu May 20 10:26:34 2021: Registering Kernel netlink command channel
Thu May 20 10:26:34 2021: Opening file '/usr/local/etc/keepalived/keepalived.conf'.
Thu May 20 10:26:34 2021: WARNING - default user 'keepalived_script' for script execution does not exist - please create.
Thu May 20 10:26:34 2021: WARNING - script '/etc/keepalived/check_apiserver.sh' is not executable for uid:gid 0:0 - disabling.
Thu May 20 10:26:34 2021: SECURITY VIOLATION - scripts are being executed but script_security not enabled.
Thu May 20 10:26:34 2021: Assigned address 172.21.140.61 for interface eth0
Thu May 20 10:26:34 2021: Registering gratuitous ARP shared channel
Thu May 20 10:26:34 2021: (VI_1) removing VIPs.
Thu May 20 10:26:34 2021: ------< Global definitions >------
Thu May 20 10:26:34 2021:  Network namespace = (default)
Thu May 20 10:26:34 2021:  Router ID = LVS_DEVEL
Thu May 20 10:26:34 2021:  Default smtp_alert = unset
Thu May 20 10:26:34 2021:  Default smtp_alert_vrrp = unset
Thu May 20 10:26:34 2021:  Default smtp_alert_checker = unset
Thu May 20 10:26:34 2021:  Checkers log all failures = false
Thu May 20 10:26:34 2021:  Dynamic interfaces = false
Thu May 20 10:26:34 2021:  Default interface = eth0
Thu May 20 10:26:34 2021:  LVS flush = false
Thu May 20 10:26:34 2021:  LVS flush on stop = disabled
Thu May 20 10:26:34 2021:  VRRP notify priority changes = false
Thu May 20 10:26:34 2021:  VRRP IPv4 mcast group = 224.0.0.18
Thu May 20 10:26:34 2021:  VRRP IPv6 mcast group = ff02::12
Thu May 20 10:26:34 2021:  Gratuitous ARP delay = 5
Thu May 20 10:26:34 2021:  Gratuitous ARP repeat = 5
Thu May 20 10:26:34 2021:  Gratuitous ARP refresh timer = 0
Thu May 20 10:26:34 2021:  Gratuitous ARP refresh repeat = 1
Thu May 20 10:26:34 2021:  Gratuitous ARP lower priority delay = 5
Thu May 20 10:26:34 2021:  Gratuitous ARP lower priority repeat = 5
Thu May 20 10:26:34 2021:  Send advert after receive lower priority advert = true
Thu May 20 10:26:34 2021:  Send advert after receive higher priority advert = false
Thu May 20 10:26:34 2021:  Gratuitous ARP interval = 0.000000
Thu May 20 10:26:34 2021:  Gratuitous NA interval = 0.000000
Thu May 20 10:26:34 2021:  VRRP default protocol version = 2
Thu May 20 10:26:34 2021:  VRRP check unicast_src = false
Thu May 20 10:26:34 2021:  VRRP skip check advert addresses = false
Thu May 20 10:26:34 2021:  VRRP strict mode = false
Thu May 20 10:26:34 2021:  VRRP process priority = 0
Thu May 20 10:26:34 2021:  VRRP don't swap = false
Thu May 20 10:26:34 2021:  VRRP realtime priority = 0
Thu May 20 10:26:34 2021:  Checker process priority = 0
Thu May 20 10:26:34 2021:  Checker don't swap = false
Thu May 20 10:26:34 2021:  Checker realtime priority = 0
Thu May 20 10:26:34 2021:  Script security disabled
Thu May 20 10:26:34 2021:  Default script uid:gid 0:0
Thu May 20 10:26:34 2021:  vrrp_netlink_cmd_rcv_bufs = 0
Thu May 20 10:26:34 2021:  vrrp_netlink_cmd_rcv_bufs_force = 0
Thu May 20 10:26:34 2021:  vrrp_netlink_monitor_rcv_bufs = 0
Thu May 20 10:26:34 2021:  vrrp_netlink_monitor_rcv_bufs_force = 0
Thu May 20 10:26:34 2021:  process_monitor_rcv_bufs = 0
Thu May 20 10:26:34 2021:  process_monitor_rcv_bufs_force = 0
Thu May 20 10:26:34 2021:  lvs_netlink_cmd_rcv_bufs = 0
Thu May 20 10:26:34 2021:  lvs_netlink_cmd_rcv_bufs_force = 0
Thu May 20 10:26:34 2021:  lvs_netlink_monitor_rcv_bufs = 0
Thu May 20 10:26:34 2021:  lvs_netlink_monitor_rcv_bufs_force = 0
Thu May 20 10:26:34 2021:  rs_init_notifies = 0
Thu May 20 10:26:34 2021:  no_checker_emails = 0
Thu May 20 10:26:34 2021:  rx_bufs_multiples = 3
Thu May 20 10:26:34 2021:  umask = 0177
Thu May 20 10:26:34 2021: ------< VRRP Topology >------
Thu May 20 10:26:34 2021:  VRRP Instance = VI_1
Thu May 20 10:26:34 2021:    VRRP Version = 2
Thu May 20 10:26:34 2021:    Wantstate = MASTER
Thu May 20 10:26:34 2021:    Interface = eth0
Thu May 20 10:26:34 2021:    Using src_ip = 172.21.140.61
Thu May 20 10:26:34 2021:    Gratuitous ARP delay = 5
Thu May 20 10:26:34 2021:    Gratuitous ARP repeat = 5
Thu May 20 10:26:34 2021:    Gratuitous ARP refresh = 0
Thu May 20 10:26:34 2021:    Gratuitous ARP refresh repeat = 1
Thu May 20 10:26:34 2021:    Gratuitous ARP lower priority delay = 5
Thu May 20 10:26:34 2021:    Gratuitous ARP lower priority repeat = 5
Thu May 20 10:26:34 2021:    Send advert after receive lower priority advert = true
Thu May 20 10:26:34 2021:    Send advert after receive higher priority advert = false
Thu May 20 10:26:34 2021:    Virtual Router ID = 51
Thu May 20 10:26:34 2021:    Priority = 100
Thu May 20 10:26:34 2021:    Advert interval = 1 sec
Thu May 20 10:26:34 2021:    Accept = enabled
Thu May 20 10:26:34 2021:    Preempt = enabled
Thu May 20 10:26:34 2021:    Promote_secondaries = disabled
Thu May 20 10:26:34 2021:    Authentication type = SIMPLE_PASSWORD
Thu May 20 10:26:34 2021:    Password = 42
Thu May 20 10:26:34 2021:    Virtual IP = 1
Thu May 20 10:26:34 2021:      172.21.140.30 dev eth0 scope global
Thu May 20 10:26:34 2021:    No sockets allocated
Thu May 20 10:26:34 2021:    Using smtp notification = no
Thu May 20 10:26:34 2021:    Notify priority changes = false
Thu May 20 10:26:34 2021: ------< Interfaces >------
Thu May 20 10:26:34 2021:  Name = lo
Thu May 20 10:26:34 2021:    index = 1
Thu May 20 10:26:34 2021:    IPv4 address = 127.0.0.1
Thu May 20 10:26:34 2021:    IPv6 address = (none)
Thu May 20 10:26:34 2021:    State = UP, RUNNING, no broadcast, loopback, no multicast
Thu May 20 10:26:34 2021:    MTU = 65536
Thu May 20 10:26:34 2021:    HW Type = LOOPBACK
Thu May 20 10:26:34 2021:    NIC netlink status update
Thu May 20 10:26:34 2021:    Reset ARP config counter 0
Thu May 20 10:26:34 2021:    Original arp_ignore 0
Thu May 20 10:26:34 2021:    Original arp_filter 0
Thu May 20 10:26:34 2021:    Original promote_secondaries 0
Thu May 20 10:26:34 2021:    Reset promote_secondaries counter 0
Thu May 20 10:26:34 2021:    Tracking VRRP instances = 0
Thu May 20 10:26:34 2021:  Name = eth0
Thu May 20 10:26:34 2021:    index = 2
Thu May 20 10:26:34 2021:    IPv4 address = 172.21.140.61
Thu May 20 10:26:34 2021:    IPv6 address = (none)
Thu May 20 10:26:34 2021:    MAC = 00:16:3e:01:4e:27
Thu May 20 10:26:34 2021:    MAC broadcast = ff:ff:ff:ff:ff:ff
Thu May 20 10:26:34 2021:    State = UP, RUNNING
Thu May 20 10:26:34 2021:    MTU = 1500
Thu May 20 10:26:34 2021:    HW Type = ETHERNET
Thu May 20 10:26:34 2021:    NIC netlink status update
Thu May 20 10:26:34 2021:    Reset ARP config counter 0
Thu May 20 10:26:34 2021:    Original arp_ignore 0
Thu May 20 10:26:34 2021:    Original arp_filter 0
Thu May 20 10:26:34 2021:    Original promote_secondaries 1
Thu May 20 10:26:34 2021:    Reset promote_secondaries counter 0
Thu May 20 10:26:34 2021:    Tracking VRRP instances = 1
Thu May 20 10:26:34 2021:      VI_1, weight 0
Thu May 20 10:26:34 2021:  Name = docker0
Thu May 20 10:26:34 2021:    index = 3
Thu May 20 10:26:34 2021:    IPv4 address = 172.17.0.1
Thu May 20 10:26:34 2021:    IPv6 address = (none)
Thu May 20 10:26:34 2021:    MAC = 02:42:d0:c7:58:6d
Thu May 20 10:26:34 2021:    MAC broadcast = ff:ff:ff:ff:ff:ff
Thu May 20 10:26:34 2021:    State = UP, RUNNING
Thu May 20 10:26:34 2021:    MTU = 1500
Thu May 20 10:26:34 2021:    HW Type = ETHERNET
Thu May 20 10:26:34 2021:    NIC netlink status update
Thu May 20 10:26:34 2021:    Reset ARP config counter 0
Thu May 20 10:26:34 2021:    Original arp_ignore 0
Thu May 20 10:26:34 2021:    Original arp_filter 0
Thu May 20 10:26:34 2021:    Original promote_secondaries 1
Thu May 20 10:26:34 2021:    Reset promote_secondaries counter 0
Thu May 20 10:26:34 2021:    Tracking VRRP instances = 0
Thu May 20 10:26:34 2021:  Name = br-d2b056fbea2c
Thu May 20 10:26:34 2021:    index = 4
Thu May 20 10:26:34 2021:    IPv4 address = 172.18.0.1
Thu May 20 10:26:34 2021:    IPv6 address = fe80::1
Thu May 20 10:26:34 2021:    MAC = 02:42:f0:7a:50:be
Thu May 20 10:26:34 2021:    MAC broadcast = ff:ff:ff:ff:ff:ff
Thu May 20 10:26:34 2021:    State = UP, not RUNNING
Thu May 20 10:26:34 2021:    MTU = 1500
Thu May 20 10:26:34 2021:    HW Type = ETHERNET
Thu May 20 10:26:34 2021:    NIC netlink status update
Thu May 20 10:26:34 2021:    Reset ARP config counter 0
Thu May 20 10:26:34 2021:    Original arp_ignore 0
Thu May 20 10:26:34 2021:    Original arp_filter 0
Thu May 20 10:26:34 2021:    Original promote_secondaries 1
Thu May 20 10:26:34 2021:    Reset promote_secondaries counter 0
Thu May 20 10:26:34 2021:    Tracking VRRP instances = 0
Thu May 20 10:26:34 2021:  Name = vxlan.calico
Thu May 20 10:26:34 2021:    index = 8
Thu May 20 10:26:34 2021:    IPv4 address = 192.168.209.1
Thu May 20 10:26:34 2021:    IPv6 address = (none)
Thu May 20 10:26:34 2021:    MAC = 66:e7:c0:8d:2f:11
Thu May 20 10:26:34 2021:    MAC broadcast = ff:ff:ff:ff:ff:ff
Thu May 20 10:26:34 2021:    State = UP, RUNNING
Thu May 20 10:26:34 2021:    MTU = 1450
Thu May 20 10:26:34 2021:    HW Type = ETHERNET
Thu May 20 10:26:34 2021:    NIC netlink status update
Thu May 20 10:26:34 2021:    Reset ARP config counter 0
Thu May 20 10:26:34 2021:    Original arp_ignore 0
Thu May 20 10:26:34 2021:    Original arp_filter 0
Thu May 20 10:26:34 2021:    Original promote_secondaries 1
Thu May 20 10:26:34 2021:    Reset promote_secondaries counter 0
Thu May 20 10:26:34 2021:    Tracking VRRP instances = 0
Thu May 20 10:26:34 2021:  Name = vethc390e21
Thu May 20 10:26:34 2021:    index = 156
Thu May 20 10:26:34 2021:    IPv4 address = (none)
Thu May 20 10:26:34 2021:    IPv6 address = (none)
Thu May 20 10:26:34 2021:    MAC = 9e:ec:dd:0d:eb:91
Thu May 20 10:26:34 2021:    MAC broadcast = ff:ff:ff:ff:ff:ff
Thu May 20 10:26:34 2021:    State = UP, RUNNING
Thu May 20 10:26:34 2021:    MTU = 1500
Thu May 20 10:26:34 2021:    HW Type = ETHERNET
Thu May 20 10:26:34 2021:    NIC netlink status update
Thu May 20 10:26:34 2021:    Reset ARP config counter 0
Thu May 20 10:26:34 2021:    Original arp_ignore 0
Thu May 20 10:26:34 2021:    Original arp_filter 0
Thu May 20 10:26:34 2021:    Original promote_secondaries 1
Thu May 20 10:26:34 2021:    Reset promote_secondaries counter 0
Thu May 20 10:26:34 2021:    Tracking VRRP instances = 0
Thu May 20 10:26:34 2021:  Name = veth2438556
Thu May 20 10:26:34 2021:    index = 158
Thu May 20 10:26:34 2021:    IPv4 address = (none)
Thu May 20 10:26:34 2021:    IPv6 address = (none)
Thu May 20 10:26:34 2021:    MAC = 52:ee:7a:cf:09:af
Thu May 20 10:26:34 2021:    MAC broadcast = ff:ff:ff:ff:ff:ff
Thu May 20 10:26:34 2021:    State = UP, RUNNING
Thu May 20 10:26:34 2021:    MTU = 1500
Thu May 20 10:26:34 2021:    HW Type = ETHERNET
Thu May 20 10:26:34 2021:    NIC netlink status update
Thu May 20 10:26:34 2021:    Reset ARP config counter 0
Thu May 20 10:26:34 2021:    Original arp_ignore 0
Thu May 20 10:26:34 2021:    Original arp_filter 0
Thu May 20 10:26:34 2021:    Original promote_secondaries 1
Thu May 20 10:26:34 2021:    Reset promote_secondaries counter 0
Thu May 20 10:26:34 2021:    Tracking VRRP instances = 0
Thu May 20 10:26:34 2021: (VI_1) Entering BACKUP STATE (init)
Thu May 20 10:26:34 2021: VRRP sockpool: [ifindex(2), family(IPv4), proto(112), unicast(0), fd(11,12)]
Thu May 20 10:26:38 2021: (VI_1) Receive advertisement timeout
Thu May 20 10:26:38 2021: (VI_1) Entering MASTER STATE
Thu May 20 10:26:38 2021: (VI_1) setting VIPs.
Thu May 20 10:26:38 2021: Sending gratuitous ARP on eth0 for 172.21.140.30
Thu May 20 10:26:38 2021: (VI_1) Sending/queueing gratuitous ARPs on eth0 for 172.21.140.30
Thu May 20 10:26:38 2021: Sending gratuitous ARP on eth0 for 172.21.140.30
Thu May 20 10:26:38 2021: Sending gratuitous ARP on eth0 for 172.21.140.30
Thu May 20 10:26:38 2021: Sending gratuitous ARP on eth0 for 172.21.140.30
Thu May 20 10:26:38 2021: Sending gratuitous ARP on eth0 for 172.21.140.30
Thu May 20 10:26:43 2021: Sending gratuitous ARP on eth0 for 172.21.140.30
Thu May 20 10:26:43 2021: (VI_1) Sending/queueing gratuitous ARPs on eth0 for 172.21.140.30
Thu May 20 10:26:43 2021: Sending gratuitous ARP on eth0 for 172.21.140.30
Thu May 20 10:26:43 2021: Sending gratuitous ARP on eth0 for 172.21.140.30
Thu May 20 10:26:43 2021: Sending gratuitous ARP on eth0 for 172.21.140.30
Thu May 20 10:26:43 2021: Sending gratuitous ARP on eth0 for 172.21.140.30

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 20, 2021
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels May 20, 2021
@neolit123
Copy link
Member

Thanks @SataQiu
/lgtm
/kind documentation

@k8s-ci-robot k8s-ci-robot added the kind/documentation Categorizes issue or PR as related to documentation. label May 20, 2021
@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label May 20, 2021
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: neolit123, SataQiu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot merged commit 002f29d into kubernetes:master May 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/documentation Categorizes issue or PR as related to documentation. lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/cluster-lifecycle Categorizes an issue or PR as relevant to SIG Cluster Lifecycle. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ha-considerations.md: keepalived image missing curl
3 participants