Bug 1449237

Summary: I can't change only volume name when editing gp2 type block storage volume(EBS)
Product: Red Hat CloudForms Management Engine Reporter: Matouš Mojžíš <mmojzis>
Component: ProvidersAssignee: Greg Blomquist <gblomqui>
Status: CLOSED CURRENTRELEASE QA Contact: Matouš Mojžíš <mmojzis>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: cpelland, gregor.berginc, jfrey, jhardy, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:cloud:storage:volume
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1459940 (view as bug list) Environment:
Last Closed: 2018-03-06 14:55:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1459940    
Attachments:
Description Flags
editing only volume name none

Description Matouš Mojžíš 2017-05-09 13:15:14 UTC
Created attachment 1277367 [details]
editing only volume name

Description of problem:


Version-Release number of selected component (if applicable):
5.8.0.13

How reproducible:
Always

Steps to Reproduce:
1. Have and block storage volume with type gp2
2. Edit it and change its name
3.

Actual results:
Attached in screenshot

Expected results:
I should be able to edit only volume name.

Additional info:

Comment 2 Gregor Berginc 2017-05-09 16:21:46 UTC
The name should be changed, despite the error message. Can you verify this by manually refreshing or checking in your AWS console?

I think I know what is causing this, so I'll try to come around it.

Comment 3 Gregor Berginc 2017-05-09 20:04:06 UTC
Fixed in https://github.com/ManageIQ/manageiq-providers-amazon/pull/249.

As said before, the name was actually changed in EBS (checked via console), but the volume modification (type, size, iops) failed because no changes were made. The above change fixes the way we are checking whether the modification should be done at all (the name will be modified in all cases).

There is one important caveat: when changing an `io1` volume type, this error could occur in case the user would enter the same IOPS as the currently configured volume. The problem is that we are currently not collecting the IOPS data from Amazon (https://github.com/ManageIQ/manageiq-providers-amazon/pull/211 was unfortunately submitted too late and is currently not marked as a blocker).

Comment 5 Matouš Mojžíš 2017-11-15 14:43:10 UTC
Verified in 5.9.0.8. I can change only name too.