Activity log for bug #1521977

Date Who What changed Old value New value Message
2015-12-02 11:28:22 Bob Ball bug added bug
2015-12-02 11:28:36 Bob Ball nova: importance Undecided Medium
2015-12-02 11:28:47 Bob Ball tags xenserver
2015-12-02 11:32:49 Bob Ball nova: status New Confirmed
2015-12-02 11:33:07 Bob Ball description Other virt drivers (libvirt: https://git.openstack.org/cgit/openstack/nova/tree/nova/virt/libvirt/vif.py#n448, hyperv: https://git.openstack.org/cgit/openstack/nova/tree/nova/virt/hyperv/vif.py#n66) plug the VIFs when the vif_driver.plug() method is called. XenAPI's vif plug does not plug a device, but returns a dictionary - see https://git.openstack.org/cgit/openstack/nova/tree/nova/virt/xenapi/vif.py#n133 - and then "plugs" it during VM creation - see https://git.openstack.org/cgit/openstack/nova/tree/nova/virt/xenapi/vmops.py#n1881, called from https://git.openstack.org/cgit/openstack/nova/tree/nova/virt/xenapi/vmops.py#n547. This is broken with respect to the names in the interface and what other virt drivers are doing. It has further led to functionality being implemented that does nothing, for example driver.plug_vifs and driver.unplug_vifs make calls to vif_driver.plug and vif_driver.unplug - but these do nothing. We need to fix the code so that: vif_driver.plug will create a new VIF for the VM record vif_driver.unplug will destroy the VIF record from the VM, if it still exists. Other virt drivers (libvirt: https://git.openstack.org/cgit/openstack/nova/tree/nova/virt/libvirt/vif.py#n448, hyperv: https://git.openstack.org/cgit/openstack/nova/tree/nova/virt/hyperv/vif.py#n66) plug the VIFs when the vif_driver.plug() method is called. XenAPI's vif plug does not plug a device, but returns a dictionary - see https://git.openstack.org/cgit/openstack/nova/tree/nova/virt/xenapi/vif.py#n133 - and then "plugs" it during VM creation - see https://git.openstack.org/cgit/openstack/nova/tree/nova/virt/xenapi/vmops.py#n1881, called from https://git.openstack.org/cgit/openstack/nova/tree/nova/virt/xenapi/vmops.py#n547. This is broken with respect to the names in the interface and what other virt drivers are doing. It has further led to functionality being implemented that does nothing, for example driver.plug_vifs and driver.unplug_vifs make calls to vif_driver.plug and vif_driver.unplug - but these do nothing. We need to fix the code so that: vif_driver.plug will create a new VIF for the VM record vif_driver.unplug will destroy the VIF record from the VM, if it still exists.
2015-12-07 06:13:17 OpenStack Infra nova: status Confirmed In Progress
2015-12-07 06:13:17 OpenStack Infra nova: assignee huan (huan-xie)
2015-12-19 03:25:54 OpenStack Infra nova: assignee huan (huan-xie) Jianghua Wang (wjh-fresh)
2015-12-21 02:24:21 OpenStack Infra nova: assignee Jianghua Wang (wjh-fresh) huan (huan-xie)
2015-12-21 10:08:32 OpenStack Infra nova: assignee huan (huan-xie) Jianghua Wang (wjh-fresh)
2016-01-07 02:30:07 OpenStack Infra nova: assignee Jianghua Wang (wjh-fresh) huan (huan-xie)
2016-02-09 13:14:27 OpenStack Infra nova: assignee huan (huan-xie) Bob Ball (bob-ball)
2016-02-22 01:48:56 OpenStack Infra nova: assignee Bob Ball (bob-ball) huan (huan-xie)
2016-02-23 21:47:53 OpenStack Infra nova: status In Progress Fix Released