Bug 1318701 - [rhevm-cli] 'vm start --use_cloud_init' command has several missing 'vm-initialization-*' parameters
Summary: [rhevm-cli] 'vm start --use_cloud_init' command has several missing 'vm-initi...
Keywords:
Status: CLOSED EOL
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RestAPI
Version: 3.6.3.3
Hardware: Unspecified
OS: Unspecified
medium
medium vote
Target Milestone: ---
: ---
Assignee: Marek Libra
QA Contact: Shira Maximov
URL:
Whiteboard:
Depends On: 1343099
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-17 14:26 UTC by Ilanit Stein
Modified: 2022-03-16 08:49 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-29 11:15:24 UTC
oVirt Team: Virt


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-45313 0 None None None 2022-03-16 08:49:41 UTC
oVirt gerrit 58117 0 master ABANDONED Add Initialization to the VM entity 2016-05-26 11:07:04 UTC
oVirt gerrit 58920 0 master MERGED restapi: VM Start action properties list reviewed in RSDL 2016-06-10 09:34:33 UTC
oVirt gerrit 58929 0 ovirt-engine-4.0 MERGED restapi: VM Start action properties list reviewed in RSDL 2016-06-10 13:59:07 UTC
oVirt gerrit 58998 0 ovirt-engine-3.6 MERGED restapi: VM Start action properties list reviewed in RSDL 2016-06-13 12:27:24 UTC

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


Note You need to log in before you can comment on or make changes to this bug.