Bug 1318701

Summary: [rhevm-cli] 'vm start --use_cloud_init' command has several missing 'vm-initialization-*' parameters
Product: [oVirt] ovirt-engine Reporter: Ilanit Stein <istein>
Component: RestAPIAssignee: Marek Libra <mlibra>
Status: CLOSED EOL QA Contact: Shira Maximov <mshira>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.6.3.3CC: bugs, istein, mavital, mgoldboi, michal.skrivanek, mshira, rhev-integ, sbonazzo, tjelinek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-29 11:15:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1343099    
Bug Blocks:    

Comment 1 Juan Hernández 2016-03-23 15:18:48 UTC
This happens because the missing options aren't documented in the RSDL metadata. As a result they aren't available in the Python SDK, and in the CLI. Once this is fixed in the server side the Python SDK will need to be regenerated. No change will be needed in the CLI.

Comment 2 Sandro Bonazzola 2016-05-02 09:49:57 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 3 Yaniv Lavi 2016-05-23 13:14:07 UTC
oVirt 4.0 beta has been released, moving to RC milestone.

Comment 5 Marek Libra 2016-05-26 11:10:56 UTC
Ilanit, can you please recheck bug validity for Python SDK in 4.0?
It seems like the code is already there (ovirt-engine-api-model).

Comment 6 Marek Libra 2016-06-09 14:15:57 UTC
missing properties will be added to the 3.6 SDK

Comment 7 Red Hat Bugzilla Rules Engine 2016-06-09 14:16:02 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 8 Marek Libra 2016-06-13 12:35:44 UTC
SDK needs to be regenerated

Comment 9 Ilanit Stein 2016-06-20 14:24:44 UTC
Moving the need info to Shira, as she is the QA Contact.

Comment 10 Shira Maximov 2016-06-26 11:04:01 UTC
(In reply to Marek Libra from comment #5)
> Ilanit, can you please recheck bug validity for Python SDK in 4.0?
> It seems like the code is already there (ovirt-engine-api-model).

yes, the code isn't there yet.

Comment 11 Shira Maximov 2016-07-12 10:53:17 UTC
try to verify on : RHEVM 3.6.8
can't verify yet, because the code isn't available yet.

Comment 12 Michal Skrivanek 2016-07-12 11:06:11 UTC
code is in 3.6.8-2 build

Comment 13 Shira Maximov 2016-07-15 12:00:21 UTC
verified on : 
rhevm-cli-3.6.2.1-1.el6ev.noarch

verification steps : 
check if the command has all the missing parameters 


output : 
[RHEVM shell (connected)]# action vm '4b4bb65c-11dc-4a68-8d40-c76de7d9a49b' start  --use_cloud_init true --async false vm-initialization-
vm-initialization-active_directory_ou
vm-initialization-authorized_ssh_keys
vm-initialization-cloud_init-authorized_keys-authorized_key
vm-initialization-cloud_init-host-address
vm-initialization-cloud_init-network_configuration-dns-search_domains-host
vm-initialization-cloud_init-network_configuration-dns-servers-host
vm-initialization-cloud_init-network_configuration-nics-nic
vm-initialization-cloud_init-payload_files-payload_file
vm-initialization-cloud_init-regenerate_ssh_keys
vm-initialization-cloud_init-timezone
vm-initialization-cloud_init-users-user
vm-initialization-custom_script
vm-initialization-dns_search
vm-initialization-dns_servers
vm-initialization-domain
vm-initialization-host_name
vm-initialization-input_locale
vm-initialization-nic_configurations-nic_configuration
vm-initialization-org_name
vm-initialization-regenerate_ssh_keys
vm-initialization-root_password
vm-initialization-system_locale
vm-initialization-timezone
vm-initialization-ui_language
vm-initialization-user_name
vm-initialization-windows_license_key