Activity log for bug #1428199

Date Who What changed Old value New value Message
2015-03-04 16:19:40 Vladyslav Drok bug added bug
2015-03-04 16:20:37 Vladyslav Drok description AgentDeploy.take_over method has the following code: provider = dhcp_factory.DHCPFactory() provider.update_dhcp(task, CONF.agent.agent_pxe_bootfile_name) which seems to be incorreact, as second argument to update_dhcp should be a list of dicts, as mentioned in ironic.common.dhcp_provider https://github.com/openstack/ironic/blob/master/ironic/common/dhcp_factory.py#L85-L90 : def update_dhcp(self, task, dhcp_opts): """Send or update the DHCP BOOT options for this node. :param task: A TaskManager instance. :param dhcp_opts: this will be a list of dicts, e.g. :: [{'opt_name': 'bootfile-name', 'opt_value': 'pxelinux.0'}, {'opt_name': 'server-ip-address', 'opt_value': '123.123.123.456'}, {'opt_name': 'tftp-server', 'opt_value': '123.123.123.123'}] """ AgentDeploy.take_over method has the following code:  provider = dhcp_factory.DHCPFactory()  provider.update_dhcp(task, CONF.agent.agent_pxe_bootfile_name) which seems to be incorrect, as second argument to update_dhcp should be a list of dicts, as mentioned in https://github.com/openstack/ironic/blob/master/ironic/common/dhcp_factory.py#L85-L90 :  def update_dhcp(self, task, dhcp_opts):      """Send or update the DHCP BOOT options for this node.      :param task: A TaskManager instance.      :param dhcp_opts: this will be a list of dicts, e.g.       ::        [{'opt_name': 'bootfile-name',          'opt_value': 'pxelinux.0'},         {'opt_name': 'server-ip-address',          'opt_value': '123.123.123.456'},         {'opt_name': 'tftp-server',          'opt_value': '123.123.123.123'}]      """
2015-03-04 16:20:41 Vladyslav Drok ironic: assignee Vladyslav Drok (vdrok)
2015-03-04 16:20:57 Vladyslav Drok tags agent
2015-03-05 13:59:39 OpenStack Infra ironic: status New In Progress
2015-03-05 16:45:44 OpenStack Infra ironic: status In Progress Fix Committed
2015-03-19 20:51:28 Thierry Carrez ironic: status Fix Committed Fix Released
2015-03-19 20:51:28 Thierry Carrez ironic: milestone kilo-3
2015-04-30 10:07:07 Thierry Carrez ironic: milestone kilo-3 2015.1.0