There are few places where duplicate keys are added in the dictionary.
Removed all such occurrences throughout the code.
Trivial Fix
Change-Id: I2e674aed2cd04d2c78cfb44d8ed525c68be79ab1
'size': 5,
'availability_zone': 'somewhere',
'created_at': timeutils.utcnow(),
- 'attach_status': None,
'display_name': 'anothervolume',
'display_description': 'Just another volume!',
'volume_type_id': None,
'size': 5,
'availability_zone': 'somewhere',
'created_at': timeutils.utcnow(),
- 'attach_status': None,
'display_name': 'anothervolume',
'display_description': 'Just another volume!',
'volume_type_id': None,
'display_description': 'test volume',
'volume_type_id': None,
'provider_location': '11',
- 'volume': {"volume_id": '21ec7341-9256-497b-97d9-ef48edcf0635'},
'volume': {'provider_location': '12'},
}