On Sun, Dec 2, 2012 at 12:31 AM, rh ev <watchlist@deltavm.com> wrote:
Hello everyone,

I have recently installed libvirt 1.0.0 and am having a problem with my iSCSI storage pool's autostarting. They are just going to an inactive state right after a reboot of the host. However once the startup is complete I can manually start the pool without problem.

I am getting the following errors in the libvirtd.log file but they don't really give me much as to what could be causing this. I also looked in the messages log file but didn't find anything that looked useful.

2012-11-27 20:06:50.845+0000: 1358: error : virCommandWait:2287 : internal error Child process (/sbin/iscsiadm –mode session) unexpected exit status 21
2012-11-27 20:06:50.890+0000: 1358: error : virCommandWait:2287 : internal error Child process (/sbin/iscsiadm –mode session) unexpected exit status 21
2012-11-27 20:07:10.159+0000: 1358: error : virCommandWait:2287 : internal error Child process (/sbin/iscsiadm –mode discovery –type sendtargets –portal 192.168.220.50:3260,1) unexpected exit status 4
2012-11-27 20:07:10.159+0000: 1358: error : storageDriverAutostart:101 : Failed to autostart storage pool ‘stoPool01′: internal error Child process (/sbin/iscsiadm –mode discovery –type sendtargets –portal 192.168.220.50:3260,1) unexpected exit status 4

If anyone has any ideas what is causing this it would be a great help. If you need more information let me know.

Thanks,

Darcy

Hi again everyone.

Sorry to answer my own question but I found the solution. Isn't that the way, right after you post to the mailing list its solved!

Anyway I found this thread from a couple years ago and it talks about it being an ARP issue (https://www.redhat.com/archives/libvirt-users/2010-March/msg00038.html). I enabled portfast on my switch ports that connects to my hosts and this solved it. I guess my servers can restart faster than my switch ports.

-Darcy