← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1276888] [NEW] Not return volume type id but name when nova gets volume object from cinder

 

Public bug reported:

when nova gets volume object and untranslate its, volume_type_id regards
vol.volume_type.

Actually volume_type is returned not an id but a name.

However, some unittest defines volume_type_id to defferent type value.

1. in nova/tests/fake_volumes.py

'volume_type_id': 99

2. in nova/test/api/openstack/fakes.py

'volume_type_id': 'fakevoltype'

I think we should change the name of volume_type_id to volume_type for
appropriate meaning of value.

Otherwise, volume_type_id should be a one type.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1276888

Title:
  Not return volume type id but name when nova gets volume object from
  cinder

Status in OpenStack Compute (Nova):
  New

Bug description:
  when nova gets volume object and untranslate its, volume_type_id
  regards vol.volume_type.

  Actually volume_type is returned not an id but a name.

  However, some unittest defines volume_type_id to defferent type value.

  1. in nova/tests/fake_volumes.py

  'volume_type_id': 99

  2. in nova/test/api/openstack/fakes.py

  'volume_type_id': 'fakevoltype'

  I think we should change the name of volume_type_id to volume_type for
  appropriate meaning of value.

  Otherwise, volume_type_id should be a one type.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1276888/+subscriptions


Follow ups

References