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

Obtaining the ip address of the guest and update address cache #4002

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Sep 18, 2024

  1. Obtaing the ip address of the guest and update address cache

    Few of the times it is seen that the ip address is not being fetch and the avocado runs were failed with error "ERROR: Failures occurred while postprocess:\n\n: Guest virt-tests-vm1 dmesg verification failed: Login timeout expired (output: 'exceeded 240 s timeout, last failure: No ipv4 DHCP lease for MAC aa:bb:cc:dd:ee:ff') "
    
    To handle this error the patch has been sent. The patch helps in obtaining ip address of the guest using "virsh-net-dhcp-leases default" command. If the guest mac address is found in the command output, the mac ipv4 address is obatined and updated in the address.cache
    
    Signed-off-by: Tasmiya Nalatwad <tasmiya@linux.vnet.ibm.com>
    TasmiyaNalatwad committed Sep 18, 2024
    Configuration menu
    Copy the full SHA
    f04a5f8 View commit details
    Browse the repository at this point in the history