Bug 1574351
| Summary: | prov.set_vlan() method didn't set the vnicprofiles identifier | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Gellert Kis <gekis> | |
| Component: | Providers | Assignee: | Alona Kaplan <alkaplan> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Radim Hrazdil <rhrazdil> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | 5.9.0 | CC: | brant.evans, cpelland, gblomqui, gekis, greartes, jfrey, jhardy, mperina, obarenbo, pmcgowan | |
| Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
| Target Release: | 5.10.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | rhev | |||
| Fixed In Version: | 5.10.0.0 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1584406 (view as bug list) | Environment: | 
       5.9.1 
 | 
        |
| Last Closed: | 2019-02-11 14:07:10 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | Bug | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | RHEVM | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1584406, 1609809 | |||
| 
 
        
          Comment 6
        
        
          CFME Bot
        
        
        
        
        
          2018-05-27 12:44:27 UTC
        
       
      
      
      
    New commit detected on ManageIQ/manageiq-providers-ovirt/master: https://github.com/ManageIQ/manageiq-providers-ovirt/commit/49f086a240dbf8c1158a6129dc8c2ba81cbf91a4 commit 49f086a240dbf8c1158a6129dc8c2ba81cbf91a4 Author: Alona Kaplan <alkaplan> AuthorDate: Mon May 21 09:26:57 2018 -0400 Commit: Alona Kaplan <alkaplan> CommitDate: Mon May 21 09:26:57 2018 -0400 Accept 'profile_name (network_name)' as a valid vlan for vm provision 'profile_id' or 'profile_name (network_name)' are both acceptable. Fixes https://bugzilla.redhat.com/1574351 app/models/manageiq/providers/redhat/infra_manager/ovirt_services/strategies/v4.rb | 40 +- app/models/manageiq/providers/redhat/infra_manager/provision_workflow.rb | 11 + spec/models/manageiq/providers/redhat/infra_manager/provision/configuration/network_spec.rb | 30 +- 3 files changed, 68 insertions(+), 13 deletions(-) New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/159e36074a874ca159ac5e0055f532c7f40bd380 commit 159e36074a874ca159ac5e0055f532c7f40bd380 Author: Alona Kaplan <alkaplan> AuthorDate: Wed May 30 07:38:36 2018 -0400 Commit: Alona Kaplan <alkaplan> CommitDate: Wed May 30 07:38:36 2018 -0400 Adding the profile description option to the provision error message If the requested vlan/network is wrong, the error message will be- 'Virtual NIC Profile ID or Profile Name (Network Name)' Fixes https://bugzilla.redhat.com/1578393 Fixes https://bugzilla.redhat.com/1574351 product/dialogs/miq_dialogs/miq_provision_redhat_dialogs_clone_to_vm.yaml | 1 + product/dialogs/miq_dialogs/miq_provision_redhat_dialogs_template.yaml | 3 +- 2 files changed, 3 insertions(+), 1 deletion(-) Verified by doing the following:
1) created new domain in automate/explored and copied redhat_PreProvision method to the created domain
2) edited process_customization method to call set_vlan with hardcoded 'ovirtmgmt (ovirtmgmt)':
   prov.set_vlan('ovirtmgmt (ovirtmgmt)')
Provisioned VM and checked that the vlan was set to the harcoded value successfully.
CFME 5.10.0.15.20180914163601_fb02d7e
RHV Version:4.2.6.3-0.1.el7ev
     |