← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1369189] [NEW] unit test has nagging "'VolumeSnapshot' object has no attribute 'bootable"

 

Public bug reported:

As of 9/13/2014 rebased with master,

now run_tests.sh has more  nagging errors besides the 404 errors
reported in https://bugs.launchpad.net/horizon/+bug/1367383

...Error while checking action permissions.
Traceback (most recent call last):
  File "/home/stack/horizon/horizon/tables/base.py", line 1229, in _filter_action
    return action._allowed(request, datum) and row_matched
  File "/home/stack/horizon/horizon/tables/actions.py", line 137, in _allowed
    return self.allowed(request, datum)
  File "/home/stack/horizon/openstack_dashboard/dashboards/project/volumes/volumes/tables.py", line 53, in allowed
    if volume and volume.bootable == 'true':
  File "/home/stack/horizon/openstack_dashboard/api/base.py", line 86, in __getattribute__
    return getattr(self._apiresource, attr)
  File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/base.py", line 271, in __getattr__
    raise AttributeError(k)
AttributeError: bootable
Error while checking action permissions.
Traceback (most recent call last):
  File "/home/stack/horizon/horizon/tables/base.py", line 1229, in _filter_action
    return action._allowed(request, datum) and row_matched
  File "/home/stack/horizon/horizon/tables/actions.py", line 137, in _allowed
    return self.allowed(request, datum)
  File "/home/stack/horizon/openstack_dashboard/dashboards/project/volumes/volumes/tables.py", line 53, in allowed
    if volume and volume.bootable == 'true':
  File "/home/stack/horizon/openstack_dashboard/api/base.py", line 81, in __getattribute__
    return object.__getattribute__(self, attr)
AttributeError: 'VolumeSnapshot' object has no attribute 'bootable'

** Affects: horizon
     Importance: Undecided
     Assignee: Gloria Gu (gloria-gu)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Gloria Gu (gloria-gu)

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

Title:
  unit test has nagging "'VolumeSnapshot' object has no attribute
  'bootable"

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  As of 9/13/2014 rebased with master,

  now run_tests.sh has more  nagging errors besides the 404 errors
  reported in https://bugs.launchpad.net/horizon/+bug/1367383

  ...Error while checking action permissions.
  Traceback (most recent call last):
    File "/home/stack/horizon/horizon/tables/base.py", line 1229, in _filter_action
      return action._allowed(request, datum) and row_matched
    File "/home/stack/horizon/horizon/tables/actions.py", line 137, in _allowed
      return self.allowed(request, datum)
    File "/home/stack/horizon/openstack_dashboard/dashboards/project/volumes/volumes/tables.py", line 53, in allowed
      if volume and volume.bootable == 'true':
    File "/home/stack/horizon/openstack_dashboard/api/base.py", line 86, in __getattribute__
      return getattr(self._apiresource, attr)
    File "/home/stack/horizon/.venv/local/lib/python2.7/site-packages/cinderclient/base.py", line 271, in __getattr__
      raise AttributeError(k)
  AttributeError: bootable
  Error while checking action permissions.
  Traceback (most recent call last):
    File "/home/stack/horizon/horizon/tables/base.py", line 1229, in _filter_action
      return action._allowed(request, datum) and row_matched
    File "/home/stack/horizon/horizon/tables/actions.py", line 137, in _allowed
      return self.allowed(request, datum)
    File "/home/stack/horizon/openstack_dashboard/dashboards/project/volumes/volumes/tables.py", line 53, in allowed
      if volume and volume.bootable == 'true':
    File "/home/stack/horizon/openstack_dashboard/api/base.py", line 81, in __getattribute__
      return object.__getattribute__(self, attr)
  AttributeError: 'VolumeSnapshot' object has no attribute 'bootable'

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


Follow ups

References