Bug 1578964

Summary: Create Volume failed: undefined method `my_zone'
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: ProvidersAssignee: Scott Seago <sseago>
Status: CLOSED ERRATA QA Contact: Ido Ovadia <iovadia>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: cpelland, gblomqui, hkataria, jfrey, jhardy, jprause, lavenel, maufart, mpovolny, ndhandre, obarenbo, pakotvan, sseago
Target Milestone: GAKeywords: Regression, ZStream
Target Release: 5.9.3   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 5.9.3.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1570570 Environment:
Last Closed: 2018-07-12 13:15:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Openstack Target Upstream Version:
Embargoed:
Bug Depends On: 1570570    
Bug Blocks:    
Attachments:
Description Flags
Error undefined method while creating volume none

Comment 3 CFME Bot 2018-05-16 17:57:27 UTC
New commit detected on ManageIQ/manageiq-ui-classic/gaprindashvili:

https://github.com/ManageIQ/manageiq-ui-classic/commit/0b6fc2317eddfa55c5cc1dd780841a50142ceab4
commit 0b6fc2317eddfa55c5cc1dd780841a50142ceab4
Author:     Harpreet Kataria <hkataria>
AuthorDate: Mon May  7 14:31:37 2018 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Mon May  7 14:31:37 2018 -0400

    Merge pull request #3878 from sseago/bz1570570

    bug 1570570:  cloud volume create fixes
    (cherry picked from commit 56248224ca5af4eb76d7532c055b21aba5d5c087)

    https://bugzilla.redhat.com/show_bug.cgi?id=1578964

 app/controllers/cloud_volume_controller.rb | 28 +-
 app/views/cloud_volume/_common_new_edit.html.haml | 2 +-
 2 files changed, 14 insertions(+), 16 deletions(-)

Comment 4 Ido Ovadia 2018-05-27 10:35:13 UTC
Failed QA
=========

Steps to Reproduce:
===================
1. Browse: Storage --> Block Storage --> Volumes
2. Click Configuration --> Add a new Cloud Volume
3. Enter parameters and Click 'Add'

Actual results:
===============

Unexpected error encountered
undefined method `ext_management_system' for nil:NilClass [cloud_volume/create]

log enclosed

Comment 5 Ido Ovadia 2018-05-27 10:42:51 UTC
Created attachment 1442253 [details]
Error undefined method while creating volume

Comment 7 Scott Seago 2018-05-30 17:10:01 UTC
Apparently this is a result of a typo in my original PR that didn't show up in testing in my local env on master. I've submitted a follow-up PR and moved the parent bug back to ON_DEV. Once that's merged, it can be backported here for re-testing. https://github.com/ManageIQ/manageiq-ui-classic/pull/4006

Comment 8 CFME Bot 2018-06-01 15:30:10 UTC
New commit detected on ManageIQ/manageiq-ui-classic/gaprindashvili:

https://github.com/ManageIQ/manageiq-ui-classic/commit/bfa9d227ed9f803ff6a8fb1a3ad04301a5442810
commit bfa9d227ed9f803ff6a8fb1a3ad04301a5442810
Author:     Milan Zázrivec <mzazrivec>
AuthorDate: Thu May 31 10:01:04 2018 -0400
Commit:     Milan Zázrivec <mzazrivec>
CommitDate: Thu May 31 10:01:04 2018 -0400

    Merge pull request #4006 from sseago/bz1570570-2

    bz 1570570: Fix typo in earlier commit
    (cherry picked from commit abb8ad45fd4f15f89aa646fb3c8d833c20f024cc)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1578964

 app/views/cloud_volume/_common_new_edit.html.haml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 9 Ido Ovadia 2018-06-07 12:57:52 UTC
Verified
========
CFME 5.9.3.1

Comment 11 errata-xmlrpc 2018-07-12 13:15:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:2184