Advertisement
Guest User

Untitled

a guest
Jul 5th, 2024
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.43 KB | None | 0 0
  1. (kayobe) [kayobe@kayobe-control-host ~]$ kayobe seed hypervisor host configure -t network
  2. {...}
  3. RUNNING HANDLER [MichaelRigart.interfaces : Bounce networkmanager devices] ************************************************************************************************
  4. fatal: [kayobe-control-host]: FAILED! => {"changed": true, "cmd": ["nohup", "bash", "-c", " nmcli connection reload;\nreturncode=0 nmcli connection down broob; nmcli connection down brmgmt; if ! nmcli connection up brmgmt; then\n echo \"Failed to bring up interface brmgmt\";\n returncode=1\nfi; if ! nmcli connection up broob; then\n echo \"Failed to bring up interface broob\";\n returncode=1\nfi; echo 'Waiting for interfaces to become active and have a connected carrier'; for i in {1..20}; do\n all_connected=true\n if [[ 'brmgmt' == *dummy* ]]; then\n allowed_states='UNKNOWN|UP'\n else\n allowed_states='UP'\n fi\n\n if ! (nmcli -t -f DEVICE,STATE device status | grep -q -w 'brmgmt:connected' && ip link show 'brmgmt' | grep -q -E 'state ('$allowed_states')'); then\n all_connected=false\n if [ $i -eq 20 ]; then\n echo 'Interface brmgmt failed to become active and have a connected carrier';\n returncode=1\n fi\n fi;\n if [[ 'broob' == *dummy* ]]; then\n allowed_states='UNKNOWN|UP'\n else\n allowed_states='UP'\n fi\n\n if ! (nmcli -t -f DEVICE,STATE device status | grep -q -w 'broob:connected' && ip link show 'broob' | grep -q -E 'state ('$allowed_states')'); then\n all_connected=false\n if [ $i -eq 20 ]; then\n echo 'Interface broob failed to become active and have a connected carrier';\n returncode=1\n fi\n fi;\n \n if $all_connected; then\n break;\n fi\n sleep 2;\ndone\nexit $returncode"], "delta": "0:00:40.978136", "end": "2024-07-05 14:20:34.354166", "msg": "non-zero return code", "rc": 1, "start": "2024-07-05 14:19:53.376030", "stderr": "nohup: ignoring input", "stderr_lines": ["nohup: ignoring input"], "stdout": "Connection 'broob' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/154)\nConnection 'brmgmt' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/153)\nConnection successfully activated (master waiting for slaves) (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/155)\nConnection successfully activated (master waiting for slaves) (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/156)\nWaiting for interfaces to become active and have a connected carrier\nInterface brmgmt failed to become active and have a connected carrier\nInterface broob failed to become active and have a connected carrier", "stdout_lines": ["Connection 'broob' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/154)", "Connection 'brmgmt' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/153)", "Connection successfully activated (master waiting for slaves) (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/155)", "Connection successfully activated (master waiting for slaves) (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/156)", "Waiting for interfaces to become active and have a connected carrier", "Interface brmgmt failed to become active and have a connected carrier", "Interface broob failed to become active and have a connected carrier"]}
  5.  
  6. PLAY RECAP ****************************************************************************************************************************************************************
  7. kayobe-control-host : ok=25 changed=1 unreachable=0 failed=1 skipped=20 rescued=0 ignored=0
  8.  
  9. Kayobe playbook(s) /home/kayobe/openstack/src/kayobe/ansible/seed-hypervisor-host-configure.yml exited 2
  10. (kayobe) [kayobe@kayobe-control-host ~]$ nmcli con
  11. NAME UUID TYPE DEVICE
  12. eno4 f0069a20-2395-348e-9392-347b29c5f39b ethernet eno4
  13. brmgmt 2a754d33-549c-308c-9a0c-cc304579f392 bridge brmgmt
  14. broob 30f034f4-32d1-30d8-aa00-0468301eccc0 bridge broob
  15. lo f4b3d1ba-9010-4116-852a-a0e1cca7459e loopback lo
  16. eno1 1b316f6c-37c5-35f8-b5d1-7fc69d1d5066 ethernet --
  17. eno2 fc804c3a-10be-457d-a7fa-6b9fb47d59dc ethernet --
  18. eno3 a4e6e7f2-b053-37f9-b11f-63103f8b9f81 ethernet --
  19. ibp3s0 f40fe15d-116a-49d4-9e59-0d91a8611fc5 infiniband --
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement