<div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 2, 2012 at 12:31 AM, rh ev <span dir="ltr"><<a href="mailto:watchlist@deltavm.com" target="_blank">watchlist@deltavm.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hello everyone,<div><br></div><div>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.</div>

<div><br></div><div>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.</div>

<div><br></div><div><div><i>2012-11-27 20:06:50.845+0000: 1358: error : virCommandWait:2287 : internal error Child process (/sbin/iscsiadm –mode session) unexpected exit status 21</i></div><div><i>2012-11-27 20:06:50.890+0000: 1358: error : virCommandWait:2287 : internal error Child process (/sbin/iscsiadm –mode session) unexpected exit status 21</i></div>

<div><i>2012-11-27 20:07:10.159+0000: 1358: error : virCommandWait:2287 : internal error Child process (/sbin/iscsiadm –mode discovery –type sendtargets –portal <a href="http://192.168.220.50:3260" target="_blank">192.168.220.50:3260</a>,1) unexpected exit status 4</i></div>

<div><i>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 <a href="http://192.168.220.50:3260" target="_blank">192.168.220.50:3260</a>,1) unexpected exit status 4</i></div>

</div><div><br></div><div>If anyone has any ideas what is causing this it would be a great help. If you need more information let me know.</div><div><br></div><div>Thanks,</div><div><br></div><div>Darcy</div>
</blockquote></div><br></div><div class="gmail_extra">Hi again everyone.</div><div class="gmail_extra"><br></div><div class="gmail_extra">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!</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Anyway I found this thread from a couple years ago and it talks about it being an ARP issue (<a href="https://www.redhat.com/archives/libvirt-users/2010-March/msg00038.html">https://www.redhat.com/archives/libvirt-users/2010-March/msg00038.html</a>). 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.</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">-Darcy</div>