[kolla-ansible] Gather facts strange error

Mark Goddard mark at stackhpc.com
Mon Jan 17 09:23:08 UTC 2022


Failed to connect to the host via ssh: ssh: connect to host
192.168.75.178 port 22: No route to host

On Fri, 14 Jan 2022 at 05:35, Satish Patel <satish.txt at gmail.com> wrote:
>
> Folks,
>
> I have a working cluster but today when I ran the following command I
> got very nasty error like the following. Even 192.168.75.144 is
> function node but giving super log error output that i can't copy
> paste here.
>
> $ sudo kolla-ansible -i /etc/kolla/multinode deploy -t nova-cell
> --limit 192.168.75.144
> ...
> ....
> .......
> PLAY [Gather facts for all hosts]
> ********************************************************************************************************************************************************************
>
> TASK [Gather facts]
> **********************************************************************************************************************************************************************************
> ok: [192.168.75.144]
>
> TASK [Group hosts to determine when using --limit]
> ***************************************************************************************************************************************************
> ok: [192.168.75.144]
>
> PLAY [Gather facts for all hosts (if using --limit)]
> *************************************************************************************************************************************************
>
> TASK [Gather facts]
> **********************************************************************************************************************************************************************************
> skipping: [192.168.75.144] => (item=192.168.75.144)
> ok: [192.168.75.144 -> 192.168.75.145] => (item=192.168.75.145)
> ok: [192.168.75.144 -> 192.168.75.146] => (item=192.168.75.146)
> failed: [192.168.75.144 -> 192.168.75.178] (item=192.168.75.178) =>
> {"ansible_loop_var": "item", "item": "192.168.75.178", "msg": "Failed
> to connect to the host via ssh: ssh: connect to host 192.168.75.178
> port 22: No route to host", "unreachable": true}
> ok: [192.168.75.144 -> 192.168.75.179] => (item=192.168.75.179)
> failed: [192.168.75.144 -> 192.168.75.180] (item=192.168.75.180) =>
> {"ansible_loop_var": "item", "item": "192.168.75.180", "msg": "Failed
> to connect to the host via ssh: ssh: connect to host 192.168.75.180
> port 22: No route to host", "unreachable": true}
> ok: [192.168.75.144 -> 192.168.75.181] => (item=192.168.75.181)
> ok: [192.168.75.144 -> 192.168.75.147] => (item=192.168.75.147)
> ok: [192.168.75.144 -> localhost] => (item=localhost)
> fatal: [192.168.75.144 -> {{ item }}]: UNREACHABLE! => {"changed":
> false, "msg": "All items completed", "results": [{"ansible_loop_var":
> "item", "changed": false, "item": "192.168.75.144", "skip_reason":
> "Conditional result was False", "skipped": true}, {"ansible_facts":
> {"ansible_all_ipv4_addresses": ["192.168.75.145"],
> "ansible_all_ipv6_addresses": ["fe80::3eec:efff:fe1f:1776",
> "fe80::f802:e3ff:fe71:e58c"], "ansible_apparmor": {"status":
> "disabled"}, "ansible_architecture": "x86_64", "ansible_bios_date":
> "02/27/2020", "ansible_bios_version": "3.3", "ansible_br_ex":
> {"active": false, "device": "br-ex", "features": {"esp_hw_offload":
> "off [fixed]", "esp_tx_csum_hw_offload": "off [fixed]", "fcoe_mtu":
> "off [fixed]", "generic_receive_offload": "on",
> "generic_segmentation_offload": "on", "highdma": "on",
> "hw_tc_offload": "off [fixed]", "l2_fwd_offload": "off [fixed]",
> "large_receive_offload": "off [fixed]", "loopback": "off [fixed]",
> "netns_local": "off [fixed]", "ntuple_filters": "off [fixed]",
> "receive_hashing": "off [fixed]", "rx_all": "off [fixed]",
> "rx_checksumming": "off [fixed]", "rx_fcs": "off [fixed]",
> "rx_gro_hw": "off [fixed]", "rx_gro_list": "off",
> "rx_udp_tunnel_port_offload": "off [fixed]", "rx_vlan_filter": "off
> [fixed]", "rx_vlan_offload": "off [fixed]", "rx_vlan_stag_filter":
> "off [fixed]", "rx_vlan_stag_hw_parse": "off [fixed]",
> "scatter_gather": "on", "tcp_segmentation_offload": "on",
> "tls_hw_record": "off [fixed]", "tls_hw_rx_offload": "off [fixed]",
>
> ....
> ....
> END
>
> PLAY RECAP *******************************************************************************************************************************************************************************************
> 192.168.75.144             : ok=2    changed=0    unreachable=1
> failed=0    skipped=0    rescued=0    ignored=0
>
> Command failed ansible-playbook -i /etc/kolla/multinode -e
> @/etc/kolla/globals.yml  -e @/etc/kolla/passwords.yml -e
> CONFIG_DIR=/etc/kolla  --tags nova-cell --limit 192.168.75.144 -e
> kolla_action=deploy /usr/local/share/kolla-ansible/ansible/site.yml
>



More information about the openstack-discuss mailing list