<div dir="ltr">Excellent. Confirmed, this fixes the bug and fails with a more descriptive error.</div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div style="color:rgb(80,0,80)"><font color="#000000">Steve Atkinson</font></div><div style="color:rgb(80,0,80)"><font color="#000000">Director, Network Ops</font></div><div style="color:rgb(80,0,80)"><font color="#000000">Telvue Corporation</font></div><div style="color:rgb(80,0,80)"><a href="mailto:satkinson@telvue.com" style="color:rgb(17,85,204)" target="_blank"><font color="#0b5394">satkinson@telvue.com</font></a></div><div style="color:rgb(80,0,80)"><font color="#000000">O: <a value="+18008858886" style="color:rgb(17,85,204)">800 885 8886 x240</a></font></div><div style="color:rgb(80,0,80)"><font color="#000000">C: <a value="+18569389125" style="color:rgb(17,85,204)">856 938 9125</a></font></div></div></div></div>
<br><div class="gmail_quote">On Thu, Jan 1, 2015 at 3:52 AM, Yedidyah Bar David <span dir="ltr"><<a href="mailto:didi@redhat.com" target="_blank">didi@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">----- Original Message -----<br>
> From: "Yedidyah Bar David" <<a href="mailto:didi@redhat.com">didi@redhat.com</a>><br>
> To: "Steve Atkinson" <<a href="mailto:satkinson@telvue.com">satkinson@telvue.com</a>><br>
> Cc: <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
</span><div><div class="h5">> Sent: Wednesday, December 31, 2014 11:59:57 PM<br>
> Subject: Re: [ovirt-users] engine-iso-uploader unexpected behaviour (steve a)<br>
><br>
> ----- Original Message -----<br>
> > From: "Steve Atkinson" <<a href="mailto:satkinson@telvue.com">satkinson@telvue.com</a>><br>
> > To: "Yedidyah Bar David" <<a href="mailto:didi@redhat.com">didi@redhat.com</a>><br>
> > Cc: <a href="mailto:users@ovirt.org">users@ovirt.org</a><br>
> > Sent: Wednesday, December 31, 2014 11:18:39 PM<br>
> > Subject: Re: [ovirt-users] engine-iso-uploader unexpected behaviour (steve<br>
> > a)<br>
> ><br>
> > in our case our nas doesn't support scp but that no fault of the the<br>
> > manager.<br>
> ><br>
> > I was mentioning more specifically that the --nfs-server method seemed to<br>
> > throw an error on an undefined attribute 'domaintype' that is not something<br>
> > that can be supplied in the config file or passed as an argument. the out<br>
> > put from the the debug is further up in my first email.<br>
><br>
> Sorry.<br>
><br>
> You wrote:<br>
> > Alternatively, using engine-iso-uploader --nfs-server=[path] upload [iso]<br>
> > --verbose returns the following error:<br>
> ><br>
> > ERROR: local variable 'domain_type' referenced before assignment<br>
> > INFO: Use the -h option to see usage.<br>
> > DEBUG: Configuration:<br>
> > DEBUG: command: upload<br>
> > DEBUG: Traceback (most recent call last):<br>
> > DEBUG: File "/usr/bin/engine-iso-uploader", line 1440, in <module><br>
> > DEBUG: isoup = ISOUploader(conf)<br>
> > DEBUG: File "/usr/bin/engine-iso-uploader", line 455, in __init__<br>
> > DEBUG: self.upload_to_storage_domain()<br>
> > DEBUG: File "/usr/bin/engine-iso-uploader", line 1089, in<br>
> > upload_to_storage_domain<br>
> > DEBUG: elif domain_type in ('localfs', ):<br>
> > DEBUG: UnboundLocalError: local variable 'domain_type' referenced before<br>
> > assignment<br>
><br>
> That's indeed a bug. Now pushed a one-line fix [1]. If you can, please<br>
> try and it report. Thanks!<br>
><br>
> [1] <a href="http://gerrit.ovirt.org/36499" target="_blank">http://gerrit.ovirt.org/36499</a><br>
<br>
</div></div>It will fail for you, though - it simply tries to mount directly, and as you<br>
said, your engine can't access your storage network. But hopefully fail with<br>
some nicer error message.<br>
<br>
Best,<br>
<span class="HOEnZb"><font color="#888888">--<br>
Didi<br>
</font></span></blockquote></div><br></div>