Bug 1449157
Summary: | [RHEV provider][vm provision] Specifying vnic profile on virtual nic instead of network. | |||
---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Alona Kaplan <alkaplan> | |
Component: | Providers | Assignee: | Alona Kaplan <alkaplan> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Angelina Vasileva <anikifor> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 5.8.0 | CC: | adahms, alkaplan, brant.evans, danken, istein, jfrey, jhardy, jzmeskal, masayag, mburman, obarenbo, simaishi | |
Target Milestone: | GA | Keywords: | TestOnly | |
Target Release: | 5.10.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | rhev | |||
Fixed In Version: | 5.10.0.0 | Doc Type: | Release Note | |
Doc Text: |
The purpose of the 'vm_fields.vlan' field was changed for v4 RHV providers.
* In the v3 API it represents the 'network name'.
* In the v4 API (if 'use_ovirt_engine_sdk' is specified in the setting as 'true') it represents the 'vnic profile id' or 'profile name (network name)'.
Example:
/api/provision_requests
1. Provision a virtual machine with one vNic where the 'profile_id' of the vNic is '9c61ef19-f8aa-4ce3-bc24-49d211c1d019'.
"vm_fields" : {
...
"vlan" : "9c61ef19-f8aa-4ce3-bc24-49d211c1d019"
}
2. Provision a virtual machine with one vNic where the 'profile_name' of the vNic is 'ovirtmgmt' and the network name is 'ovirtmgmt'.
"vm_fields" : {
...
"vlan" : "ovirtmgmt (ovirtmgmt)"
}
3. Provision a virtual machine with one vNic where the vNic has no profile.
"vm_fields" : {
...
"vlan" : "<Empty>"
}
4. Provision a virtual machine keeping the source template vNics.
"vm_fields" : {
...
"vlan" : "<Template>"
}
|
Story Points: | --- | |
Clone Of: | ||||
: | 1533499 (view as bug list) | Environment: | ||
Last Closed: | 2018-06-21 21:00:34 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | RHEVM | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1533499 |
Description
Alona Kaplan
2017-05-09 10:07:56 UTC
https://github.com/ManageIQ/manageiq/pull/14991 https://github.com/ManageIQ/manageiq-providers-ovirt/pull/27 Tested on ManageIQ nightly build from July 14 2017 (Version master.20170725053733_604c5f9): The vnic profile list on ManageIQ indeed reflect RHV vNic profile list. For each vNic profile that exist on RHV, VM provision worked well, the profile attached to the created VM was correct, and the VM was run. The VM provision request finished successfully. For profile <Empty> - VM provision succeeded. VM was started. Network interface was set to an empty profile. for profile <None> - VM provision succeeded, VM was started. Network interface was set to the template's vNic profile ** It is required to change the <None> option into something more clear, that will reflect it's actual purpose: 'use template nics'. On CFME version 5.9.0.8.20171109215303_ed87902 there is still the option <None>. Please take a look at Ilanit's comment #4. This option name does obscure its real purpose. Updating the doc text. This bug should be verified by running VM provision, from all types (Native, PXE, ISO) with all Network options. |