← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1648983] [NEW] cells v1: error when reporting child cell capacity: "TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'"

 

Public bug reported:

http://logs.openstack.org/27/408727/3/check/gate-tempest-dsvm-cells-
ubuntu-xenial/e788689/logs/screen-n-cell-child.txt.gz?level=TRACE

2016-12-09 21:25:50.743 23726 ERROR nova Traceback (most recent call last):
2016-12-09 21:25:50.743 23726 ERROR nova   File "/usr/local/bin/nova-cells", line 10, in <module>
2016-12-09 21:25:50.743 23726 ERROR nova     sys.exit(main())
2016-12-09 21:25:50.743 23726 ERROR nova   File "/opt/stack/new/nova/nova/cmd/cells.py", line 43, in main
2016-12-09 21:25:50.743 23726 ERROR nova     manager='nova.cells.manager.CellsManager')
2016-12-09 21:25:50.743 23726 ERROR nova   File "/opt/stack/new/nova/nova/service.py", line 228, in create
2016-12-09 21:25:50.743 23726 ERROR nova     periodic_interval_max=periodic_interval_max)
2016-12-09 21:25:50.743 23726 ERROR nova   File "/opt/stack/new/nova/nova/service.py", line 101, in __init__
2016-12-09 21:25:50.743 23726 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)
2016-12-09 21:25:50.743 23726 ERROR nova   File "/opt/stack/new/nova/nova/cells/manager.py", line 82, in __init__
2016-12-09 21:25:50.743 23726 ERROR nova     self.state_manager = cell_state_manager()
2016-12-09 21:25:50.743 23726 ERROR nova   File "/opt/stack/new/nova/nova/cells/state.py", line 146, in __new__
2016-12-09 21:25:50.743 23726 ERROR nova     return CellStateManagerDB(cell_state_cls)
2016-12-09 21:25:50.743 23726 ERROR nova   File "/opt/stack/new/nova/nova/cells/state.py", line 162, in __init__
2016-12-09 21:25:50.743 23726 ERROR nova     self._cell_data_sync(force=True)
2016-12-09 21:25:50.743 23726 ERROR nova   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 271, in inner
2016-12-09 21:25:50.743 23726 ERROR nova     return f(*args, **kwargs)
2016-12-09 21:25:50.743 23726 ERROR nova   File "/opt/stack/new/nova/nova/cells/state.py", line 453, in _cell_data_sync
2016-12-09 21:25:50.743 23726 ERROR nova     self._update_our_capacity(ctxt)
2016-12-09 21:25:50.743 23726 ERROR nova   File "/opt/stack/new/nova/nova/cells/state.py", line 285, in _update_our_capacity
2016-12-09 21:25:50.743 23726 ERROR nova     _get_compute_hosts()
2016-12-09 21:25:50.743 23726 ERROR nova   File "/opt/stack/new/nova/nova/cells/state.py", line 279, in _get_compute_hosts
2016-12-09 21:25:50.743 23726 ERROR nova     free_disk = compute.free_disk_gb * 1024
2016-12-09 21:25:50.743 23726 ERROR nova TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'
2016-12-09 21:25:50.743 23726 ERROR nova

** Affects: nova
     Importance: Undecided
         Status: New


** Tags: cells

-- 
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/1648983

Title:
  cells v1: error when reporting child cell capacity: "TypeError:
  unsupported operand type(s) for *: 'NoneType' and 'int'"

Status in OpenStack Compute (nova):
  New

Bug description:
  http://logs.openstack.org/27/408727/3/check/gate-tempest-dsvm-cells-
  ubuntu-xenial/e788689/logs/screen-n-cell-child.txt.gz?level=TRACE

  2016-12-09 21:25:50.743 23726 ERROR nova Traceback (most recent call last):
  2016-12-09 21:25:50.743 23726 ERROR nova   File "/usr/local/bin/nova-cells", line 10, in <module>
  2016-12-09 21:25:50.743 23726 ERROR nova     sys.exit(main())
  2016-12-09 21:25:50.743 23726 ERROR nova   File "/opt/stack/new/nova/nova/cmd/cells.py", line 43, in main
  2016-12-09 21:25:50.743 23726 ERROR nova     manager='nova.cells.manager.CellsManager')
  2016-12-09 21:25:50.743 23726 ERROR nova   File "/opt/stack/new/nova/nova/service.py", line 228, in create
  2016-12-09 21:25:50.743 23726 ERROR nova     periodic_interval_max=periodic_interval_max)
  2016-12-09 21:25:50.743 23726 ERROR nova   File "/opt/stack/new/nova/nova/service.py", line 101, in __init__
  2016-12-09 21:25:50.743 23726 ERROR nova     self.manager = manager_class(host=self.host, *args, **kwargs)
  2016-12-09 21:25:50.743 23726 ERROR nova   File "/opt/stack/new/nova/nova/cells/manager.py", line 82, in __init__
  2016-12-09 21:25:50.743 23726 ERROR nova     self.state_manager = cell_state_manager()
  2016-12-09 21:25:50.743 23726 ERROR nova   File "/opt/stack/new/nova/nova/cells/state.py", line 146, in __new__
  2016-12-09 21:25:50.743 23726 ERROR nova     return CellStateManagerDB(cell_state_cls)
  2016-12-09 21:25:50.743 23726 ERROR nova   File "/opt/stack/new/nova/nova/cells/state.py", line 162, in __init__
  2016-12-09 21:25:50.743 23726 ERROR nova     self._cell_data_sync(force=True)
  2016-12-09 21:25:50.743 23726 ERROR nova   File "/usr/local/lib/python2.7/dist-packages/oslo_concurrency/lockutils.py", line 271, in inner
  2016-12-09 21:25:50.743 23726 ERROR nova     return f(*args, **kwargs)
  2016-12-09 21:25:50.743 23726 ERROR nova   File "/opt/stack/new/nova/nova/cells/state.py", line 453, in _cell_data_sync
  2016-12-09 21:25:50.743 23726 ERROR nova     self._update_our_capacity(ctxt)
  2016-12-09 21:25:50.743 23726 ERROR nova   File "/opt/stack/new/nova/nova/cells/state.py", line 285, in _update_our_capacity
  2016-12-09 21:25:50.743 23726 ERROR nova     _get_compute_hosts()
  2016-12-09 21:25:50.743 23726 ERROR nova   File "/opt/stack/new/nova/nova/cells/state.py", line 279, in _get_compute_hosts
  2016-12-09 21:25:50.743 23726 ERROR nova     free_disk = compute.free_disk_gb * 1024
  2016-12-09 21:25:50.743 23726 ERROR nova TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'
  2016-12-09 21:25:50.743 23726 ERROR nova

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


Follow ups