Bug 1624840

Summary: Unable to update Cloud Volume using CFME 5.10 with OSP 14
Product: Red Hat CloudForms Management Engine Reporter: Danylo Kholodov <dkholodo>
Component: UI - OPSAssignee: Alexander Demicev <ademicev>
Status: CLOSED CURRENTRELEASE QA Contact: Ido Ovadia <iovadia>
Severity: medium Docs Contact:
Priority: high    
Version: 5.10.0CC: ademicev, dmetzger, hkataria, iovadia, jhajyahy, jprause, lavenel, mpovolny, obarenbo, simaishi, slucidi
Target Milestone: GAKeywords: Regression, TestOnly, ZStream
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.23 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1648674 (view as bug list) Environment:
Last Closed: 2019-02-12 16:52:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Openstack Target Upstream Version:
Embargoed:
Attachments:
Description Flags
update_volume
none
production.log
none
evm.log none

Description Danylo Kholodov 2018-09-03 12:18:03 UTC
Created attachment 1480529 [details]
update_volume

Description:
The bug is reproduced at the CFME 5.9 + OSP 14 and with the CFME 5.10 + OSP 14 too.

How reproducible:
Always

Pre-Condition:
Cloud provider should be added to the CFME

Steps to Reproduce:
1. Go to Storage -> Block Storage -> Volumes
2. Click to Configurations -> Add a new Cloud Volume
3. Storage manager: RHOS-14-Overcloud Cinder Manager;
   Cloud tenant: admin
   Volume name: volume_1
   Size: 1
4. Click Add
5. Refresh the page and wait while "volume_1" is appeared
6. Select "volume_1" and click Configuration -> Edit selected Cloud Volume
7. Change name "volume_1" to the "volume_2"
8. Click Save

Actual results:
Name should be successfully changed

Expected results:
An error appears:
"Unable to update Cloud Volume "volume_2": Invalid input for field/attribute volume. Value: {u'migration_status': None, u'attachments': [], u'links': [{u'href': u'https://10.0.0.101:13776/v2/bd7acd603e02437dadaf52601dd472e6/volumes/510f6a8d-534e-4e28-9928-0b6294e62466', u'rel': u'self'}, {u'href': u'https://10.0.0.101:13776/bd7acd603e02437dadaf52601dd472e6/volumes/510f6a8d-534e-4e28-9928-0b6294e62466', u'rel': u'bookmark'}], u'availability_zone': u'nova', u'os-vol-host-attr:host': u'hostgroup@tripleo_iscsi#tripleo_iscsi', u'encrypted': False, u'updated_at': u'2018-09-03T12:04:56.000000', u'replication_status': None, u'snapshot_id': None, u'size': u'1', u'user_id': u'4ee7c029c6cb4664a30f21f8ca9b12c6', u'miq_task_id': 10000000000841, u'cloud_tenant_id': u'10000000000001', u'os-vol-mig-status-attr:migstat': None, u'metadata': {}, u'status': u'available', u'description': None, u'multiattach': False, u'source_volid': None, u'consistencygroup_id': None, u'os-vol-mig-status-attr:name_id': None, u'name': u'volume_2', u'task_id': 10000000000841, u'bootable': u'false', u'tenant_id': u'bd7acd603e02437dadaf52601dd472e6', u'created_at': u'2018-09-03T12:04:55.000000', u'volume_type': u''}. Additional properties are not allowed (u'migration_status', u'attachments', u'links', u'availability_zone', u'os-vol-host-attr:host', u'encrypted', u'updated_at', u'replication_status', u'snapshot_id', u'size', u'user_id', u'miq_task_id', u'cloud_tenant_id', u'os-vol-mig-status-attr:migstat', u'status', u'multiattach', u'source_volid', u'consistencygroup_id', u'os-vol-mig-status-attr:name_id', u'task_id', u'bootable', u'tenant_id', u'created_at', u'volume_type' were unexpected)"

Comment 2 Danylo Kholodov 2018-09-03 12:20:07 UTC
Created attachment 1480530 [details]
production.log

Comment 3 Danylo Kholodov 2018-09-03 12:20:31 UTC
Created attachment 1480531 [details]
evm.log

Comment 12 Ido Ovadia 2018-11-11 13:57:21 UTC
Verified
========
5.10.0.23

Comment 13 Alexander Demicev 2018-11-12 14:39:26 UTC
*** Bug 1643922 has been marked as a duplicate of this bug. ***