[ovirt-users] engine-iso-uploader unexpected behaviour

Yedidyah Bar David didi at redhat.com
Wed Dec 31 17:47:32 UTC 2014


----- Original Message -----
> From: "Steve Atkinson" <satkinson at telvue.com>
> To: users at ovirt.org
> Sent: Wednesday, December 31, 2014 7:15:23 PM
> Subject: [ovirt-users] engine-iso-uploader unexpected behaviour
> 
> When attempting use the engine-iso-uploader to drop ISOs in my iso storage
> domain I get the following results.
> 
> Using engine-iso-uploader --iso-domain=[domain] upload [iso] does not work
> because the engine does not have access to our storage network. So it
> attempts to mount to an address that is not routable. I thought to resolve
> this by adding an interfaces to the Hosted Engine, only to find that I
> cannot modify the Engine's VM config from the GUI. I receive the error:
> Cannot add Interface. This VM is not managed by the engine. Actually, I get
> that error whenever I attempt to modify anything about the engine. Maybe
> this is expected behavior? I can't find any bestpractices regarding Hosted
> Engine administration.
> 
> Alternatively, using engine-iso-uploader --nfs-server=[path] upload [iso]
> --verbose returns the following error:
> 
> ERROR: local variable 'domain_type' referenced before assignment
> INFO: Use the -h option to see usage.
> DEBUG: Configuration:
> DEBUG: command: upload
> DEBUG: Traceback (most recent call last):
> DEBUG: File "/usr/bin/engine-iso-uploader", line 1440, in <module>
> DEBUG: isoup = ISOUploader(conf)
> DEBUG: File "/usr/bin/engine-iso-uploader", line 455, in __init__
> DEBUG: self.upload_to_storage_domain()
> DEBUG: File "/usr/bin/engine-iso-uploader", line 1089, in
> upload_to_storage_domain
> DEBUG: elif domain_type in ('localfs', ):
> DEBUG: UnboundLocalError: local variable 'domain_type' referenced before
> assignment

Do you run it from the engine's machine? The host? Elsewhere?
Where is the iso domain?

This sounds to me like a bug, but I didn't check the sources yet.
Please open one. Thanks.

That said, you can simply copy your iso file directly to the correct
directory inside the iso domain, which is:

/path-to-iso-domain/SOME-UUID/images/11111111-1111-1111-1111-111111111111/

Make sure it's readable to vdsm:kvm (36:36).

Best,
-- 
Didi



More information about the Users mailing list