Bug 1624840 - Unable to update Cloud Volume using CFME 5.10 with OSP 14
Summary: Unable to update Cloud Volume using CFME 5.10 with OSP 14
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.10.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.10.0
Assignee: Alexander Demicev
QA Contact: Ido Ovadia
URL:
Whiteboard:
: 1643922 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-03 12:18 UTC by Danylo Kholodov
Modified: 2019-02-12 16:52 UTC (History)
11 users (show)

Fixed In Version: 5.10.0.23
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1648674 (view as bug list)
Environment:
Last Closed: 2019-02-12 16:52:29 UTC
Category: ---
Cloudforms Team: Openstack
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
update_volume (222.98 KB, image/png)
2018-09-03 12:18 UTC, Danylo Kholodov
no flags Details
production.log (149.98 KB, text/plain)
2018-09-03 12:20 UTC, Danylo Kholodov
no flags Details
evm.log (155.96 KB, text/plain)
2018-09-03 12:20 UTC, Danylo Kholodov
no flags Details

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. ***


Note You need to log in before you can comment on or make changes to this bug.