** Changed in: nova
       Status: In Progress => Won't Fix

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

Title:
  conductor needs entire objects only to use the id value

Status in OpenStack Compute (Nova):
  Won't Fix

Bug description:
  nova/conductor/manager.py  does things like this:

      def compute_node_update(self, context, node, values, prune_stats=False):
          result = self.db.compute_node_update(context, node['id'], values,
                                               prune_stats)
          return jsonutils.to_primitive(result)

  
  Where the conductor API asks for an entire node object, but only uses the id 
value in it.  Meaning the rest of the data that is being sent is just wasting 
space.

  The following conductor methods do this:
  migration_update
  aggregate_host_add
  aggregate_host_delete
  aggregate_metadata_add
  aggregate_metadata_delete
  security_group_rule_get_by_security_group
  compute_node_update
  compute_node_delete
  service_update

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to