Bug 950484
Summary: | [engine-image-uploader] Syntax error during rhevm-image-uploader | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Elad <ebenahar> | ||||
Component: | ovirt-engine-iso-uploader | Assignee: | Barak <bazulay> | ||||
Status: | CLOSED DUPLICATE | QA Contact: | Pavel Stehlik <pstehlik> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.2.0 | CC: | acathrow, dyasny, hateya, iheim, knesenko, mgoldboi, oramraz, Rhev-m-bugs, sgrinber, yeylon, ykaul | ||||
Target Milestone: | --- | ||||||
Target Release: | 3.2.0 | ||||||
Hardware: | x86_64 | ||||||
OS: | Unspecified | ||||||
Whiteboard: | integration | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-04-15 05:25:50 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 857028 | ||||||
Attachments: |
|
Description
Elad
2013-04-10 10:21:45 UTC
Elad, 1. You should upload ovf files and not tarballs. 2. Can you try to run the command int that way: rhevm-image-uploader -v -e export1 upload /tmp/test.ovf (In reply to comment #1) > Elad, > > 1. You should upload ovf files and not tarballs. > 2. Can you try to run the command int that way: > rhevm-image-uploader -v -e export1 upload /tmp/test.ovf [root@elad-rhevm32 tmp]# rhevm-image-uploader -v -e export1 upload /tmp/qq.ovf Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to abort): DEBUG: API Vendor(Red Hat) API Version(3.2.0) ERROR: getItem() got an unexpected keyword argument 'query' INFO: Use the -h option to see usage. DEBUG: Configuration: DEBUG: command: upload DEBUG: Traceback (most recent call last): DEBUG: File "/usr/bin/rhevm-image-uploader", line 1403, in <module> DEBUG: imageup = ImageUploader(conf) DEBUG: File "/usr/bin/rhevm-image-uploader", line 329, in __init__ DEBUG: self.upload_to_storage_domain() DEBUG: File "/usr/bin/rhevm-image-uploader", line 1186, in upload_to_storage_domain DEBUG: (id, address, path) = self.get_host_and_path_from_export_domain(self.configuration.get('export_domain')) DEBUG: File "/usr/bin/rhevm-image-uploader", line 434, in get_host_and_path_from_export_domain DEBUG: sd = self.api.storagedomains.get(exportdomain) DEBUG: File "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/brokers.py", line 7909, in get DEBUG: query="name=" + name DEBUG: TypeError: getItem() got an unexpected keyword argument 'query' (In reply to comment #1) > Elad, > > 1. You should upload ovf files and not tarballs. > 2. Can you try to run the command int that way: > rhevm-image-uploader -v -e export1 upload /tmp/test.ovf fixed in bug 947085, please make sure you're using SDK released in sf13-beta2 (In reply to comment #4) > fixed in bug 947085, please make sure you're using SDK released in sf13-beta2 Elad, can you please try to reproduce with latest versions. |