The CLI assumes that the option used to specify parent collections is "--type-identifier", but it can also be "--parent-type-identifier" or "--parent-type-name". If one of these two alternatives is used when trying to add an object, the CLI won't recognize them and won't select the right parent. As a result the autocompleted list of available options will be incorrect. For example, when adding a disk to a storage domain the user will type the following: $ add disk --parent-storagedomain-name mydata <TAB><TAB> But the CLI won't understand the "--parent-storagedomain-name" option, and it will show the options of the "/disks" collection instead of the options of the "/storagedomains/{storagedomain:id}/disks" collection.
oVirt 3.6.2 RC1 has been released for testing, moving to ON_QA
Verified with: ovirt-engine-cli-3.6.2.0-1.el6.noarch [oVirt shell (connected)]# add disk --parent-storagedomain-name mydata <TAB><TAB> alias expect name parent-storagedomain-name quota-id unregistered bootable format openstack_volume_type-name parent-vm-identifier sgio wipe_after_delete correlation_id interface parent-datacenter-identifier parent-vm-name shareable description lun_storage-logical_unit parent-datacenter-name propagate_errors size disk_profile-id lun_storage-type parent-storagedomain-identifier provisioned_size sparse [oVirt shell (connected)]# add disk <TAB><TAB> alias expect lun_storage-type parent-storagedomain-identifier provisioned_size sparse bootable format name parent-storagedomain-name quota-id storage_domains-storage_domain correlation_id interface openstack_volume_type-name parent-vm-identifier sgio wipe_after_delete description lun_storage-host parent-datacenter-identifier parent-vm-name shareable disk_profile-id lun_storage-logical_unit parent-datacenter-name propagate_errors size