Description of problem: Start of vdsmd with reconfiguration blocks on hostname -f. Version-Release number of selected component (if applicable): vdsm-4.13.0-110.git8893dc5.fc19.x86_64 How reproducible: 100% Steps to Reproduce: 1. disconnect ethernet or make dns server unreachable so `hostname -f` blocks 2. touch ovirtmgmt ifcfg file or qemu.conf 3. systemctl start vdsmd 4. systemctl status vdsmd Actual results: Start of the service is blocked on hostame -f. CGroup: name=systemd:/system/vdsmd.service └─control ├─28451 /bin/sh /usr/libexec/vdsm/vdsmd_init_common.sh --pre-start ├─28475 /bin/bash /usr/libexec/vdsm/vdsm-gencerts.sh --check └─28477 hostname -f Expected results: Service starts even if hostname -f blocks. Additional info:
it does not block. after few seconds you get "hostname: Host name lookup failure" and the startup moves on. the actual results are as expected. can you please check again , maybe i missed something otherwise I'll close as NOTABUG my output: ~]# service vdsmd restart Shutting down vdsm daemon: vdsm watchdog stop [ OK ] vdsm: not running [FAILED] vdsm: Running run_final_hooks vdsm stop [ OK ] initctl: Job is already running: libvirtd vdsm: Running mkdirs vdsm: Running configure_coredump vdsm: Running run_init_hooks vdsm: Running gencerts hostname: Host name lookup failure <---- the failure vdsm: Running check_is_configured libvirt is already configured for vdsm sanlock service is already configured vdsm: Running validate_configuration SUCCESS: ssl configured to true. No conflicts vdsm: Running prepare_transient_repository vdsm: Running syslog_available vdsm: Running nwfilter vdsm: Running dummybr vdsm: Running load_needed_modules vdsm: Running tune_system vdsm: Running test_space vdsm: Running test_lo vdsm: Running restore_nets vdsm: Running unified_network_persistence_upgrade vdsm: Running upgrade_300_nets Starting up vdsm daemon: vdsm start [ OK ]
Which version did you test in? Is it possible it got fixed meanwhile? I remember blocking for minutes, will retest in the same version you did.
btw, the host cannot join to cluster with the error "Host *** installation in progress . Cannot validate host name settings, reason: cannot resolve own name '***'." even-though vdsm is up. also, this is the expected behavior
I checked on 3.13 and 3.14 , both works for me after a short delay (hostname's timeout). please recheck and close if works
Also unable to reproduce with blocked DNS in 3.13, feel free to close.